#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Vlookup

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default Vlookup

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 74
Default Vlookup

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup in vlookup - taking the result as array name SupperDuck Excel Worksheet Functions 2 June 2nd 07 11:05 AM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM
IF(AND(val1=VLOOKUP( );val2>=VLOOKUP( );val2<=VLOOKUP( );VLOOKUP( Oso Excel Worksheet Functions 2 January 26th 05 06:56 AM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 09:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"