I'm working in a pivot table where the column I would like to SUM is ever changing based on whatever data I filter. I've identified (possibly over complicated) the formula I need to calculate the column, but I can't find a formula that will give me the sum with that information.
Example:
=SUBSTITUTE(ADDRESS(1,MATCH(HLOOKUP("Total sum of Last Mo",7:7,1,FALSE),7:7,0),4),"1","")
This formula currently returns the value D.
I need a formula that will SUM(D:D) based off of the above formula. Again, the SUM formula I'm looking for will change depending on my Pivot Table filters and the result of my substitute equation. (With some filters the formula will need to sum column AP).
I am not opposed to changing the letter to the corresponding numeric value if it means the formula will work...
Please help!!!
Example:
=SUBSTITUTE(ADDRESS(1,MATCH(HLOOKUP("Total sum of Last Mo",7:7,1,FALSE),7:7,0),4),"1","")
This formula currently returns the value D.
I need a formula that will SUM(D:D) based off of the above formula. Again, the SUM formula I'm looking for will change depending on my Pivot Table filters and the result of my substitute equation. (With some filters the formula will need to sum column AP).
I am not opposed to changing the letter to the corresponding numeric value if it means the formula will work...
Please help!!!