Avatar of swjtx99
swjtx99
 asked on

Return value in C where A and B match on both sheets.

Hi,

I prematurely accepted an answer for a problem to return the value in C of sheet1 where A and B match on two different sheets. The following formula will return a value but not from the row that has the match.

=INDEX('Sheet1'!C:C,MATCH(A2&B2,'Sheet2'!A:A&'Sheet2'!B:B,0))

Attached is an example sheet.

Thanks,

swjtx99
Example.xlsx
Microsoft Excel

Avatar of undefined
Last Comment
swjtx99

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Saqib Husain

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
swjtx99

ASKER
Thanks Saqib,

Regards,
Your help has saved me hundreds of hours of internet surfing.
fblack61