If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
VLOOKUP on multiple columns
Hi all,
I have 2 sets of columns that I am trying to use VLOOKUP to give me one of the values. Basically, if the value is not in the first set of columns, I want to check the second set of columns... Example: Find this in this column (result) OR this column (result) and give (result) 1 5 B 1 C 2 2 Z 7 Q 3 6 M 3 X Thanks for your help in advance! |
#2
|
|||
|
|||
VLOOKUP on multiple columns
Hi
try =IF(ISNA(VLOOKUP(value,A1:B20,2,0)),VLOOKUP(value, C120,2,0),VLOOKUP(v alue,A1:B20,2,0)) -- Regards Frank Kabel Frankfurt, Germany JTR wrote: Hi all, I have 2 sets of columns that I am trying to use VLOOKUP to give me one of the values. Basically, if the value is not in the first set of columns, I want to check the second set of columns... Example: Find this in this column (result) OR this column (result) and give (result) 1 5 B 1 C 2 2 Z 7 Q 3 6 M 3 X Thanks for your help in advance! |
#3
|
|||
|
|||
VLOOKUP on multiple columns
Absolutely perfect. Thanks! I was missing the ISNA statement...
"Frank Kabel" wrote: Hi try =IF(ISNA(VLOOKUP(value,A1:B20,2,0)),VLOOKUP(value, C120,2,0),VLOOKUP(v alue,A1:B20,2,0)) -- Regards Frank Kabel Frankfurt, Germany JTR wrote: Hi all, I have 2 sets of columns that I am trying to use VLOOKUP to give me one of the values. Basically, if the value is not in the first set of columns, I want to check the second set of columns... Example: Find this in this column (result) OR this column (result) and give (result) 1 5 B 1 C 2 2 Z 7 Q 3 6 M 3 X Thanks for your help in advance! |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
extracting unique #'s from multiple columns | matmich | General Discussion | 2 | August 10th, 2004 11:51 PM |
Vlookup with two reference columns | Prashanth | Worksheet Functions | 5 | August 4th, 2004 04:11 PM |
vlookup using 2 reference columns | DanS | Worksheet Functions | 7 | July 22nd, 2004 04:58 PM |