LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #18   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 92
Default Count Unique Values

Hello,

I suggest a careful step by step approach:

If your data is in Sheet1, A1:C8:
1. Create a helper column in sheet1. Enter
=A1&";"&C1
into D1 and copy down to D8

2. Get my UDF List_Freq from http://www.sulprobil.com/html/listfreq.html
and insert it into a macro module:
Press ALT + F11, insert a module, copy macro text into module, go back
to worksheet, but now Sheet2 (TWO!)

3. Select cells A1:B8 in sheet2 and array-enter
=List_Freq(Sheet1!D1:D8,1)
[Press CTRL + ALT + ENTER to enter formula, curly brackets should
enclose your formula after that]

4. Create a helper column in sheet2. Enter
=LEFT(FIND(";",A1&";")-1)
into C1 and copy down to C8

5. Select cells A1:B8 in sheet3 and array-enter
=List_Freq(Sheet1!C1:C8,1)
[Press CTRL + ALT + ENTER to enter formula, curly brackets should
enclose your formula after that]

Sheet3 shows your results. Ignore blank and zero entries in first
rows.

I hope it is an advantage to see intermediate results here. You can
spot user entry errors easily, I think.

Regards,
Bernd

 
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
Count Unique Values Dave Excel Worksheet Functions 5 December 4th 08 10:20 PM
Unique Count when Values 0.01 Jill1 Excel Worksheet Functions 3 November 22nd 06 01:36 PM
Count of Unique values Richard Excel Worksheet Functions 3 September 27th 05 05:46 AM
Count unique values and create list based on these values vipa2000 Excel Worksheet Functions 7 August 5th 05 01:17 AM
Count Unique Values annie Excel Worksheet Functions 1 June 9th 05 07:19 AM


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