Forum Discussion

AdriennePCO's avatar
AdriennePCO
Copper Contributor
Jun 16, 2023

Pivot table - #REF issue

Hi:

I wish to build a pivot table to summarize accounting data (GL detail activity) into summary form.  My data is a Table and it contains a variety of GL accounts and amounts.  It is a simple summary of that data.  From there, I would like to link the results from the Pivot into another summary tab - which I am using "get pivot data" formula.  All of this is known and easy for me.

My problem is that I wish to build this so it can be re-populated each month, refresh the Pivot and update the final summary tab.  Some months, an underlying GL account disappears, which causes the final result on the Summary tab to reflect the dreaded #REF error.  I'd like to know if anyone knows how to account for that and replace it with zero, so that my summary formulae display correctly.  And, they are "ready" to receive data for that missing GL account when it reappears in a subsequent month.

Any suggestions would be greatly appreciated!

Adrienne

Resources