+ Reply to Thread
Results 1 to 4 of 4

IF AND Statement Problem

  1. #1
    Registered User
    Join Date
    03-19-2013
    Location
    Woodbridge, Suffolk
    MS-Off Ver
    Excel 2010
    Posts
    9

    IF AND Statement Problem

    Morning Everyone

    Could someone help me with an "if and" formula.

    I want it to simple show "NO" if its out of the range I have set and "YES" if between.
    Here is my formula I have at the moment

    =IF(AND(C8>31104,C8<31604,"YES","NO"))

    Doesn't seam to like this.

    Regards

    Sean

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: IF AND Statement Problem

    You have wrong closing brackets:

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

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,726

    Re: IF AND Statement Problem

    You have a bracket in the wrong place - try it like this:

    =IF(AND(C8>31104,C8<31604),"YES","NO")

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    03-19-2013
    Location
    Woodbridge, Suffolk
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: IF AND Statement Problem

    Many thanks Pete and zbor.

+ 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