+ Reply to Thread
Results 1 to 5 of 5

IF (Between Value Range)

  1. #1
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    IF (Between Value Range)

    I'm sure this is a really simple query and that I'll have a real doh! moment after asking, but...

    In an IF statement, how do I state 'IF (value of cell between), then, else'.
    eg. IF (J3 [= value between 90 and 100], "Pass", "Fail")


    Thanks in advance.
    Last edited by NBVC; 11-24-2009 at 09:45 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF (Between Value Range)

    Given you don't specify all possible values perhaps simplest to revert to an AND based test, ie:

    =IF(AND(J3>=90,J3<=100),"Pass","Fail")

  3. #3
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    Re: IF (Between Value Range)

    Brilliant that worked, thanks for the super fast answer!

  4. #4
    Valued Forum Contributor tek9step's Avatar
    Join Date
    05-27-2009
    Location
    London, England
    MS-Off Ver
    MS 365
    Posts
    395

    Re: [SOLVED] IF (Between Value Range)

    Hi Janc

    Hope this simple working examples might help.

    regards

    tek9step
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    10-30-2009
    Location
    UK
    MS-Off Ver
    Excel 2003, 2007, 2010
    Posts
    60

    Re: IF (Between Value Range)

    Thanks Tek9step for the example

+ 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