Can you make INDEX MATCH MATCH into an array-type formula like SUMIF

LPrice

New Member
Joined
Nov 2, 2018
Messages
1
I'm working on a file that will have multiple fabs that I'll need to pull data from. The key vertical lookup will be the building name (in column A), and the key horizontal lookup (column header) will be Electric Units. I need to do an INDEX MATCH MATCH since the columns on each tab won't be in the same order. But since I might potentially have multiple rows with Building X in column A, I need it to do more than just find the first instance of Building X. I need it to sum up all the rows for Building X for the column that has a header of Electric Units. On one tab that column might be column F, on the next one it might be column Z. Has anyone done that before? Getting this done will give me a lot of freedom as I continue to build out this big workbook. Thanks!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Hi & welcome to MrExcel
Maybe something like
=SUMIF(Sheet1!A:A,Test!A2,INDEX(Sheet1!A:N,,MATCH("Electric Units",Sheet1!A$1:N$1,0)))
 
Upvote 0

Forum statistics

Threads
1,215,261
Messages
6,123,943
Members
449,134
Latest member
NickWBA

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