SUMIF, INDEX & MATCH Used Together

mgeiss

New Member
Joined
Sep 12, 2014
Messages
14
Hello,

I'm trying to create a sumif formula in which I can select the "Sum Range" based on a particular cell (Let's say E3). What I'm trying to do is create a Data Validation List so that you can select from the options available in E3. I was thinking an INDEX and MATCH combo would work for this. I want to look up the name in E3 using an INDEX formula. The name in E3 should be in A3:Z3 of the 2018 Budget tab. When i check my values, its not summing the total?

Any ideas?

=IFERROR(SUMIF('2018 Budget'!$A:$A,$C4,INDEX('2018 Budget'!$A$3:$Z$3,0,MATCH('Variance Lookup'!$E$3,'2018 Budget'!$A$3:$Z$3,0))),)
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Try something like

=SUMIFS(INDEX('2018 Budget'!$A:$Z,0,MATCH($E$3,'2018 Budget'!$A$3:$Z$3,0)),'2018 Budget'!$A:$A,$C4)

assuming that both E3 and C4 are in the sheet where the formula is run.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,894
Messages
6,175,254
Members
452,623
Latest member
Techenthusiast

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