Create calculated field in pivot table that will sum all values greater than zero/exclude negative values

BryanRk

New Member
Joined
Feb 14, 2025
Messages
2
Office Version
  1. 2010
Platform
  1. Windows
I'm trying to create a calculated field in a pivot table that will sum all the values greater than zero. It's an easy thing to do outside of the pivot table, however, the people using this spreadsheet are not all excel savvy, and everything else is linked to the pivot table. I don't know if it's possible. I was hoping i could just do ="fieldname" >0 but that only returns a 1 or a 0. Within this field are about 1000 numbers, some are negative, some are positive, i am trying to have the pivot table return the sum of the positive ones in one column, and the sum of all the negative ones in a different column. I can easily do a sumifs function outside of the pivot table, but I would much rather have it included in the pivot table. Thanks
 
Unless you have a Power Pivot (an add-in for 2010), you will need to add two columns to the source data to do those calculations, then you can just sum them in the pivot.
 
Upvote 0
I think it was a free add-on for 2013
 
Upvote 0

Forum statistics

Threads
1,226,850
Messages
6,193,337
Members
453,790
Latest member
yassinosnoo1

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