ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Pivot table calculated field error (https://www.excelbanter.com/excel-worksheet-functions/171710-pivot-table-calculated-field-error.html)

Pierre

Pivot table calculated field error
 
In a calculated field in a pivot table, , this produces a #VALUE in
areas where in there is no(blank) data to calculate. (IOW, 'Total
Sales Item Amt' can have blanks. Margin, in these instances is always
a negative number.

=IF(ISERROR(Margin/'Total Sales Item Amt'),"",(Margin/'Total Sales
Item Amt'))

Any ideas why?

Pierre

Pierre

Pivot table calculated field error
 
On Jan 4, 10:56*am, Pierre wrote:
In a calculated field in a pivot table, , this produces a #VALUE in
areas where in there is no(blank) data to calculate. (IOW, 'Total
Sales Item Amt' can have blanks. *Margin, in these instances is always
a negative number.

=IF(ISERROR(Margin/'Total Sales Item Amt'),"",(Margin/'Total Sales
Item Amt'))

Any ideas why?

Pierre


Found it in the recipe book. Right click anywhere, table options, "for
error values show", check and leave blank.

Pierre



All times are GMT +1. The time now is 03:59 PM.

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