Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am trying to write a vlookup that looks in more than one column for the
data, is this possible? Col a Col b Col c col d 1 a 1 a 2 b 3 c 4 d How do I get a vlookup or other function to find the "2"? =vlookup(a10,a1:b4;c1:d4,2,false) where a10=2 doesn't work. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In article ,
Iriemon wrote: I am trying to write a vlookup that looks in more than one column for the data, is this possible? Col a Col b Col c col d 1 a 1 a 2 b 3 c 4 d How do I get a vlookup or other function to find the "2"? =vlookup(a10,a1:b4;c1:d4,2,false) where a10=2 doesn't work. Is this what you mean? =VLOOKUP(A10,IF(ISNUMBER(MATCH(A10,A1:A4,0)),A1:B4 ,C1:D4),2,FALSE) -- Domenic http://www.xl-central.com |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Works perfectly!
Thanks Irie !! "Domenic" wrote: In article , Iriemon wrote: I am trying to write a vlookup that looks in more than one column for the data, is this possible? Col a Col b Col c col d 1 a 1 a 2 b 3 c 4 d How do I get a vlookup or other function to find the "2"? =vlookup(a10,a1:b4;c1:d4,2,false) where a10=2 doesn't work. Is this what you mean? =VLOOKUP(A10,IF(ISNUMBER(MATCH(A10,A1:A4,0)),A1:B4 ,C1:D4),2,FALSE) -- Domenic http://www.xl-central.com |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VLOOKUP on multiple columns | Excel Discussion (Misc queries) | |||
VLOOKUP, IF and multiple columns | Excel Discussion (Misc queries) | |||
vlookup for multiple columns | Excel Worksheet Functions | |||
VLOOKUP and multiple columns | Excel Discussion (Misc queries) | |||
vlookup for multiple columns | Excel Worksheet Functions |