David Evans
Active Member
I use a Pivot Table to Summarize from PowerPivot, which itself derives data from numerous sources. I have to group the output, but as the grouping is non-linear, I cannot use the built in Pivot Table grouping. Instead I use a table on an adjacent sheet and use sumproduct to break out the grouping. The dynamic ranges are driven by a named range that counts the values in a column of the Pivot Table entitled "Assets" - if the user decides to vary the pivot Table layout, sometimes the Asset column is in Col C, others in D or E. Is there a way to return the column in which a "Assets" appears on the worksheet, when it exists as part of a Pivot Table header?
Currently I define the Range name for AcctData.Assets as =OFFSET(Pivot!$C$13,1,0,AcctData.NumRows,1) but I'd like the reference to the column to be tied to the Column whcih contains the Pivot Table heading "Assets"
Any solutions will be gratefully accepted!

Currently I define the Range name for AcctData.Assets as =OFFSET(Pivot!$C$13,1,0,AcctData.NumRows,1) but I'd like the reference to the column to be tied to the Column whcih contains the Pivot Table heading "Assets"
Any solutions will be gratefully accepted!