Summation of a column based off of a calculated column value…

bashcraft

New Member
Joined
Aug 24, 2011
Messages
2
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!!!
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Upvote 0

Forum statistics

Threads
1,224,522
Messages
6,179,299
Members
452,904
Latest member
CodeMasterX

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top