Sum to display both Zeroes and Blanks

austin1

New Member
Joined
Feb 26, 2015
Messages
3
I'm having an issue with calculated fields in a pivot table formula. I've tried everything and reverted back to my original simple formula in the attached pictures. 1Q 2014 calculated field =SUM('Q1 2014','Feb 2014','Mar 2014' ).

Any sum greater than zero works fine however I'm having issues with "zeroes". If the sum is truly zero (i.e. the data source cells = 0) I want the standard display of "0" however if the sum is blank (i.e. the data source cells are empty or N/A) I want it to display a "blank", not a zero. I need to be able to see both blanks and zeroes on my pivot table.

Capture1.png.html

Capture2.png.html



Thanks,
Austin
 
Try

=IF(COUNT('Q1 2014','Feb 2014','Mar 2014'),SUM('Q1 2014','Feb 2014','Mar 2014'),"")
 
Upvote 0
Jonmo1,

Excel still displays "0's".

If the columns are: Q1, Q2, Q3, Q4
Person A should be: "blank", 1,1,0
Person A still showing 0,1,1,0
 
Upvote 0

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