Pivot table - Count of numbers above 0

phitho

New Member
Joined
Aug 26, 2014
Messages
34
I've created a pivot table that has 3 columns: User, CreationDate, TargetDate.

TargetDate has negative, 0, and positive numbers.

I am trying to build a pivot table that will show the count of numbers greater than 0, and for a particular month of the year. When I do this, the pivot table does not appear to be filtering the dates and is returning the count of all fields greater than 0.

For example, if I have 71 rows greater than 0, but only 6 for the month of August, the pivot table returns 71.

What is going on??
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
CreationDate is a date field, and TargetDate is a number (-5, -1, 0, 225, etc). What I want to do is in TargetDate keep all numbers >0 and have all other numbers be null.
 
Upvote 0
Assuming User is the leftmost column, right click anywhere on a user and then select filter from the submenu. From here you can filter on the targetdate to only show number greater than zero.
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,780
Members
449,049
Latest member
greyangel23

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