Index match formula with multiple criteria not working for me

rosef93

New Member
Joined
Jan 28, 2019
Messages
4
Hi there,

I am having no luck with my index match formula.

I am trying to create a formula that will match with the following criteria "Apple" and "FY19" to return the number 200. If anyone can help that would be really appreciated. Any suggestions on formulas?

[TABLE="width: 500"]
<tbody>[TR]
[TD]Opportunity#[/TD]
[TD]Apple[/TD]
[TD]Apple[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Total[/TD]
[TD]FY19[/TD]
[TD]FY20[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]300[/TD]
[TD]200[/TD]
[TD]100[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi there,

I am having no luck with my index match formula.

I am trying to create a formula that will match with the following criteria "Apple" and "FY19" to return the number 200. If anyone can help that would be really appreciated. Any suggestions on formulas?

[TABLE="width: 500"]
<tbody>[TR]
[TD]Opportunity#[/TD]
[TD]Apple[/TD]
[TD]Apple[/TD]
[TD]Apple[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]Total[/TD]
[TD]FY19[/TD]
[TD]FY20[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Total[/TD]
[TD]300[/TD]
[TD]200[/TD]
[TD]100[/TD]
[/TR]
</tbody>[/TABLE]
i mean why dont you just use the if + and formula?
 
Upvote 0
I don't think this will work will it? Am I able to return the value that is in the Total cell for Apple/FY19?
 
Upvote 0
I don't think this will work will it? Am I able to return the value that is in the Total cell for Apple/FY19?
yes thats why i said if + and. =if(and(C1="apple",C2="FY19"),$C$6,"not true") or something
 
Upvote 0
Try

=INDEX(A6:D6,,MATCH(1,IF((A1:D1="Apple")*(A2:D2="FY19"),1),0))

Enter as an Array, Ctrl Shift & Enter
 
Upvote 0
With INDEX rows come before columns so the 6 needs to be first as you need the 6th row. If its just a fixed 6 then your index range could just be A6:D6 then you just use your match formula with the index and the 6 wouldnt be required. The formula requires CTRL-SHIFT-ENTER. As it happens you could just use a SUMIFS the way your data is set up.
 
Upvote 0
Heres 3 slightly different ones you could use:

=INDEX(B6:D6,MATCH(1,INDEX((B1:D1="Apple")*(B2:D2="FY19"),0),0))
=INDEX(B3:D6,MATCH("Total",A3:A6,0),MATCH(1,INDEX((B1:D1="Apple")*(B2:D2="FY19"),0),0))
=SUMIFS(B6:D6,B1:D1,"Apple",B2:D2,"FY19")
 
Upvote 0

Forum statistics

Threads
1,223,898
Messages
6,175,272
Members
452,628
Latest member
dd2

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