Pivot Table - "For empty cells show:" Option Not Working

annieexcel

New Member
Joined
Jul 25, 2018
Messages
22
Hi everybody - I'm trying to replace blank cells in a set of data with 0 in order to utilize the Pivot Table functions. For some reason I cannot get this option to work. I've simply clicked on Pivot Table Options - checked the "For empty cells show:" box and entered 0. I'm stumped as to why this isn't working. Does anyone have any direction for me to troubleshoot with? Would really appreciate it! Thank you!


Version I'm using: 2010
 
Last edited:

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Thankfully my pivot table is still working without the blanks being replaced by zero's. Still if anyone has any idea I'd love to troubleshoot that issue still - so if anyone has any ideas they would be much appreciated! :)
 
Upvote 0
Are you sure they're blank and not "" strings? Test with the isblank() function.
 
Last edited:
Upvote 0
Thank you! you're right. That formula is coming back "False" ... I'm surprised because nothing is in the cells when I look at them. Since they're not blank do you think I just shouldn't worry about it? The pivot table seems to be working so I guess this isn't an issue. I sort of wish that it had 0's though so it was a bit easier to look at.

Thanks again! :)
 
Upvote 0
Since everything seems to work ok regardless, the following steps are optional:

Those fake blanks often accompany imported data. If there's no other text in the range (just numbers and ""s) you can highlight the range, F5(Goto)-Special-Text, type 0, ctrl-enter.

Or to just convert the "" to actual blanks, highlight the whole range, alt-f11, ctrl-G, type selection.value=selection.value, press enter.
 
Last edited:
Upvote 0
You've been so helpful I really appreciate it!!! I tried to do the first option mentioned however there are other values besides numbers (notably times and dates) ..this is what I see in that option: https://imgur.com/a/OTBX5rI

I'm not sure if this is a version thing that I have no area to enter "0".
 
Upvote 0
You would enter 0 in the formula bar. Times and dates are numbers unless they're stored as text (test with the isnumber() function). If they are stored as text because the original source was an external database, etc., you can convert to numbers by typing 1 in an unused cell, copy, and paste special multiply to the range.
 
Upvote 0

Forum statistics

Threads
1,223,910
Messages
6,175,320
Members
452,635
Latest member
laura12345

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top