Index match with multiple criteria?

jimbogarner

Board Regular
Joined
Apr 22, 2010
Messages
100
Hi,

Apologies as I am an excel noob and this forum is my go to!

I am trying to create a formula that looks up from a table with multiple criteria... for example; I want it to return -487,256 if all criteria is met, IE station 1, jul, ebitda, all cost centres, GL actual & 2020. but i want it in a table/lookup as the data will change and be updated
1628868052430.png


edit - doesn't need to be an index match if something else works, i've just used that for grids before.

Thanks,

James
 
Last edited:

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
=INDEX($E$13:$J$15,MATCH(1,($A$13:$A$15="Station 1")*($B$13:$B$15="Jul")*($C$13:$C$15="EBITDA")*($D$13:$D$15="All Cost Centers"),0),MATCH(1,($E$11:$J$11="GL Actual")*($E$12:$J$12=2020),0))

You can change the hard coded values (i.e. Station 1 etc) to cell references and then change the cell values to adjust what is returned.

I assumed there were additional columns for Forecast amounts for each of the years.

Book4
ABCDEFGHIJ
1-487256
2
3
4
5
6
7
8
9
10
11GL ActualGL ActualGL ActualForecastForecastForecast
12StationsWeekP&LCCs202020212022202020212022
13Station 1JulEBITDAAll Cost Centers(487,256)192,465(1,138,877)
14Station 1JulTotal CostsAll Cost Centers1,962,1342,897,2862,653,580
15Station 2julEBITDAAll Cost Centers587,4741,714,6481,093,283
16
17
Sheet1
Cell Formulas
RangeFormula
H1H1=INDEX($E$13:$J$15,MATCH(1,($A$13:$A$15="Station 1")*($B$13:$B$15="Jul")*($C$13:$C$15="EBITDA")*($D$13:$D$15="All Cost Centers"),0),MATCH(1,($E$11:$J$11="GL Actual")*($E$12:$J$12=2020),0))
 
Upvote 0
Solution

Forum statistics

Threads
1,215,042
Messages
6,122,810
Members
449,095
Latest member
m_smith_solihull

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