LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Henrik
 
Posts: n/a
Default Listing Unique Observations

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
 
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
Finding Unique Values in Column Kirk P. Excel Discussion (Misc queries) 1 January 25th 05 02:01 PM
find rows for unique data in 1 column and different data in other. Dot Majewski Excel Discussion (Misc queries) 1 January 21st 05 12:23 AM
How do I count or display unique data in a column? kbeilers Excel Worksheet Functions 1 November 12th 04 04:51 AM
Count of unique items meeting condition Tim C Excel Worksheet Functions 1 November 12th 04 03:03 AM
UNIQUE GERRYM Excel Worksheet Functions 1 November 11th 04 05:15 PM


All times are GMT +1. The time now is 02:24 AM.

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"