Inconsistent counts in Excel Pivot

rob737

Board Regular
Joined
May 12, 2015
Messages
129
Hi Forum

Hope you can help I have an issue with Pivot tables in Excel.
Issue: I down load a workbook from another application. When I create a pivot table it counts inconsistently as follows:

Column A = 56

Col B = 32 Valid Fields 24 Blanks
Col C = 37 Valid Fields 19 Blanks
Col D = 15 Valid Fields 41 Blanks

When I create a Pivot table it counts as follows

Col B = 56
Col C = 56
Col D = 15

My understanding is B and C are correct, it counts valid cells and blank cells it’s just making a count.

If I filter all the blank cells in B and C and hit “Delete” the pivot counts only the valid cells
If I filter D and insert a space in the blank cells the pivot table counts all cells (56).

This report is very large and “doctoring” a row to get a consistent count is very time consuming.
Hope someone can help explain this and give me a formula, Macro etc. to fix (preferably row D).

Many Thanks
Regards
Rob
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Hi Forum

Really sorry I just noticed the column that is counting just the valid fields is a date, the column that counts all cells is just text. Not too sure if there is a way around this without "Deleting" all the blank fields so it just counts cells with Text. Any suggestions would be great.

Regards
Rob
 
Upvote 0

Forum statistics

Threads
1,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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