SUMIFS Sum Range Issue!

thelostscott

Board Regular
Joined
May 7, 2010
Messages
226
Hi all,

I'm trying to do a SUMIFS formula with a variable "sum_range".

The formula works when it reads:
Code:
=SUMIFS('Workings'!$M$5:$M$216,'Workings'!$F$5:$F$216,CONCATENATE($F$25,"/",$G26))
Then I need to add another criteria to the end of the formula where $I$24 is a changing date:
Code:
'Workings'!$G$4:$S$4,$I$24
But I need the "sum_range" to be variable dependant on the new criteria. Kind of like how an INDEX-MATCH formula works but to sum the column not just provide the first instance.

Is this possible without Pivot Tables?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
You can put an index match in the sumrange part of the sumifs..
But we'll need more specific information about how to determine which column to sum..

Example

Rich (BB code):
=SUMIFS(INDEX('Workings'!$M$5:$Z$216,0,MATCH($I$24,$M$4:$Z$4,0)),'Workings'!$F$5:$F$216,CONCATENATE($F$25,"/",$G26))

That would make it sum a column between M and Z, based on the column that the value in I24 is found in Row 4 between M and Z.


Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,568
Messages
6,179,595
Members
452,927
Latest member
whitfieldcraig

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