Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default lookup then concatenate

Hi, I would like to lookup value in column A in column B, and return all
values in C(if value A is in B).

ie. Col A: abc
Col B Col C
abc z
bcd x
abc y

Result:
z: y
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default lookup then concatenate

If you download and install the free add-in Morefunc.xll then you can use
this array formula** to do what you want:

=TRIM(MCONCAT(IF(A1:A6="abc",B1:B6&" ","")))

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

Note that the result of this formula is limited to a total character length
of 255 characters including the space delimiters.

The add-in can be located he

http://www.download.com/Morefunc/300...-10423159.html

--
Biff
Microsoft Excel MVP


"Betty" wrote in message
...
Hi, I would like to lookup value in column A in column B, and return all
values in C(if value A is in B).

ie. Col A: abc
Col B Col C
abc z
bcd x
abc y

Result:
z: y



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
lookup and concatenate Greg Excel Worksheet Functions 4 November 25th 08 02:56 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM
I know how to concatenate ,can one de-concatenate to split date? QUICK BOOKS PROBLEM- New Users to Excel 1 July 26th 05 05:07 PM


All times are GMT +1. The time now is 02:06 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"