INDEX MATCH
=INDEX(A2:A,MATCH(E2,C2:C,0))A compatible option for older files.
Look to the left of the match column by using XLOOKUP or INDEX MATCH.
Look to the left of the match column by using XLOOKUP or INDEX MATCH. Use =XLOOKUP(E2,C2:C,A2:A,"Not found"), then replace the sample ranges with the columns in your sheet.
XLOOKUP can return a column to the left of the lookup column.
| A | B | C | |
|---|---|---|---|
| 1 | Employee | Team | |
| 2 | |||
| 3 | |||
| 4 |
=INDEX(A2:A,MATCH(E2,C2:C,0))A compatible option for older files.
=XLOOKUP(E2,C2:C,A2:B,"Not found")Returns name and team together.
=INDEX(A2:A,MATCH(TRUE,EXACT(E2,C2:C),0))Treats uppercase and lowercase as different.
Use XLOOKUP or INDEX MATCH instead.
Use FILTER if you need every match.
Use XLOOKUP or INDEX MATCH instead.
Use FILTER if you need every match.
Send this recipe to the SheetSteps assistant and describe how your columns are arranged.