VLookup with Multi Range

Budge

Board Regular
Joined
Aug 24, 2002
Messages
75
I have 2 ranges where my lookup value can reside.It can be in either one.
I've been searching the board for clues and have found this
=if(isna(vlookup1),vlookup2,vlookup1)

So translating it for my purposes
=if(isna(vlookup(a1,Range1,2,0),vlookup(a1,Range2,2,0),vlookup(a1,Range1,2,0))

I tried the formula exactly as per the first example without the brackets joining lookup2 and then lookup1.No luck.
Have tried various combinations,all to no avail.
Please advise

Sincerely,
Budge
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
On 2002-09-01 15:16, Budge wrote:
I have 2 ranges where my lookup value can reside.It can be in either one.
I've been searching the board for clues and have found this
=if(isna(vlookup1),vlookup2,vlookup1)

So translating it for my purposes
=if(isna(vlookup(a1,Range1,2,0),vlookup(a1,Range2,2,0),vlookup(a1,Range1,2,0))

I tried the formula exactly as per the first example without the brackets joining lookup2 and then lookup1.No luck.
Have tried various combinations,all to no avail.
Please advise

Sincerely,
Budge

looks like you're just missing one bracket:

=IF(ISNA(VLOOKUP(A1,Range1,2,0)),VLOOKUP(A1,Range2,2,0),VLOOKUP(A1,Range1,2,0))

paddy
 
Upvote 0

Forum statistics

Threads
1,222,313
Messages
6,165,285
Members
451,949
Latest member
bovacik

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