Link to home
Start Free TrialLog in
Avatar of KP_SoCal
KP_SoCalFlag for United States of America

asked on

Dynamic “sum_range” in with SUMIFS function in Excel 2007

In the attached excel spreadsheet on the “Results” tab in column B, I’m using a basic SUMIFS function.  You’ll see my “sum range” is set to column Q on my “PivotTable” worksheet tab.

I need to make this formula dynamic due to the fact my “Grand Total” range may not always been in column Q.  Any ideas?
Pivot-Example.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Ingeborg Hawighorst (Microsoft MVP / EE MVE)
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This will cater for a pivot table that has the column labels in row 4, can be up to 52 columns (column AZ) and goes down to row 100. Adjust if required.

It identifies the column by looking for the text "Grand Total"

cheers, teylyn
Avatar of KP_SoCal

ASKER

Ms. Teylyn,
This is precisely what I needed!  Thanks so much!!!

KP

P.S. Also thank you for the extra explanation.  =)