+ Reply to Thread
Results 1 to 8 of 8

Check If Numbers are between two Numbers and Over and Under Two Numbers

  1. #1
    Forum Contributor meyero90's Avatar
    Join Date
    03-24-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    202

    Check If Numbers are between two Numbers and Over and Under Two Numbers

    Hello,
    I have tried IF formulas to check if a Number is between two set numbers (upper/lower limits) and also check if it's over and under.
    The formula should return "GOOD" if number is between the upper/lower limit, and "OVER" if it's over the upper limit, and "UNDER" if it's under the lower limit.

    See attached my excel which only returns "GOOD" (unfortunately)
    Attached Files Attached Files
    If I helped, Don't forget to add to my reputation (click on the little scale)
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)

  2. #2
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Check If Numbers are between two Numbers and Over and Under Two Numbers

    Try this...
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    EDIT* Forgot the under part...working on it.
    1N73LL1G3NC3 15 7H3 4B1L17Y 70 4D4P7 70 CH4NG3 - 573PH3N H4WK1NG
    You don't have to add Rep if I have helped you out (but it would be nice), but please mark the thread as SOLVED if your issue is resolved.

    Tom

  3. #3
    Forum Contributor
    Join Date
    07-28-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    104

    Re: Check If Numbers are between two Numbers and Over and Under Two Numbers

    You need to use AND to check multiple conditions. See the updated spreadsheet.

  4. #4
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Check If Numbers are between two Numbers and Over and Under Two Numbers

    Try this one instead
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    meyero90-check-if-numbers-are-between-two-numbers-and-over-and-under-two-numbers-formula-check.xlsx

  5. #5
    Forum Contributor meyero90's Avatar
    Join Date
    03-24-2010
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    202

    Re: Check If Numbers are between two Numbers and Over and Under Two Numbers

    Thanks for this but how about showing the result "UNDER" if it's under the lower limit

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Check If Numbers are between two Numbers and Over and Under Two Numbers

    Try this
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Forum Expert gmr4evr1's Avatar
    Join Date
    11-24-2014
    Location
    Texas
    MS-Off Ver
    Office 2010 and 2007
    Posts
    3,448

    Re: Check If Numbers are between two Numbers and Over and Under Two Numbers

    Thanks for this but how about showing the result "UNDER" if it's under the lower limit
    The amended formula I put in post #4 should have done this, did it not?

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Check If Numbers are between two Numbers and Over and Under Two Numbers

    This is assuming B7 is in fact a larger number than B6.

    =IF(B2<B6,"Under",IF(B2>B7,"Over","Good"))

+ 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. Replies: 4
    Last Post: 12-17-2015, 12:33 AM
  2. Replies: 7
    Last Post: 02-27-2014, 10:56 PM
  3. [SOLVED] Convert all numbers stored as text or custom formatted to numbers &no decimals - 40 sheets
    By synses in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-19-2013, 01:46 AM
  4. Replies: 8
    Last Post: 11-01-2012, 07:49 PM
  5. Editing Social Security Numbers from current numbers to some with XXXX inserted.
    By davidingilbert in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-01-2012, 03:37 PM
  6. [SOLVED] How to merge a numbers from 3 cells, eliminate repetitive numbers, and sort such numbers?
    By david gonzalez in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 10-22-2012, 11:59 AM
  7. Replies: 12
    Last Post: 04-24-2011, 05:45 PM

Tags for this Thread

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