HLOOKUP on Two Ranges

P

Paul Black

Hi,

I would like a formula please.
I have a table in cells c4:aa7.
I want to lookup the value in cell B10 where the table array is in
cells C4:AA5 and the row index number is 2.
But I also want it to lookup the same cell B10 in C6:AA7 with the same
row index 2 please.

Thanks in Advance.
All the Best.
Paul
 
G

Guest

=IF(ISERROR(HLOOKUP(B10,C4:AA5,2,FALSE)),HLOOKUP(B10,C6:AA7,2,FALSE),HLOOKUP(B10,C4:AA5,2,FALSE))

This formula will look at both ranges at the same time,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top