Return Unquie Values
This slightly tweaked version ignores the title cell (B1)
ARRAY FORMULA
B2:
=IF(SUMPRODUCT(($A$2:$A$20<"")*1/COUNTIF($A$2:$A$20,$A$2:$A$20&""))<=COUNTA($B$1:$B 1&"")-1,"",INDEX($A$2:$A$20,MATCH(TRUE,ISERROR(MATCH($A$ 2:$A$20,$B$1:$B1,0)),0),1))
Copy B2 and paste into B3 and down as far as you need.
Does that help?
***********
Regards,
Ron
XL2003, WinXP
"Ron Coderre" wrote:
With
A2:A20 containing your data list, with A1 as a title
Try this:
B1: (any title)
This ARRAY FORMULA (committed with Ctrl+Shift+Enter) begins ths list of
unique items:
B2:
=IF(SUMPRODUCT(($A$2:$A$20<"")*1/COUNTIF($A$2:$A$20,$A$2:$A$20&""))<=COUNTA($B$1:$B 1)-1,"",INDEX($A$2:$A$20,MATCH(TRUE,ISERROR(MATCH($A$ 2:$A$20,$B$1:$B1,0)),0),1))
Copy B2 and paste into B3 and down as far as you need.
Note: if B1 (the title) is empty, the formula returns 0 when it runs out of
uniques.
Is that something you can work with?
***********
Regards,
Ron
XL2003, WinXP
"Javier Diaz" wrote:
So guys, heres another one
Say in CElls A2:A10 I have values like so;
food
food
test
trial
trial
test
And in B2:B10 I have qtys. I want a total with no filter or pivot that
would return the unique entries into A12 like so
Food
Rest
Trial
Test
Thats about it, I'll take care of the sumif formula for the qy based on this
one thing that I reallly need. Pleaseeeeeeeeeeeee.
|