+ Reply to Thread
Results 1 to 17 of 17

Find Smallest Number without including blank cells

  1. #1
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Find Smallest Number without including blank cells

    I am trying to find the smallest number(including negative numbers and zero) but not including blank cells. I currently have
    =SMALL($AV11:$AV114,1) which lists the first smallest number. I also have =SMALL($AV11:$AV114,2) which lists the second smallest number.
    I have a few empty cells in (AV11:AV114)and it is not giving me a result. Any help would be appreciated. Thanks.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,878

    Re: Find Smallest Number without including blank cells

    Can you upload sample? SMALL function should ignore blank cells mixed in range, without any help.

    0.JPG
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find Smallest Number without including blank cells

    Try this ARRAY formula...
    =SMALL(if($AV11:$AV114<>"",$AV11:$AV114),1)
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find Smallest Number without including blank cells

    Quote Originally Posted by CK76 View Post
    Can you upload sample? SMALL function should ignore blank cells mixed in range, without any help.
    Good point.

    ssminnow, do the "blank" cells contain formulas?

  5. #5
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Find Smallest Number without including blank cells

    Yes, the blank cells contain formulas.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find Smallest Number without including blank cells

    OK, then my suggestion should work - the cells maybe blank, but they are not empty

  7. #7
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,878

    Re: Find Smallest Number without including blank cells

    Hmm, but SMALL does ignore formula generated blanks & texts. Only issue would be when range contains error values.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find Smallest Number without including blank cells

    Quote Originally Posted by CK76 View Post
    Hmm, but SMALL does ignore formula generated blanks & texts. Only issue would be when range contains error values.
    I must have left my brain in bed when I got up this morning - that is also true.

    I guess we really do need to see a sample of what you are working with, so we can see what the problem is

  9. #9
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Find Smallest Number without including blank cells

    Sorry to be so slow but how do you upload a sample on to this site.

  10. #10
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,878

    Re: Find Smallest Number without including blank cells

    I must have left my brain in bed when I got up this morning
    I know the feeling all too well I need 2 cups of coffee before I start functioning.

    To upload a file, use "Go Advanced" button found at bottom right of EDIT/Quick Reply screen. Then click on "Manage Attachments" hyperlink.
    It will launch new tab/window.

  11. #11
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Find Smallest Number without including blank cells

    Here is the attachment. I am looking to fix the formula in Q132, Q133, Q134
    Last edited by ssminnow; 06-27-2018 at 12:27 PM.

  12. #12
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Find Smallest Number without including blank cells

    Something is now quite right. Now I get a #Value Error.

  13. #13
    Registered User
    Join Date
    03-05-2013
    Location
    Richmond, VA
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Find Smallest Number without including blank cells

    I figured it out now. It is an array.

    Thanks for the help.

  14. #14
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,878

    Re: Find Smallest Number without including blank cells

    Ah, that's because you are not using blanks but 0 displayed as blanks in the workbook.

    Since, 0 is the lowest value in the column and also there are many more 0s... you get 0.

    As well, AV range has formula...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Instead, change to...
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Or alternately change formula for SMALL to...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  15. #15
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find Smallest Number without including blank cells

    Quote Originally Posted by ssminnow View Post
    Here is the attachment. I am looking to fix the formula in Q132, Q133, Q134
    Unless you deleted the attachment, it didnt come through?

  16. #16
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,878

    Re: Find Smallest Number without including blank cells

    Looks like he did delete it. Op had "Show a zero in cells that have zero value" unchecked in the sheet option.

  17. #17
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Find Smallest Number without including blank cells

    OK thanks

+ 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] Smallest number in group, excluding blank cells
    By ssminnow in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-16-2017, 03:06 PM
  2. find the smallest number
    By sanju2323 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 03-24-2015, 10:12 AM
  3. [SOLVED] Find the smallest number in a column that has some #N/A in it.
    By JimLau in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-22-2014, 11:02 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. [SOLVED] Average of last n number of cells NOT including blank cells
    By dsklein85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2013, 03:06 PM
  6. 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
  7. find the smallest number greater than Zero
    By carsto in forum Excel General
    Replies: 3
    Last Post: 10-06-2006, 04:25 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