Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 37
Default Please help on array search & result

Hi,

Illustrative example of my problem:

I have a list of numbers and letters. How can I lookup the value " 1 " and
return the multiple results of z, a, g ? I want to type only one formula
in one cell, although I don't mind the result being spread out over multiple
cells.
Thanks for your thoughts on this.

1 z
2 b
1 a
3 e
4 f
1 g


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Please help on array search & result

One way...

Download and install the *free* add-in Morefunc.dll from:

http://xcell05.free.fr/english/

Then you could use this array formula** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"ORLANDO V" wrote in message
...
Hi,

Illustrative example of my problem:

I have a list of numbers and letters. How can I lookup the value " 1 "
and
return the multiple results of z, a, g ? I want to type only one
formula
in one cell, although I don't mind the result being spread out over
multiple
cells.
Thanks for your thoughts on this.

1 z
2 b
1 a
3 e
4 f
1 g




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 783
Default Please help on array search & result

ORLANDO V wrote:
Hi,

Illustrative example of my problem:

I have a list of numbers and letters. How can I lookup the value " 1 " and
return the multiple results of z, a, g ? I want to type only one formula
in one cell, although I don't mind the result being spread out over multiple
cells.
Thanks for your thoughts on this.

1 z
2 b
1 a
3 e
4 f
1 g


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

=VLookups(1, A1:B6, 2) array entered into a vertical range of enough
rows to accommodate the output;

Or

=INDEX(VLookups(1, A$1:B$6, 2),ROW(1:1),1) entered into a cell and
filled down as far as required.

Alan Beban
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Please help on array search & result

Typo:

Download and install the *free* add-in Morefunc.dll from:


Should be:

Download and install the *free* add-in Morefunc.xll from:


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
One way...

Download and install the *free* add-in Morefunc.dll from:

http://xcell05.free.fr/english/

Then you could use this array formula** :

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

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER)

--
Biff
Microsoft Excel MVP


"ORLANDO V" wrote in message
...
Hi,

Illustrative example of my problem:

I have a list of numbers and letters. How can I lookup the value " 1 "
and
return the multiple results of z, a, g ? I want to type only one
formula
in one cell, although I don't mind the result being spread out over
multiple
cells.
Thanks for your thoughts on this.

1 z
2 b
1 a
3 e
4 f
1 g






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
search array jchick0909 Excel Worksheet Functions 3 October 5th 07 07:25 PM
filtering based on a search result Yabi New Users to Excel 7 April 9th 07 04:11 PM
select cells that are the result of a search john mcmichael Excel Discussion (Misc queries) 3 November 8th 06 09:26 PM
Search another Workbook to find result brown_toby Excel Worksheet Functions 3 June 30th 06 09:14 PM
SEARCH function #VALUE! result Mike Boerne Excel Worksheet Functions 3 January 5th 05 08:53 PM


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