+ Reply to Thread
Results 1 to 3 of 3

IF statement between two values

  1. #1
    Registered User
    Join Date
    09-28-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    6

    IF statement between two values

    Hi

    I'm trying to get an IF statement that will give me a YES/NO result for a cell being between two values.

    e.g. =IF(A1 is less than X but greater than Y say YES if not NO)

    I can get the first part to work but not the second!

  2. #2
    Valued Forum Contributor quekbc's Avatar
    Join Date
    01-18-2010
    Location
    Sydney, Australia
    MS-Off Ver
    2010, 2013, 2016
    Posts
    1,149

    Re: IF statement between two values

    Hi Ozrik,

    What you need is to use the AND function. Refer below for an example.

    Please Login or Register  to view this content.
    Hope this helps.

  3. #3
    Registered User
    Join Date
    09-28-2011
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: IF statement between two values

    Quote Originally Posted by quekbc View Post
    Hi Ozrik,

    What you need is to use the AND function. Refer below for an example.

    Please Login or Register  to view this content.
    Hope this helps.
    That works perfectly for what I need, thank you very much.

+ 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