How to use Index Match with Multiple Conditions in the same Column

shablagoo

New Member
Joined
Jul 24, 2021
Messages
2
Office Version
  1. 365
Hi,

I am looking for a way to write an Index Match formula such that two match conditions in the same column are met. In the example below I want to fetch the value for Alpha Margins for Q1 2017. The first column should look for Alpha but in the second column it should look for both "Margins" and "Q1 2017".

Also open to any other way to get this.

Any help would be appreciated.

Alpha
MarginsQ1Q2Q3Q4
FY 2017????
FY 2018????
FY 2019????
FY 2017
RevenueRevenueRevenueRevenue
Q1 2017Q2 2017Q3 2017Q4 2017
Alpha25303540
Beta30354045
Gamma35404550
Delta40455055
CostsCostsCostsCosts
Q1 2017Q2 2017Q3 2017Q4 2017
Alpha10131619
Beta13161922
Gamma16192225
Delta19222528
ProfitProfitProfitProfit
Q1 2017Q2 2017Q3 2017Q4 2017
Alpha15151515
Beta15151515
Gamma15151515
Delta15151515
MarginMarginMarginMargin
Q1 2017Q2 2017Q3 2017Q4 2017
Alpha60%60%60%60%
Beta60%60%60%60%
Gamma60%60%60%60%
Delta60%60%60%60%
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: How to use Index Match with Multiple Conditions in the same Column
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
Check on your sheet, "margin" in cells A3 and B33 must have the same text.

Dante Amor
ABCDE
1Alpha
2
3MarginQ1Q2Q3Q4
4
5201760%50%43%38%
62018    
72019    
8
92017
10RevenueRevenueRevenueRevenue
11Q1 2017Q2 2017Q3 2017Q4 2017
12Alpha25303540
13Beta30354045
14Gamma35404550
15Delta40455055
16
17
18CostsCostsCostsCosts
19Q1 2017Q2 2017Q3 2017Q4 2017
20Alpha10131619
21Beta13161922
22Gamma16192225
23Delta19222528
24
25ProfitProfitProfitProfit
26Q1 2017Q2 2017Q3 2017Q4 2017
27Alpha15151515
28Beta15151515
29Gamma15151515
30Delta15151515
31
32
33MarginMarginMarginMargin
34Q1 2017Q2 2017Q3 2017Q4 2017
35Alpha60%50%43%38%
36Beta50%43%38%33%
37Gamma43%38%33%30%
38Delta38%33%30%27%
Sheet1
Cell Formulas
RangeFormula
B5:E7B5=IFERROR(VLOOKUP($A$1,INDEX($A$12:$A$38,MATCH($A$3,$B$10:$B$38,0)):E39,MATCH(B$3&" "&$A5,$B$11:$E$11,0)+1,0),"")
B35:E38B35=B27/B12
 
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,217
Members
453,024
Latest member
Wingit77

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