Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I am using a vlookup function with an array as the number I am searching for
is an a text range ("1-2","5-10","20-30") so Im taking the value of the cell until the dash. {=VLOOKUP(Q13,VALUE(LEFT(C20:I23,SEARCH("-",C20:I23,1)-1)),1)} my problem is that it only allows me to offset the vllokup by 1. when I go for more than 1 I get an error. Any idea whats wrong with my syntax? Thanks. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I'm not sure I understand, but how about:
=vlookup(q13&"-*",c20:i23,2,false) to return the value in column D (the ,2, in that formula). (maybe you don't want that false, too?) ynissel wrote: I am using a vlookup function with an array as the number I am searching for is an a text range ("1-2","5-10","20-30") so Im taking the value of the cell until the dash. {=VLOOKUP(Q13,VALUE(LEFT(C20:I23,SEARCH("-",C20:I23,1)-1)),1)} my problem is that it only allows me to offset the vllokup by 1. when I go for more than 1 I get an error. Any idea whats wrong with my syntax? Thanks. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP | Excel Discussion (Misc queries) | |||
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) | New Users to Excel | |||
IF(a1="x",(vlookup 18K rows,2,false),(vlookup 18K,3,false)) RAM? | Excel Worksheet Functions | |||
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |