+ Reply to Thread
Results 1 to 5 of 5

Conditional formatting of one cell based on date range of another cell

  1. #1
    Registered User
    Join Date
    06-21-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    12

    Conditional formatting of one cell based on date range of another cell

    Hi,

    I am trying to format a cell based on the date of another cell.

    I hope the example shows what I am trying to achieve

    I want E6 to be yellow when today's date is 6 to 1 days in advance of the date shown in C6.
    When today's date is the same as C6 then E6 will be red which I have done.

    Thanks for your help
    Attached Files Attached Files
    Last edited by raggatip; 08-01-2010 at 03:57 PM. Reason: re editing attached file

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Conditional formatting of one cell based on date range of another cell

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    06-21-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Conditional formatting of one cell based on date range of another cell

    Thanks for your quick response protonleah. That doesn't seem to achieve what I want. I've re edited the attachment as there was a clear error within it which may have confused you.

    when C6 = today i.e. 01/08/10 I want E6 to be formatted red but in the 6 days leading up to 01/08/10 I want E6 to be formatted yellow. How is this achieved?

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Conditional formatting of one cell based on date range of another cell

    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-21-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: Conditional formatting of one cell based on date range of another cell

    Brilliant! Thanks very much for your help

+ 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