Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 64
Default Vlookup Mutiple Values

Is it possible to use vloolup to find every instance of a lookup value
and return the column index value for every instance and put that into
1 cell separated by a coma or something like that?


A B C D
1 ZZ Z M O
2 JJ J A X
3 RR D W E
4 GG G E G
5 RR J I V
6 E,V

Example in cell A6 =VLOOKUP(B4,B:E,4,0)

I want it to return the value of E,V


Is this possible
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,688
Default Vlookup Mutiple Values

Is it possible to use vloolup to find every instance of a lookup value
and return the column index value for every instance and put that into
1 cell separated by a coma or something like that?


No

Biff

"Little Penny" wrote in message
...
Is it possible to use vloolup to find every instance of a lookup value
and return the column index value for every instance and put that into
1 cell separated by a coma or something like that?


A B C D
1 ZZ Z M O
2 JJ J A X
3 RR D W E
4 GG G E G
5 RR J I V
6 E,V

Example in cell A6 =VLOOKUP(B4,B:E,4,0)

I want it to return the value of E,V


Is this possible



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,180
Default Vlookup Mutiple Values

Not with VLOOKUP, but you can try an IF/INDEX formula:
I assume that "ZZ" is located at B2.
Then select B2:E6 and
Insert Name Define Names in workbook: Array
Next, define the name Out:
Insert Name Define Names in workbook: Out
Refers To: =IF(INDEX(Array,,1)=$B$6,INDEX(Array,,4)&",","")
In cell A6, enter this formula:
=INDEX(Out,1)&INDEX(Out,2)&INDEX(Out,3)&INDEX(Out, 4)&INDEX(Out,5)

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
combine multiple values in a table into one cell using vlookup? Liam S. Excel Worksheet Functions 0 July 27th 06 09:21 PM
Regarding updating 1000 values using vlookup from another worksheet VirusKid Excel Worksheet Functions 1 July 17th 06 05:24 PM
VLOOKUP using another table for comparison values Karen S. Excel Worksheet Functions 3 June 15th 06 09:56 PM
use vlookup or other to find the nearest values (<) or interpola Rodney Excel Worksheet Functions 4 April 5th 06 09:21 PM
Vlookup on a worksheet with similar values GWHITE1 Excel Worksheet Functions 3 December 31st 05 04:16 PM


All times are GMT +1. The time now is 06:56 PM.

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

About Us

"It's about Microsoft Excel"