Look up and return value based on more than one factor

toMarsandBack

New Member
I've been searching high and low for a formula that will return a value from a table based on multiple factors (seems to be some combination of IF and Vlookup formula). I looked through the forum to see if anyone has already posted a question similar to mine but I didn't find an exact match (is an excel formula as unique as a snowflake?) Anyways, with that being said, I understand that the people providing help on this forum have to take time out of their day to come up with answers so I'm more than willing to make a donation to the forum. I've spent way too much time on this and just need a good answer at this point.

Sheet 1
 Player Position Team Opponent vs. player John PG LAL MEM ????? Mark SG LAL MEM ?????

<tbody>
</tbody>

 Player Position Team Opponent Mike PG MEM LAL

<tbody>
</tbody>

I need a formula that will use values in the Opponent and Position columns in sheet1 - in this case MEM and PG - and return the corresponding value - in this case Mike. Simply put, Mike is the Memphis PG that is guarding the Lakers PG.

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
The second table in my example (Mike PG MEM LAL) is located in sheet2.

Welcome to Mr Excel

You need and array formula.

E2 of Sheet1

confirmed with Ctrl+Shift+Enter, not just Enter

Hope this helps

M.

In E2 of Sheet1 control+shift+enter, not just enter:

=INDEX(Sheet2!\$A\$2:\$A\$10,MATCH(\$B2,IF(Sheet2!\$C\$2:\$C\$10=\$D2,Sheet2!\$B\$2:\$B\$10),0))

worked perfectly! thank you both

Replies
1
Views
513
Replies
3
Views
1K
Replies
5
Views
2K
Replies
14
Views
1K
Replies
0
Views
1K

1,216,415
Messages
6,130,463
Members
449,582
Latest member
Mengli

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.

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

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