Lookup

ChrisLane

New Member
Joined
May 22, 2014
Messages
38
Hi All
I have the following table as an example, Name is column A, Dept Column B & Age Column C. Henry to Lynn in rows 2 to 9. I need a formula that will find the row in the table that matches both the contents of cells E2 and F2, and inserts the Age into G2.

I will appreciate any help I get.
ABCDEFG
2NameDeptAgeMary101?
3Henry50128
4Stan20119
5Mary10122
6Larry30129
7Harry40121
8Joe10123
9Lynn30130

<tbody>
</tbody>
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
=INDEX(D3:D9,MATCH(F2&G2,B3:B9&C3:C9,0))

Enter the above formula using Ctrl+Shift+Enter
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,520
Messages
6,120,008
Members
448,935
Latest member
ijat

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