Index Match formula with 2 matches

willow1985

Well-known Member
Joined
Jul 24, 2019
Messages
888
Office Version
  1. 365
Platform
  1. Windows
Hello,

I was wondering if someone could help me with a formula.

I frequently use the following Index Match formula:

=INDEX(P:P,MATCH(C2,O:O,FALSE))

if C2 matches a value in column O it will return the corresponding value in P.

What I would like to do is have 2 matches.

return the value in P if C2 matches the value in O AND if I2 matches the value in column Q,

aka =INDEX(P:P,MATCH(C2,O:O,FALSE) AND MATCH(I2,Q:Q,FALSE)

Is there a way to do this?

Thank you to anyone who can help

Carla
 
Guys, you can now use the formula XLOOKUP in the latest office 365. Easier and nicer than Index Match as it also has more options... please look at it
I'm fully aware of the new functions, but as the OP does not have them, I felt it would be pretty pointless suggesting she use them.
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.

Forum statistics

Threads
1,215,136
Messages
6,123,249
Members
449,093
Latest member
Vincent Khandagale

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