Posted to microsoft.public.excel.worksheet.functions
|
|
Arbitrary Lookups - return ALL found values
Hi Teethless mama,
I've downloaded add-in but your first formula is not wokring for me.
I've put data starting in A1 but when I insert your function in D2 it does
not show any data nor error - just blank. Am I missing something.
"Teethless mama" wrote:
Download and install the free add-in Morefunc.xll from:
http://xcell05.free.fr/english/
then use the following formulas
To get unique names:
In D2:
=IF(ISERR(SMALL(IF(MATCH(Name,Name,0)=ROW(INDIRECT ("1:"&ROWS(Name))),MATCH(Name,Name,0)),ROWS($1:1)) ),"",INDEX(Name,SMALL(IF(MATCH(Name,Name,0)=ROW(IN DIRECT("1:"&ROWS(Name))),MATCH(Name,Name,0)),ROWS( $1:1))))
ctrl+shift+enter, not just enter
copy down
In E2: =SUBSTITUTE(TRIM(MCONCAT(IF(Name=$D2,Score,"")&" "))," ","|")
ctrl+shift+enter, not just enter
copy down
"baki" wrote:
Hello, for long time now I'm searching a way in excel to solve following:
Data I have:
Name Score
Annie 11
Beth 22
Cathy 33
Dana 44
Annie 55
Beth 66
Annie 77
Beth 88
Cathy 99
Data I want to produce:
Name Score
Annie 11|55|77
Beth 22|66
Cathy 33|99
Dana 44
The character "|" is just a example of separator it can be any other
meaningfull characted.
|