+ Reply to Thread
Results 1 to 4 of 4

Highlight data a cfertain color based on date

  1. #1
    Forum Contributor
    Join Date
    09-11-2014
    Location
    Eugene, Oregon
    MS-Off Ver
    MS EXCEL 2010
    Posts
    210

    Highlight data a cfertain color based on date

    a. Red: urgent action needed – call to follow up again. Days 7+.
    b. Yellow: action needed – call to follow up. Day 6&7.
    c. Green: no urgent action needed, yet. First 5 days.

    This is what I want to do More than 7 days highlight all cells red in that specific row, 6-7 days highlight that row in yellow, first five days row is green.

    There are two dates Current date in column A and given date in column G so if Column G had a date of 12/20/15 and column A said 12/29/2105 that that specific row would be highlighted in red. I assume conditional formatting will do the trick and I am guessing that I would format the cell other cells based on the original cells formatting but not sure of the formula I would use to get me there.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,759

    Re: Highlight data a cfertain color based on date

    setup three rules in conditional formatting

    are you comparing A2 to G2
    G2 = 12/20/15
    A2 = 12/29/15

    So A2 is greater than 7

    for 2007, 2010 or 2013 excel version
    Conditional Formatting

    Highlight applicable range >>

    Range you want to highlight - lets assume A2:Z1000


    Home Tab >> Styles >> Conditional Formatting
    New Rule >> Use a formula to determine which cells to format
    Edit the Rule Description: Format values where this formula is true:


    =$A2-$G2 > 7


    Format… [Number, Font, Border, Fill] RED
    choose the format you would like to apply when the condition is true
    OK >> OK

    The repeat for
    =$A2-$G2 > 5
    Yellow

    =$A2-$G2 > 0
    Green

    Now order them as shown and mark "stop if true"
    and that should do

    The $ is important and will highlight the row - depending on the range applied
    at the moment
    as you have selected in my example A:Z
    then row will highlight A to Z


    otherwise
    post a sample sheet
    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.

  3. #3
    Forum Contributor
    Join Date
    09-11-2014
    Location
    Eugene, Oregon
    MS-Off Ver
    MS EXCEL 2010
    Posts
    210

    Re: Highlight data a cfertain color based on date

    Thanks this worked perfect.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,759

    Re: Highlight data a cfertain color based on date

    your welcome , thanks for the rep

+ 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. [SOLVED] Copy and Insert Data based on Date and Color
    By L_Misty in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-15-2015, 12:06 PM
  2. Replies: 6
    Last Post: 10-23-2014, 04:48 PM
  3. highlight and calculate VBA based on color
    By cmccabe in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-16-2014, 11:34 AM
  4. [SOLVED] Highlight Data based on Date
    By rizmomin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-09-2014, 10:41 PM
  5. [SOLVED] Highlight row a certain color based on a character from a cell
    By ory182003 in forum Excel General
    Replies: 3
    Last Post: 05-11-2013, 06:15 PM
  6. auto-color / highlight based on a designated range
    By melitza in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-17-2008, 03:06 PM
  7. Sorting based on highlight color
    By ansayjen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-21-2008, 04:39 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