+ Reply to Thread
Results 1 to 10 of 10

Find 2nd smallest number without having the numbers in a range

  1. #1
    Registered User
    Join Date
    02-28-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    35

    Find 2nd smallest number without having the numbers in a range

    I have some numbers:
    5, 16, 9, 18, 3

    To find the 2nd smallest number, I can use SMALL formula but this will only work if the numbers are in a range. How can I find the 2nd smallest, 3rd smallest number and so on if I am selecting the cell positions manually rather than keeping it in a range. In other words, I want to get the result like SMALL function but want to enter the formula like MIN function i.e. MIN(A1,B7,C3,D5,D9)
    Last edited by brajesh.sharma87; 07-16-2018 at 05:32 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Find 2nd smallest number without having the numbers in a range

    Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one and nobody wants to have to recreate your data from scratch.

    1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired results are also shown (mock up the results manually).

    3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).

    4. Try to avoid using merged cells as they cause lots of problems.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.

    Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,969

    Re: Find 2nd smallest number without having the numbers in a range

    Like this:

    =SMALL((A1,B4,C7,E5,E2),2)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  4. #4
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Find 2nd smallest number without having the numbers in a range

    Try

    =SMALL(CHOOSE(ROW(A1:A4),A1,B7,C3,D5,D9),2)

    Aray confirmed with Shift Ctrl Enter

    The row of the second range in the ROW() function should equal the number of cells selected.
    Last edited by jason.b75; 07-16-2018 at 04:35 AM. Reason: corrected misplaced parenthesis & add array confirm.

  5. #5
    Forum Expert
    Join Date
    06-08-2012
    Location
    Left the forum!
    MS-Off Ver
    Left the forum!
    Posts
    5,189

    Re: Find 2nd smallest number without having the numbers in a range

    Nice simple solution, Glenn.

    Didn't know you could pass non contiguous ranges to a single argument in that way.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,969

    Re: Find 2nd smallest number without having the numbers in a range

    TbH... neither did I until I googled it!!!

  7. #7
    Registered User
    Join Date
    02-28-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Find 2nd smallest number without having the numbers in a range

    Quote Originally Posted by Glenn Kennedy View Post
    Like this:

    =SMALL((A1,B4,C7,E5,E2),2)
    Omg, you are like, solved my 2 problems with one solution. Exactly how I wanted.
    I dont know if you can see, but I added reputation for your solution. Cheers.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,969

    Re: Find 2nd smallest number without having the numbers in a range

    You're welcome and thanks for the rep.

  9. #9
    Registered User
    Join Date
    02-28-2012
    Location
    Kolkata
    MS-Off Ver
    Excel 2007
    Posts
    35

    Re: Find 2nd smallest number without having the numbers in a range

    Quote Originally Posted by Glenn Kennedy View Post
    You're welcome and thanks for the rep.
    I want to use COUNTIF function the same way, is there anyway to do that. I couldn't find that on google.
    countif uses range and not array so I am not able to do it the same way.

  10. #10
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,288

    Re: Find 2nd smallest number without having the numbers in a range

    Start a new thread for the COUNTIF query, please.

+ 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. [SOLVED] Find next available smallest number in a range
    By Peter.M in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 02-16-2016, 06:09 AM
  2. Index Match to find smallest 6 numbers problem
    By minto in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-17-2015, 05:48 AM
  3. find the smallest number
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2015, 10:12 AM
  4. [SOLVED] find smallest Number in a col
    By bnwash in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-12-2013, 10:26 PM
  5. Find the smallest number in a range of cells that are separated by boarder
    By svetlich in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-08-2012, 03:58 AM
  6. Find 0 or smallest negative number from range
    By agg in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-26-2009, 11:42 AM
  7. [SOLVED] How to add the 10 smallest numbers out of a range of 20 numbers.-formula for this?
    By JPreeshl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-10-2005, 09:05 AM

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