+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting issue

  1. #1
    Registered User
    Join Date
    01-21-2019
    Location
    Belgium - Antwerp
    MS-Off Ver
    2016
    Posts
    2

    Conditional formatting issue

    Hello All,

    I am looking for a formula that can help me out with the following conditional formatting:
    In my excel sheet I have 3 dates wich should determine the color of a cell.

    Cell G3 on sheet 1 needs to change color in following cases:
    1. date in F3 is older the date today in B1 AND G3 is empty → RED
    2. date in G3 is higer than F3 → ORANGE → this seems easy // =IF(G3>F3;TRUE;FALSE)

    For the second one I think I have found it but for the first on I thought this was :
    =IF(AND(ISBLANK(G3);F3>$B$1$);TRUE;FALSE)
    However it doesn't work because there is a formula in cell G3 so it is never empty ...

    Can anybody point me in the right direction?

    Thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,444

    Re: Conditional formatting issue

    What do you mean by "date in F3 is older the date today " ?
    The fact that there is a formula in a cell makes no difference
    The IF is implicit in CF

    Amai men aaarme !

  3. #3
    Registered User
    Join Date
    01-21-2019
    Location
    Belgium - Antwerp
    MS-Off Ver
    2016
    Posts
    2

    Re: Conditional formatting issue

    Pepe Le Mokko

    with that I mean for example
    forecast date = 18/01/2019 and Actual date = 20/01/2019

    international site and a reply from around the corner :-)

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,521

    Re: Conditional formatting issue

    Try this: =AND(G3=0;F3>$B$1)
    As Pepe states, the IF...TRUE;FALSE isn't necessary because the statement will evaluate to either true or false on its own.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Conditional Formatting Issue
    By ANSAMOIZ in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-29-2017, 06:28 AM
  2. Conditional Formatting Issue
    By ANSAMOIZ in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-29-2017, 04:22 AM
  3. Conditional Formatting Issue
    By ehizzlefosho in forum Excel General
    Replies: 3
    Last Post: 05-12-2016, 11:32 AM
  4. Custom formatting issue using conditional formatting
    By wrongway15 in forum Excel General
    Replies: 2
    Last Post: 07-13-2014, 03:18 PM
  5. Conditional Formatting Issue
    By Dinho05 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-08-2013, 04:38 PM
  6. Conditional Formatting Issue
    By bumperbg in forum Excel General
    Replies: 0
    Last Post: 07-06-2011, 04:19 AM
  7. conditional formatting issue
    By associates in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-22-2006, 03:45 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