Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 127
Default v-Lookup between values and give result -Help

I have the following data
Cell A Cell B
book_ball_12k Exercise
ham_pie_l89 Food

How do I do a v-lookup on this value - Jungleboy, book_ball_12k from
above and get Exercise. I want the look up to look at book_ball_12k from
the value (Jungleboy, book_ball_12k) - probably use the comma to denote where
to get value from and pick Exercise.

All help totally appreciated..

Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default v-Lookup between values and give result -Help

One way:

Assume 'Jungleboy, book_ball_12k' in cell J1.

=VLOOKUP(MID(J1,FIND(",",J1)+1,255),A:B,2,FALSE)


In article ,
Yossy wrote:

I have the following data
Cell A Cell B
book_ball_12k Exercise
ham_pie_l89 Food

How do I do a v-lookup on this value - Jungleboy, book_ball_12k from
above and get Exercise. I want the look up to look at book_ball_12k from
the value (Jungleboy, book_ball_12k) - probably use the comma to denote where
to get value from and pick Exercise.

All help totally appreciated..

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default v-Lookup between values and give result -Help

Hi,

Lets suppose the string (Jungleboy, book_ball_12k)
including the parenthesis is in F1, try this

=VLOOKUP(SUBSTITUTE(TRIM(MID(F1,SEARCH(",",F1)+1,L EN(F1))),")",""),A1:B20,2,FALSE)

Mike

"Yossy" wrote:

I have the following data
Cell A Cell B
book_ball_12k Exercise
ham_pie_l89 Food

How do I do a v-lookup on this value - Jungleboy, book_ball_12k from
above and get Exercise. I want the look up to look at book_ball_12k from
the value (Jungleboy, book_ball_12k) - probably use the comma to denote where
to get value from and pick Exercise.

All help totally appreciated..

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default v-Lookup between values and give result -Help

Try this:

E2 = Jungleboy, book_ball_12k

=LOOKUP(1E100,SEARCH(A$2:A$3,E2),B$2:B$3)

--
Biff
Microsoft Excel MVP


"Yossy" wrote in message
...
I have the following data
Cell A Cell B
book_ball_12k Exercise
ham_pie_l89 Food

How do I do a v-lookup on this value - Jungleboy, book_ball_12k from
above and get Exercise. I want the look up to look at book_ball_12k
from
the value (Jungleboy, book_ball_12k) - probably use the comma to denote
where
to get value from and pick Exercise.

All help totally appreciated..

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default v-Lookup between values and give result -Help

Note that with that formula there can't be any empty cells in the first
column of your lookup table.

--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Try this:

E2 = Jungleboy, book_ball_12k

=LOOKUP(1E100,SEARCH(A$2:A$3,E2),B$2:B$3)

--
Biff
Microsoft Excel MVP


"Yossy" wrote in message
...
I have the following data
Cell A Cell B
book_ball_12k Exercise
ham_pie_l89 Food

How do I do a v-lookup on this value - Jungleboy, book_ball_12k from
above and get Exercise. I want the look up to look at book_ball_12k
from
the value (Jungleboy, book_ball_12k) - probably use the comma to denote
where
to get value from and pick Exercise.

All help totally appreciated..

Thanks






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
Which numbers give desired result Studebaker Excel Discussion (Misc queries) 14 April 29th 08 09:22 PM
vlookup does not give the result in the cell even though it is kbee Excel Worksheet Functions 2 February 15th 08 08:45 AM
Trying to find Matches and Give a Result cheryl Excel Worksheet Functions 5 July 26th 07 09:06 PM
How do I get a cell to give a result based on the month we are in? SHBmgr Excel Worksheet Functions 3 July 17th 06 10:23 PM
entering a26-02 into a cell give strange result Anthony Excel Discussion (Misc queries) 1 January 27th 05 10:34 PM


All times are GMT +1. The time now is 04:07 AM.

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"