H
Henrik
Hi,
I am interested in developing a worksheet formula that list each unique
observation from a dataset as it is dragged down. I am aware that both
autofilter and pivot tables are capable of doing this, but I want an actual
worksheet function.
For instance, I have the following dataset (starting in cell A1):
Apple
Banana
Orange
Apple
Apple
Banana
Pear
Mango
As the function is dragged down (starting with cell C1), it would return the
following observations (does not have to be in this order):
Apple
Banana
Orange
Pear
Mango
I have previously develoed the following worksheet function to count unique
observations:
=SUMPRODUCT((A1:A8<>"")/(COUNTIF(A1:A8,A1:A8)+(A1:A8="")))
(the function returns 5)
Your help is greatly appreciated!
Thanks,
Henrik
I am interested in developing a worksheet formula that list each unique
observation from a dataset as it is dragged down. I am aware that both
autofilter and pivot tables are capable of doing this, but I want an actual
worksheet function.
For instance, I have the following dataset (starting in cell A1):
Apple
Banana
Orange
Apple
Apple
Banana
Pear
Mango
As the function is dragged down (starting with cell C1), it would return the
following observations (does not have to be in this order):
Apple
Banana
Orange
Pear
Mango
I have previously develoed the following worksheet function to count unique
observations:
=SUMPRODUCT((A1:A8<>"")/(COUNTIF(A1:A8,A1:A8)+(A1:A8="")))
(the function returns 5)
Your help is greatly appreciated!
Thanks,
Henrik