+ Reply to Thread
Results 1 to 5 of 5

Use SMALL function

  1. #1
    Registered User
    Join Date
    06-23-2009
    Location
    Boca Raton, FL
    MS-Off Ver
    Excel 2003
    Posts
    5

    Use SMALL function

    I'd like to use the SMALL() function in excel to pull out the second lowest unique value in a list, but I'm not sure there is a way to do this.

    For example, if the array is {1,1,3,10,2,6}, then SMALL(array,2) returns 1, but I'd like it to return 2.

    Is there a way I can modify this function or use a different one to achieve what I want?

    Any help would be *greatly* appreciated. Thanks.
    Last edited by excelhelp456; 06-23-2009 at 03:17 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    re: Use SMALL function

    Welcome to the forum.

    =SMALL(A1:A6, COUNTIF(A1:A6, MIN(A1:A6)) + 1)
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    re: Use SMALL function

    Try this array formula, adjust the cell range for your data, and press CTRL-SHIFT-ENTER to confirm the array:

    =SMALL(IF(A1:A6>SMALL(A1:A6,1),A1:A6,""),1)
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  4. #4
    Registered User
    Join Date
    06-23-2009
    Location
    Boca Raton, FL
    MS-Off Ver
    Excel 2003
    Posts
    5

    re: Use SMALL function

    Thank you both so much! That's perfect!

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    re: Use SMALL function

    You're welcome. Would you please mark the thread as Solved?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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