ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Pivot Table exclude negative values from sum (https://www.excelbanter.com/excel-discussion-misc-queries/166538-pivot-table-exclude-negative-values-sum.html)

momto2

Pivot Table exclude negative values from sum
 
Using Excel 2007:
I am using a pivot table to sum staff by department. Some departments have
positions shown as a negative (indicates they belong to a different
department/budget). When I include the FTE column in my pivot table to
summarize staffing by department, it adds the negatives making the total
incorrect.
How can I get the table to sum only if values are greater than zero?


Jim Thomlinson

Pivot Table exclude negative values from sum
 
You could add an extra field into your source data flagging negative values.
Assuming your FTE's are in colmun B you could use a formula like =B20 to
return simple true false flags...
--
HTH...

Jim Thomlinson


"momto2" wrote:

Using Excel 2007:
I am using a pivot table to sum staff by department. Some departments have
positions shown as a negative (indicates they belong to a different
department/budget). When I include the FTE column in my pivot table to
summarize staffing by department, it adds the negatives making the total
incorrect.
How can I get the table to sum only if values are greater than zero?


momto2

Pivot Table exclude negative values from sum
 
Perfect. Thank you for the idea. That worked.

"Jim Thomlinson" wrote:

You could add an extra field into your source data flagging negative values.
Assuming your FTE's are in colmun B you could use a formula like =B20 to
return simple true false flags...
--
HTH...

Jim Thomlinson


"momto2" wrote:

Using Excel 2007:
I am using a pivot table to sum staff by department. Some departments have
positions shown as a negative (indicates they belong to a different
department/budget). When I include the FTE column in my pivot table to
summarize staffing by department, it adds the negatives making the total
incorrect.
How can I get the table to sum only if values are greater than zero?



All times are GMT +1. The time now is 02:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com