Lookup 2 cells

Can an expert assist me with this lookup please.

I need to look up 'A' and 'B' on sheet 2 and return 'C' from sheet 1 [range is Data]

I have shown in the attached spreadsheet what the results should be for the first 3, i.e.

A      GBP         XYZ
B      EUR         XYZ
C      CAD         ABC

thank you
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ryan ChongBusiness Systems Analyst , ex-Senior Application EngineerCommented:
in Sheet2, cell C2, try use formula:

={ INDEX(Sheet1!C:C, MATCH(1,(Sheet1!A:A=Sheet2!A2)*(Sheet1!B:B=Sheet2!B2),0)) }

Open in new window

and drag down formula accordingly. pls note this is an array formula.
ProfessorJimJamMicrosoft Excel ExpertCommented:
put this and enter with control shift enter  =INDEX(Sheet1!C:C,MATCH(Sheet2!A2&Sheet2!B2,Sheet1!A:A&Sheet1!B:B,0))

see attached file.
[ fanpages ]IT Services ConsultantCommented:
Hi again,

I have placed the following array formulae within cell [C2] of the [Sheet2] worksheet, then copied it down column [C] to cell [C31]:

The entry of an array formula is not just use of [Return]/[Enter], but [CTRL]+[SHIFT]+[ENTER].

Further information about array formulae can be read here:
[ https://support.office.com/en-za/article/Guidelines-and-examples-of-array-formulas-7d94a64e-3ff3-4686-9372-ecfd5caa57c7 ]

I have attached your original workbook with the formula applied as summarised above.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

[ fanpages ]IT Services ConsultantCommented:
^ That'll teach me not to provide extended instructions & screen images! :)
JagwarmanAuthor Commented:
They are all 'Best Solution'  many thanks
ProfessorJimJamMicrosoft Excel ExpertCommented:

in case if you do not want to use CONTROL SHIFT ENTER. then you can use this formula

[ fanpages ]IT Services ConsultantCommented:
Thanks for being fair with the points allocated, Jagwarman.

PS. I have just sent you a "Message" via this site's internal system.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.