+ Reply to Thread
Results 1 to 4 of 4

Conditional formatting help

  1. #1
    Registered User
    Join Date
    08-18-2016
    Location
    coventry uk
    MS-Off Ver
    2010
    Posts
    2

    Conditional formatting help

    SOLVED. Hi all
    Hopefully somebody will be able to assist me with conditional formatting
    I am creating a spread sheet where I input a date that an accident form comes in cell, D3
    next to it I have a simple formula that adds 7 days, E3 this is the deadline date for return of the investigation form
    Is there a way to add a traffic icon or fill the cell with green for the first 3 days after D3 date, then turn to yellow from 3 days to 7 days, and finally to turn red after the 7 day deadline has passed
    Many thanks in advance for any assistance you can give me

    James ( aka Newbie )
    Last edited by davieja; 08-22-2016 at 01:51 AM.

  2. #2
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Conditional formatting help

    Hi -

    Just go to conditional formatting and add the following three separate rules using the "Use a formula to determine which cells to format" under the Select a Rule Type:

    =$E$3-TODAY()>=3 Set the format to Green fill

    Add another rule:

    =AND($E$3-TODAY()<4,$E$3-TODAY()>=0) Set the format to Yellow fill

    Add the final rule:

    =$E$3-TODAY()<0 Set the format to Red fill.

    Hope this helps!
    ____________________________________________
    If this has solved your problem, please edit the thread title to add the word [SOLVED] at the beginning. You can do this by
    -Go to the top of the first post
    -Select Thread Tools
    -Select Mark thread as Solved

    If I have been particularly helpful, please "bump" my reputation by pressing the small star in the lower left corner of my post.

  3. #3
    Registered User
    Join Date
    08-18-2016
    Location
    coventry uk
    MS-Off Ver
    2010
    Posts
    2

    Thumbs up Re: Conditional formatting help

    Hi There,
    Up and running
    Many thanks for your help

    KR
    James

  4. #4
    Valued Forum Contributor loginjmor's Avatar
    Join Date
    01-31-2013
    Location
    Cedar Rapids, Iowa
    MS-Off Ver
    Excel 2013
    Posts
    1,073

    Re: Conditional formatting help

    Great! Glad it worked! Please make sure to mark your thread as SOLVED per the instructions at the bottom of my post.

+ 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 Removing Previous Conditional Formatting?
    By CravingGod in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2016, 01:02 PM
  2. Replies: 6
    Last Post: 01-08-2016, 06:44 PM
  3. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  4. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  5. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  6. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  7. Replies: 3
    Last Post: 05-15-2012, 04:13 PM

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