Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 11-25-2013, 06:37 PM
New Daddy New Daddy is offline Displaying 0% as blank in pivot table? Windows Vista Displaying 0% as blank in pivot table? Office 2003
Advanced Beginner
Displaying 0% as blank in pivot table?
 
Join Date: Jan 2012
Posts: 90
New Daddy is on a distinguished road
Question Displaying 0% as blank in pivot table?


I'm displaying a column as % of row total, and some are showing up as 0%. Can I just make Excel show them as blank? I do NOT want to hide them with filter. I want these data to take space in the pivot table, but with blank rather than with "0%". I couldn't find any solution on Google.
Reply With Quote
  #2  
Old 12-04-2013, 08:54 AM
SteveBump SteveBump is offline Displaying 0% as blank in pivot table? Windows 7 64bit Displaying 0% as blank in pivot table? Office 2010 64bit
Novice
 
Join Date: Oct 2013
Posts: 24
SteveBump is on a distinguished road
Default

I'm not an expert, but could you use Conditional Formating where if the value is equal to 0%, you could make the color the same as the background and then it would appear to be blank? Just a suggestion.
Reply With Quote
  #3  
Old 12-05-2013, 07:54 AM
BobBridges's Avatar
BobBridges BobBridges is offline Displaying 0% as blank in pivot table? Windows 7 64bit Displaying 0% as blank in pivot table? Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

I didn't read this at first because the subject line specified "pivot table". My son tells me I should learn pivot tables, but I don't know much about them yet.

But I just took a look at the question, and it sounds like pivot tables may not be relevant. In normal Excel—and I don't see why pivot tables would necessarily be any different—there are two usual ways to do what you're asking:

1) If you want to do it all the time, you can set one of the Options. I forget what it looks like in earlier versions of Excel, but in 2010 it's under Advanced options and it's labeled "Show a zero in cells that have a zero value". You can set that by worksheet, so that one worksheet displays zeroes and another displays blanks.

2) If you want to control it by particular columns or cells, you can do it with a custom format. Up 'til now you've set the format as a Percentage; now go to the same Format-Cells dialog and select the Custom category. It probably shows a basic Percentage string, perhaps "0.0%".

That's the string that applies if the value is positive. If it's negative, zero or a character string, this cell will be formatted using the default rules. In order to override the choice made for a zero value, you have to change the string to something like "0.0%;-0.0%;"

The first value (before the first semicolon) is what Excel will use for positive values. The second is how it will display negative percentages (if you have any). The third—but look, there isn't a third; there's just a semicolon, with nothing after it. And that's how Excel will handle it; it'll display nothing.

Custom formatting strings give you a lot of power over how numbers are displayed; I think they're well worth reading about and experimenting with.
Reply With Quote
  #4  
Old 12-06-2013, 07:34 AM
New Daddy New Daddy is offline Displaying 0% as blank in pivot table? Windows Vista Displaying 0% as blank in pivot table? Office 2003
Advanced Beginner
Displaying 0% as blank in pivot table?
 
Join Date: Jan 2012
Posts: 90
New Daddy is on a distinguished road
Default

Quote:
Originally Posted by BobBridges View Post
I didn't read this at first because the subject line specified "pivot table". My son tells me I should learn pivot tables, but I don't know much about them yet.

But I just took a look at the question, and it sounds like pivot tables may not be relevant. In normal Excel—and I don't see why pivot tables would necessarily be any different—there are two usual ways to do what you're asking:

1) If you want to do it all the time, you can set one of the Options. I forget what it looks like in earlier versions of Excel, but in 2010 it's under Advanced options and it's labeled "Show a zero in cells that have a zero value". You can set that by worksheet, so that one worksheet displays zeroes and another displays blanks.

2) If you want to control it by particular columns or cells, you can do it with a custom format. Up 'til now you've set the format as a Percentage; now go to the same Format-Cells dialog and select the Custom category. It probably shows a basic Percentage string, perhaps "0.0%".

That's the string that applies if the value is positive. If it's negative, zero or a character string, this cell will be formatted using the default rules. In order to override the choice made for a zero value, you have to change the string to something like "0.0%;-0.0%;"

The first value (before the first semicolon) is what Excel will use for positive values. The second is how it will display negative percentages (if you have any). The third—but look, there isn't a third; there's just a semicolon, with nothing after it. And that's how Excel will handle it; it'll display nothing.

Custom formatting strings give you a lot of power over how numbers are displayed; I think they're well worth reading about and experimenting with.
That worked like magic! Thanks so much.
There is so much to learn about Excel.
Reply With Quote
  #5  
Old 12-06-2013, 08:28 AM
BobBridges's Avatar
BobBridges BobBridges is offline Displaying 0% as blank in pivot table? Windows 7 64bit Displaying 0% as blank in pivot table? Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

Ain't that the truth? There are big chunks of it I've never fooled with, and not only pivot tables.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Displaying 0% as blank in pivot table? Word is displaying my "compatible" docs as blank! RobDuBois Word 3 01-20-2013 04:40 PM
Pivot Table uhlersa Excel 0 10-15-2012 12:01 PM
Displaying 0% as blank in pivot table? pivot table aliasadi_07 Excel 1 03-11-2012 12:49 AM
Displaying 0% as blank in pivot table? Table of Contents is not displaying mhb0825 Word 1 01-04-2012 03:21 PM
Displaying 0% as blank in pivot table? Pivot Table Karen615 Excel 5 08-03-2011 10:46 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft