+ Reply to Thread
Results 1 to 4 of 4

The MIN() function

  1. #1
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London
    MS-Off Ver
    Excel 2019
    Posts
    347

    The MIN() function

    Hi, I used the MIN() function to get the minimum value of a range. But I found even if the range has all missing values, the MIN() still produces a value of 0. This is not right for me.

    I tried to use IF and ISNUMBER() to resolve this problem:

    =MIN(IF(ISNUMBER(C1:C10),C1:C10,""))

    But this still produces a value of zero.

    How can I achieve this goal if a blank missing value is returned by MIN(), if the range has all these missing values?

    ---------- Post added at 01:58 PM ---------- Previous post was at 01:26 PM ----------

    Thanks in advance for help.
    Last edited by BNCOXUK; 07-24-2012 at 08:28 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: The MIN() function

    Does this work?

    =IF(COUNT(C1:C10)=0,"",MIN(C1:C10))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    06-18-2012
    Location
    London
    MS-Off Ver
    Excel 2019
    Posts
    347

    Re: The MIN() function

    It worked. Thanks.

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: The MIN() function

    @ BNCOXUK

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

+ 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