While linking to cells from another worksheet, is there a way to prevent a linked cell from populating with a zero when the information in the original cell has no data (null) while, at the same time, a linked cell will populate with a zero when the original cell has a zero? I am using a median calculation on the linked information so the linked cell has to coincide with the original cell. Thank you.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Linking Question (Excel 2003 SP1)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Linking Question (Excel 2003 SP1)
- This topic has 15 replies, 3 voices, and was last updated 17 years, 9 months ago.
AuthorTopicWSworkingonit
AskWoody LoungerMarch 16, 2007 at 4:26 pm #440724Viewing 2 reply threadsAuthorReplies-
WSHansV
AskWoody Lounger -
WSworkingonit
AskWoody Lounger -
WSworkingonit
AskWoody LoungerJuly 31, 2007 at 7:31 pm #1074439Is there a way of insuring that a blank cell stays blank when analyzing a range of data that includes the blank cell in a pivot table? This particular range of data is calculated from another column on the same worksheet with the following formula: =IF(L676=0,””,(C676/L676)*22.
Thank you.
-
WSHansV
AskWoody Lounger -
WSworkingonit
AskWoody LoungerJuly 31, 2007 at 8:29 pm #1074451I apologize Hans,
I will attach a workbook.
I am trying to analyze data in a pivot table that will be eventually used for a median calculation. However, the pivot table is replacing blank cells from the referenced data (Sheet 1 Column D) with zeroes. The referenced data (in column D of Sheet 1) is derived by using a calculation involving columns C and L of Sheet 1 by the use of the formula: =IF(L676=0,””,(C676/L676)*22. Is there a method that will prevent the pivot table from populating zeroes into what should be blank cells? Can the double quotes (“”) be replaced with something else in the formula to prevent this from happening?
It does not seem that I can send this response with the attachment. Is there a way around this?
Thank you.
-
WSHansV
AskWoody Lounger -
WSworkingonit
AskWoody LoungerJuly 31, 2007 at 8:37 pm #1074453Thank you Hans,
The workbook is attached.
I am trying to analyze data in a pivot table that will be eventually used for a median calculation. However, the pivot table is replacing blank cells from the referenced data (Sheet 1 Column D) with zeroes. The referenced data (in column D of Sheet 1) is derived by using a calculation involving columns C and L of Sheet 1 by the use of the formula: =IF(L676=0,””,(C676/L676)*22. Is there a method that will prevent the pivot table from populating zeroes into what should be blank cells? Can the double quotes (“”) be replaced with something else in the formula to prevent this from happening?
Thank you.
-
WSHansV
AskWoody LoungerJuly 31, 2007 at 8:58 pm #1074455The SUM function in Excel never returns a blank, even if all its arguments are blank – it returns 0 instead. You cannot avoid that.
So this is not a problem of the pivot table, it is a consequence of the way Excel calculates sums.If you want to calculate the median of a column in the pivot table excluding 0 values, you can use an array formula (confirm with Ctrl+Shift+Enter) with MEDIAN and IF. See the attached version.
It would be similar if you want to calculate the median of a row. -
WSworkingonit
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSworkingonit
AskWoody Lounger -
WSworkingonit
AskWoody LoungerJuly 31, 2007 at 10:27 pm #1074482Can you think of another way to derive this four hour block pattern without the use of a pivot table? In particular, I am looking for a quick way to auto fill values, from a column of data, (Column D in this case), for a specific four hour block from each day of the month. The four values of each day would be distributed in cells beside each other in one of the 28 to 31 rows like they were in the pivot table.
Thank you.
-
-
-
-
-
WSkjktoo
AskWoody Lounger -
WSHansV
AskWoody LoungerJuly 31, 2007 at 10:54 pm #1074484 -
WSworkingonit
AskWoody Lounger
-
Viewing 2 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
-
89 million Steam account details just got leaked,
by
Alex5723
8 hours, 7 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
8 hours, 15 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
2 hours, 41 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
1 hour, 37 minutes ago -
Installer program can’t read my registry
by
Peobody
1 hour, 13 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
21 hours, 45 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
4 hours, 21 minutes ago -
False error message from eMClient
by
WSSebastian42
19 hours, 23 minutes ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
1 day, 4 hours ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day, 5 hours ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
2 hours, 16 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 9 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
10 hours, 14 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 14 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 day, 20 hours ago -
Another big Microsoft layoff
by
Charlie
1 day, 19 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
23 hours, 8 minutes ago -
May 2025 updates are out
by
Susan Bradley
12 hours, 45 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
2 days, 1 hour ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
2 days, 1 hour ago -
Drivers suggested via Windows Update
by
Tex265
2 days, 1 hour ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 day, 23 hours ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
Apple releases 18.5
by
Susan Bradley
2 days, 3 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 10 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 10 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
19 hours, 6 minutes ago -
No HP software folders
by
fpefpe
2 days, 18 hours ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
1 day, 15 hours ago -
Stay connected anywhere
by
Peter Deegan
2 days, 23 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.