Here's one way to do it 1. Name your list FullList. 2. Filter the list to another column on the sheet, checking the 'unique values only' box. 3. Name this new list ShortList 4. Next to ShortList, have a column using the FREQUENCY function, picking up the value next to it inShortList and counting instances in FullList 5. Next to the FREQUENCY column, have a new column using the RANK function to determine their relative order 6. Now sort FullList, ordering in ascending order by RANK If you want to limit your rankings to the top 50 only, then instead of 5 and 6 you could create a new table using the LARGE funtion 50 times. Hope this gets you going. Ray ------------------------------------ GR Business Process Solutions Ray Blake Head of Software Design ray@xxxxxxxxx Braedon Newell Road Hemel Hempstead Herts HP3 9PD tel: 01442 396518 fax: 01442 389353 mobile: 07834 226601 ------------------------------------ -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Van Baardwijk, Adri Sent: 02 March 2005 07:48 To: MSO Freelists Subject: [mso] frequency of unique numbers in Excel Hi MSO-ers, I have a problem. Please help. There are 10.000 numbers in a table: say 010203 thru 383940 I want to know the Top 50 numbers with the highest frequency. So first of all I have to find out the frequency of each unique number. ====================================================================== But I do not know how. Explanation: Sample Table: Result-1: ============= ================ Number Number Freq 010203 010203 010203 010203 3 020405 020405 1 113439 113439 113439 113439 113439 113439 113439 6 etc 194142 35 242839 7 323840 3 Top 50: Result-2: ======= =============== Number Freq 194142 35 242839 7 113439 6 etc Thanks for your help. Adri Brussels ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************