sumifs with index match

cybergremlin

New Member
Joined
Dec 11, 2018
Messages
22
Hi

Im trying to add an index match into a sumifs formula but cant get it to work.
I've tried
=SUMIFS(INDEX($C$5:$AB$500,,MATCH(A$2, $C$3:$AB$3, 0)),$B:$B,">="&A3,$B:$B,"<="&A4)

C5:AB500 is my data field
A2 is the item im looking for
C3:AB3 is the list of items(headers)
Column B is dates
A3 & A4 are dates

anyone help with the above.

thanks
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi, as you are using full column references for the criteria ranges - you need to do the same for the sumrange - i.e.

=SUMIFS(INDEX($C:$AB,,MATCH(A$2, $C$3:$AB$3, 0)),$B:$B,">="&A3,$B:$B,"<="&A4)
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,817
Members
449,049
Latest member
cybersurfer5000

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