Vlookup with 2 conditions

John_Whin

Board Regular
Joined
Feb 26, 2013
Messages
78
Platform
  1. Windows

Beginning in Column H3, based on the value in column G3, I want to return the starting goalie for the game.

So for game 1 I want to return "Pekka Rinne", Game 2 "Jusse Saros" from the array $A$3:$D$12

The linked picture of the example sheet, the eventual array will be 2000 rows.

https://imgur.com/a/yOdTpT9

thanks


Q4mfIBPuYMgAAAABJRU5ErkJggg==
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
How about
=INDEX($D$3:$D$13,MATCH(G3&"|G",INDEX($A$3:$A$13&"|"&$C$3:$C$13,0),0))
 
Upvote 0
Hey again Fluff, can you make it simple for me, instead of the example make the array $A$3:$D$2500. The game # and the return cell for the result is the same.

Thanks
 
Last edited by a moderator:
Upvote 0
I'm sorry but I don't understand what you mean.
 
Upvote 0
In the image in the first post the table is from $A$3:$D$12

The actual table is $A$3:$D$2500
 
Upvote 0
Ok, in that case use
=INDEX($D$3:$D$2500,MATCH(G3&"|G",INDEX($A$3:$A$2500&"|"&$C$3:$C$2500,0),0))
 
Upvote 0
Glad to help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,223,956
Messages
6,175,613
Members
452,661
Latest member
Nonhle

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