+ Reply to Thread
Results 1 to 6 of 6

Conditional format. Date - Date<>deadline = red or green

Hybrid View

  1. #1
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,142

    Re: Conditional format. Date - Date<>deadline = red or green

    is that 2 working days ?
    or any 2 days

    as E2 should be later than C2 - then E2 - C2 , otherwise C2-E2 will give an errors as c2 is less than E2 and so you get minus dates - which excel wont like

    And( (E2-C2)<2 , E2<> "")
    =AND((E2-C2)<2,E2<>"")

    What happens if exactly 2 days ?

    =AND((E2-C2)>2,E2<>"")

    Also if you want to highlight the C column and the E column

    then you will need $ to fix the columns

    =AND(($E2-$C2)<2,$E2<>"")

    =AND(($E2-$C2)>2,$E2<>"")
    Attached Files Attached Files
    Last edited by etaf; 03-28-2023 at 05:07 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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 Red, Amber, Green, based on a target date
    By JimFiggs in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-30-2021, 04:47 PM
  2. Deadline date Conditional formatting.
    By CCook82 in forum Excel General
    Replies: 7
    Last Post: 06-29-2020, 11:56 PM
  3. [SOLVED] Conditional formatting to make a cell green if a date appears.
    By Mr.Bean in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 01-05-2018, 03:40 PM
  4. I'd like to make a deadline tracker that the date changes from green-amber-red
    By seancalleja in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-09-2015, 02:50 PM
  5. [SOLVED] Conditional Formatting- date with red, yellow or green
    By ldurham in forum Excel General
    Replies: 2
    Last Post: 02-03-2014, 07:38 AM
  6. Replies: 0
    Last Post: 04-10-2013, 10:07 AM
  7. Replies: 0
    Last Post: 04-10-2012, 11:56 AM

Tags for this Thread

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