How do to an index match for 2 criterias but also start the search at the bottom of the spreadsheet

bcurrey

Board Regular
Joined
Aug 11, 2011
Messages
110
Office Version
  1. 365
Platform
  1. MacOS
I'm trying to create a formula that will match criteria in column A & B. Once it finds a match, it will return the text that is in column C.

I also need the formula to start the search at the bottom of the spreadsheet and work its way up.

I've found pieces of what I need online, but can't get everything tied into 1 formula.


Here's the formula that I've come up with: =INDEX(Data!D:D,MAX(MATCH(1,(Data!B:B="CAR")*(Data!C:C="RED"),0)))


Here's a link to my spreadsheet: Formula Spreadsheet Test
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi

=LET(k,FILTER(C2:C6,(A2:A6=F2)*(B2:B6=F3)),INDEX(k,ROWS(k)))
 
Upvote 0
Another option
Excel Formula:
=TAKE(FILTER(C2:C100,(A2:A100=F2)*(B2:B100=F3),""),-1)
 
Upvote 0
How about:

Excel Formula:
=XLOOKUP(F2&F3,A2:A6&B2:B6,C2:C6,"NA",0,-1)
 
Upvote 0

Forum statistics

Threads
1,215,069
Messages
6,122,952
Members
449,095
Latest member
nmaske

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