Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Is it possible to do a vlookup within a range? For example;
Column A Column B A1 000-140101 A1 General Government A2 190000-200301 A2 Public Protection A3 410000-541001 A3 Culture & Rec A4 990000-990001 A4 Public Ways So Lets say I want to look up 190500 I would expect the formula to return Public Protection. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No, VLOOKUP does not provide that facility... If your subsrting confirms to a
pattern then you can extract that in a helper column and lookup on that column... If you can come up with a formula which returns the whole string when substring is passed to it then you can pass that as the lookup value... I mean in =VLOOKUP(A1,...) replace A1 by the formula which returns a value in the lookup col... "Gilbert" wrote: Is it possible to do a vlookup within a range? For example; Column A Column B A1 000-140101 A1 General Government A2 190000-200301 A2 Public Protection A3 410000-541001 A3 Culture & Rec A4 990000-990001 A4 Public Ways So Lets say I want to look up 190500 I would expect the formula to return Public Protection. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks!
"Sheeloo" wrote: No, VLOOKUP does not provide that facility... If your subsrting confirms to a pattern then you can extract that in a helper column and lookup on that column... If you can come up with a formula which returns the whole string when substring is passed to it then you can pass that as the lookup value... I mean in =VLOOKUP(A1,...) replace A1 by the formula which returns a value in the lookup col... "Gilbert" wrote: Is it possible to do a vlookup within a range? For example; Column A Column B A1 000-140101 A1 General Government A2 190000-200301 A2 Public Protection A3 410000-541001 A3 Culture & Rec A4 990000-990001 A4 Public Ways So Lets say I want to look up 190500 I would expect the formula to return Public Protection. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Vlookup in vlookup - taking the result as array name | Excel Worksheet Functions | |||
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(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( | Excel Worksheet Functions | |||
Vlookup info being used without vlookup table attached? | Excel Worksheet Functions |