I am using Excel 2007.
I have a table of data which sets up the framework for including the weighted average in a pivot table. I have a column called wocc where the data is NULL, or blank in Excel, if occ * principal = 0, otherwise the value in the field is occ * principal.
In the pivot table I have a calculated field called socc with a formula of =IF(curr_principal=0,0,wocc/curr_principal)/100
The problem is, the resulting pivot table returns 0% in those instances where wocc was blank in the source data. As a result, the subtotal and grand total weighted average life is incorrect because those values are including the 0%. I need the pivot table to not change the blank source data to 0% so that the subtotal and grand total will show the correct amounts.
Bookmarks