+ Reply to Thread
Results 1 to 2 of 2

IF, AND/OR, THEN Statement

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    6

    IF, AND/OR, THEN Statement

    Ok, so I have been going round and round with this... I have two statements that work perfectly fine by themselves. What I need to figure out, is how to have excel check against both of them, and then return a Statement depending on which one is valid:

    =IF(AND(J3=0,D3<TODAY()-45),"YES","NO")

    OR

    =IF(J3<TODAY()-45,"YES","NO")

    Can anyone help me with this??

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,375

    Re: IF, AND/OR, THEN Statement

    maybe like this?

    =IF(or(J3<TODAY()-45,AND(J3=0,D3<TODAY()-45)),"YES","NO")

+ 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