Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default lookup value and print all instances


Hi all

If i have a value i want to lookup against anouther table and print out
something in the column next to it i would use a vlookup. However in
this instance there is a number of matchs for the vlookup and i want to
print all the values assosiated with it.

EG

nme attribute
a yyy
a xxx
a juy
b kfh
b hrhr
c ieue

So i want to lookup b. It prints out values kfh and hrhr in two
different cells.

Any help would be appreciated.

Thx


--
kanuvas
------------------------------------------------------------------------
kanuvas's Profile: http://www.excelforum.com/member.php...o&userid=27911
View this thread: http://www.excelforum.com/showthread...hreadid=492732

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default lookup value and print all instances

Will the multiple values always be adjacent or might they be littered
throughout the column?

--
Regards,
Tom Ogilvy

"kanuvas" wrote in
message ...

Hi all

If i have a value i want to lookup against anouther table and print out
something in the column next to it i would use a vlookup. However in
this instance there is a number of matchs for the vlookup and i want to
print all the values assosiated with it.

EG

nme attribute
a yyy
a xxx
a juy
b kfh
b hrhr
c ieue

So i want to lookup b. It prints out values kfh and hrhr in two
different cells.

Any help would be appreciated.

Thx


--
kanuvas
------------------------------------------------------------------------
kanuvas's Profile:

http://www.excelforum.com/member.php...o&userid=27911
View this thread: http://www.excelforum.com/showthread...hreadid=492732



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default lookup value and print all instances


Firstly to Don. I cannot use filter as i wont be using that workbook
directly i will be calling the information from anouther one.

Secondly to Tom. The values are always next to the value you want to
lookup. In the actual bit of work i am doing they are 5 column across
but they will always remain 5 columns accross.


--
kanuvas
------------------------------------------------------------------------
kanuvas's Profile: http://www.excelforum.com/member.php...o&userid=27911
View this thread: http://www.excelforum.com/showthread...hreadid=492732

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 783
Default lookup value and print all instances

kanuvas wrote:
Hi all

If i have a value i want to lookup against anouther table and print out
something in the column next to it i would use a vlookup. However in
this instance there is a number of matchs for the vlookup and i want to
print all the values assosiated with it.

EG

nme attribute
a yyy
a xxx
a juy
b kfh
b hrhr
c ieue

So i want to lookup b. It prints out values kfh and hrhr in two
different cells.

Any help would be appreciated.

Thx


If the functions in the freely downloadable file at
http://home.pacbell.net/beban are available to your workbook

=VLookups("b",a1:b6,2), array entered into a two-cell column

Alan Beban
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
Using Lookup to return all instances sashabaz Excel Discussion (Misc queries) 8 August 17th 09 04:05 PM
Lookup formula to return all instances of match? CParker Excel Discussion (Misc queries) 9 November 19th 08 10:34 AM
Multiple instances of lookup value SGT Buckeye Excel Discussion (Misc queries) 3 September 23rd 07 03:00 AM
Lookup function for a value that has multiple instances Rafat Excel Worksheet Functions 4 June 8th 06 09:36 PM
Returning multiple instances of the same lookup value lo3t3ch Excel Worksheet Functions 7 December 1st 05 03:25 PM


All times are GMT +1. The time now is 12:34 AM.

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"