+ Reply to Thread
Results 1 to 4 of 4

If statement or conditional formatting

  1. #1
    Forum Contributor
    Join Date
    09-21-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    449

    If statement or conditional formatting

    Hello All,

    I am in need of help coming up with either conditional formatting or a formula.

    Please see attached. Book5.xlsx

    In column C, I need it to return "Incomplete" if both columns A and B do not return a date greater than 01/00/1900. It should also return "Incomplete" if only one of the columns has a date.

    If both columns return a date greater than 1/00/1900, than it should return "Complete" in column C.

    Any help is much appreciated.

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: If statement or conditional formatting

    Hi,

    Try the following formula in C2:

    =IF(AND(A2>DATE(1900,1,0),B2>DATE(1900,1,0),A2<>"",B2<>""),"Complete","Incomplete")

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,065

    Re: If statement or conditional formatting

    Not looked at your file

    Try
    in C1
    =IF(LEN(A1)*LEN(B1)=0,"Incomplete","Complete")
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    09-21-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    449

    Re: If statement or conditional formatting

    Quote Originally Posted by cbatrody View Post
    Hi,

    Try the following formula in C2:

    =IF(AND(A2>DATE(1900,1,0),B2>DATE(1900,1,0),A2<>"",B2<>""),"Complete","Incomplete")
    This worked! Thanks!

+ 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. Using Conditional formatting and IF THEN Statement
    By Artimis07 in forum Excel Formulas & Functions
    Replies: 21
    Last Post: 07-17-2015, 05:58 PM
  2. [SOLVED] If statement in conditional formatting
    By kosherboy in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-31-2014, 01:12 PM
  3. Conditional formatting using AND with a NOT statement
    By monty2008 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-30-2014, 05:32 AM
  4. Conditional formatting with if statement
    By K120 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-25-2014, 02:39 PM
  5. IF Statement and Conditional Formatting
    By mfried7 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2012, 09:46 AM
  6. If statement w. Conditional formatting
    By althardt in forum Excel General
    Replies: 6
    Last Post: 09-01-2011, 01:19 PM
  7. IF statement using formatting criteria (NOT conditional formatting)
    By chelseasikoebs in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-07-2009, 01:57 AM

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