I have a pivot table with many zeros throughout the sheet, and I would like to make those dashes instead. Any suggestions how I would go about accomplishing this task?
I have tried the Pivot Table Options route, by changing "For empty cells show: -" but that has not worked since these cells are technically not empty.
Thoughts? Much appreciated.
Hi GreatLakesJK,
I rarely say this, but I don't think you can do it. The Summation area of Pivot Tables does number only kinds of things. You want to put text in this area.
I think you only get to pick from this list:
http://msdn.microsoft.com/en-us/library/Aa195239.aspx
One test is worth a thousand opinions.
Click the * below to say thanks.
Ugh. I feared that. Are you sure there isn't some type of custom formatting you can implement to make this happen?
Instead of trying to put dashes, look at table formatting.
http://office.microsoft.com/en-us/ex...010013769.aspx
This should give you a better visual affect than dashes. Also if you are getting zeros and don't want them, simply filter them out of your data.
Perhaps some of the smart gurus have a suggestion.
One test is worth a thousand opinions.
Click the * below to say thanks.
Note you can apply a Custom Number Format to your Data Fields and simply set format for 0 to be -
Example Format: #,##0.00;[red](#,##0.00);-
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
DonkeyOte has proven me wrong one more time.
He keeps teaching me things about Excel I never knewThat is good.
I hate it when I give the wrong answer!!!
I need to go study number formats a while.
One test is worth a thousand opinions.
Click the * below to say thanks.
some references re: Custom Number Formats:
http://pubs.logicalexpressions.com/p...cle.asp?ID=414
http://www.ozgrid.com/Excel/CustomFormats.htm
http://simoncpage.co.uk/blog/2008/09...er-formatting/
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
I find in your second link above that you can do a custom format for values that equal to zero.
The custom format of
will replace every zero with three dashes.[=0]"---"
Thanks for the links. I'll try to give better answers in the future.
Search all my answers for "smart gurus" and correct them with better/right answers.
I also find a way to insert a dash or any text for blank values by checking the
For Empty cells show: show on the PivotTable Options dialog.
Pictured at http://www.pivot-table.com/pivot-tab...07-pivot-table
Last edited by MarvinP; 01-28-2011 at 03:30 PM.
One test is worth a thousand opinions.
Click the * below to say thanks.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks