I’m using an Excel 2007 workbook. That has links to different sheets within workbook. How do I eliminate a “0” in a target link if no data was entered from source?
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
How do I eliminate a “0” in a target link
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » How do I eliminate a “0” in a target link
- This topic has 14 replies, 5 voices, and was last updated 15 years, 5 months ago.
AuthorTopicWSababenchrist
AskWoody LoungerNovember 8, 2009 at 11:43 am #463702Viewing 4 reply threadsAuthorReplies-
WSHansV
AskWoody Lounger -
WSababenchrist
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSababenchrist
AskWoody Lounger -
WSababenchrist
AskWoody Lounger
-
-
-
WSVegasNath
AskWoody Lounger-
WSababenchrist
AskWoody Lounger
WSVegasNath
AskWoody Lounger-
WSababenchrist
AskWoody Lounger
WSVegasNath
AskWoody LoungerNovember 8, 2009 at 2:05 pm #1184761I assume that either A24 and/or AP24 contains “”.
AFAIK, you cannot calculate a range that contains “” text values.
Another approach which may better suit your needs is to use conditional formatting to make the zero results invisible, well not invisible, but the same font colour as the cell background. This would be instead of the If statements presented earlier.
Post back if you need further guidance.
-
WSababenchrist
AskWoody LoungerNovember 8, 2009 at 2:16 pm #1184763 -
WSBilasTasol
AskWoody LoungerNovember 10, 2009 at 6:22 am #1184892Thank you Nathan
That’s what I will do then,
In cells A24 and AP24 and target cell (AW24) I’ll use conditional formatting that will display “0” with same color as fill color for that cell, this will give the illusion of invisibility. I like it thank you.An alternative (doing away with the need to apply conditional formatting to each relevant cell) is to change the setting for the whole sheet to not show zero values.
Click the Office Button/Excel Options/Advanced. Scroll down to the ‘Display options for this worksheet’ section and de-select the ‘Show a zero in cells that have a zero value’. This setting only applies to the active worksheet.
-
WSababenchrist
AskWoody Lounger
-
-
WSScottMcNay
AskWoody LoungerDecember 8, 2009 at 9:31 pm #1189953Another way is to change the format. Right-click on a cell, Format Cells, Number tab, Custom. enter this:
General;General;;@
Note the space between the 2nd and 3rd semicolon. The first item is for positive numbers, the second is for negative numbers, the third is zero (we’re indicating to show nothing for zeroes), and the 4th is non-numeric items. In this case, we want nothing if zero. Custom number formats can do some interesting things.
With all of the solutions provided, you will have a problem if you really do have a zero to display. The workaround for that would be to create a user-defined function or macro. With a UDF, you could analyze the origin cell to check for sure whether it’s really a zero, and if so, display a zero in the target cell. With a macro, you could have it activate automatically whenever a change is made, and make the same adjustment if needed, without having to change any formulas in the cells.
–Scott.
Viewing 4 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
X Suspends Encrypted DMs
by
Alex5723
1 hour, 11 minutes ago -
WSJ : My Robot and Me AI generated movie
by
Alex5723
1 hour, 28 minutes ago -
Botnet hacks 9,000+ ASUS routers to add persistent SSH backdoor
by
Alex5723
2 hours, 6 minutes ago -
OpenAI model sabotages shutdown code
by
Cybertooth
2 hours, 43 minutes ago -
Backup and access old e-mails after company e-mail address is terminated
by
M W Leijendekker
2 hours, 6 minutes ago -
Enabling Secureboot
by
ITguy
5 hours, 52 minutes ago -
Windows hosting exposes additional bugs
by
Susan Bradley
10 hours, 37 minutes ago -
No more rounded corners??
by
CWBillow
6 hours, 25 minutes ago -
Android 15 and IPV6
by
Win7and10
26 minutes ago -
KB5058405 might fail to install with recovery error 0xc0000098 in ACPI.sys
by
Susan Bradley
22 hours, 58 minutes ago -
T-Mobile’s T-Life App has a “Screen Recording Tool” Turned on
by
Alex5723
1 day, 1 hour ago -
Windows 11 Insider Preview Build 26100.4202 (24H2) released to Release Preview
by
joep517
20 hours, 14 minutes ago -
Windows Update orchestration platform to update all software
by
Alex5723
1 day, 8 hours ago -
May preview updates
by
Susan Bradley
20 hours, 22 minutes ago -
Microsoft releases KB5061977 Windows 11 24H2, Server 2025 emergency out of band
by
Alex5723
11 hours, 57 minutes ago -
Just got this pop-up page while browsing
by
Alex5723
1 day, 1 hour ago -
KB5058379 / KB 5061768 Failures
by
crown
22 hours, 15 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
26 minutes ago -
At last – installation of 24H2
by
Botswana12
2 days ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
11 hours, 33 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
2 days, 12 hours ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
11 hours, 9 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
3 days, 2 hours ago -
Another test post
by
gtd12345
3 days, 2 hours ago -
Connect to someone else computer
by
wadeer
2 days, 20 hours ago -
Limit on User names?
by
CWBillow
3 days ago -
Choose the right apps for traveling
by
Peter Deegan
2 days, 13 hours ago -
BitLocker rears its head
by
Susan Bradley
1 day, 21 hours ago -
Who are you? (2025 edition)
by
Will Fastie
1 day, 20 hours ago -
AskWoody at the computer museum, round two
by
Will Fastie
2 days, 16 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.