+ Reply to Thread
Results 1 to 5 of 5

MIN function ignoring values less then a certain number

  1. #1
    Registered User
    Join Date
    01-04-2014
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2010
    Posts
    55

    Question MIN function ignoring values less then a certain number

    Say I have an array with 56, 62, 68, 54, 49, 23, 58, 65, 27, 60

    I want to find the MIN value but not include any of the values less than 30.



    I've tried common ctrl shift enter array formula of

    =MIN(IF(A1:B5>30,A1:B5))

    but this results in 30, i.e. always the value set in the formula. So in the above question, the answer I want is 49.

    Help please, thanks.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: MIN function ignoring values less then a certain number

    Not sure what you are doing wrong but your formula should work. See attached.
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    2016
    Posts
    2,760

    Re: MIN function ignoring values less then a certain number

    Control + Shift + Enter works for me also.
    Last edited by skywriter; 03-02-2015 at 03:56 PM.
    Click the * Add Reputation button in the lower left hand corner of this post to say thanks.

    Don't forget to mark this thread SOLVED by going to the "Thread Tools" drop down list above your first post and choosing solved.

  4. #4
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: MIN function ignoring values less then a certain number

    That formula should work. Under the formulas tab there is an Evaluate Formula button, that may help you find the problem. Or just post a workbook with sample data.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  5. #5
    Registered User
    Join Date
    01-04-2014
    Location
    Wisconsin, USA
    MS-Off Ver
    Excel 2010
    Posts
    55

    Re: MIN function ignoring values less then a certain number

    LOL. Solution so simple yet hard to grasp. (least for me it was)

    Turns out that formula does indeed work like everyone is stating.

    Problem was that every single number exact I pick to put in the formula actually exists within the data base array! The array consists of around 1 million numbers.

    Sometimes it takes a little bit of a wake up call to realize what is happening.

    Thanks all.
    Last edited by Destroy; 03-02-2015 at 04:18 PM.

+ 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] Rank function ignoring zero and negative values
    By mfortier3 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-12-2013, 05:37 PM
  2. [SOLVED] Conditional formatting multiple number values but IGNORING text.
    By Dazmeister in forum Excel General
    Replies: 14
    Last Post: 09-06-2013, 09:02 AM
  3. Replies: 12
    Last Post: 09-04-2013, 03:55 PM
  4. Ignoring Negative Values in SUM function
    By Rocksteady in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 03-30-2013, 11:18 AM
  5. VBA: Help on Ignoring error values / Err.number
    By vidyuthrajesh in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-19-2012, 11:52 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