+ Reply to Thread
Results 1 to 3 of 3

finding 10 smallest unique values in a list

  1. #1
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298

    finding 10 smallest unique values in a list

    hello,

    I have been using the SMALL function to find 10 smallest values in a list, however, some of the values are the same, is there a way of only having the 10 smallest unique values within a list?


    Hopefully someone has an idea

    thanks reg
    Last edited by reggie1000; 10-02-2008 at 12:37 PM.

  2. #2
    Forum Contributor
    Join Date
    06-03-2008
    Posts
    387
    Assuming your data starts in cell A1, then you can paste this in cell B1 and copy down.

    Please Login or Register  to view this content.
    It will change your list, so it only includes unique values.

    Then, just change your small functions to point to this new range of data.


    There are some better ways of handling this with the countif function, so you might consider playing around with it.

  3. #3
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Quote Originally Posted by reggie1000 View Post
    hello,

    I have been using the SMALL function to find 10 smallest values in a list, however, some of the values are the same, is there a way of only having the 10 smallest unique values within a list?


    Hopefully someone has an idea

    thanks reg
    Assuming that A2:A100 contains the data, try...

    C2, confirmed with CONTROL+SHIFT+ENTER:

    =SUM(IF(FREQUENCY(A2:A100,A2:A100),1))

    D2, confirmed with CONROL+SHIFT+ENTER, and copied down:

    =IF(ROWS(D$2:D2)<=$C$2,SMALL(IF($A$2:$A$100<>"",IF(ISNA(MATCH($A$2:$A$100,$D$1:D1,0)),$A$2:$A$100)),1),"")

    Hope this helps!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Copy and paste unique values to another worksheet
    By gsrai31 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-28-2009, 11:44 AM
  2. Replies: 5
    Last Post: 08-26-2008, 01:07 PM
  3. populating list with unique values (revised)
    By jchambers00 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-25-2007, 01:19 PM
  4. Help with list of values
    By Billx in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-24-2006, 01:25 PM
  5. Applying a formula to a list of values
    By TrooperFarva in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-18-2006, 04:34 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1