+ Reply to Thread
Results 1 to 6 of 6

Change the color of a range of cells based on date versus todays date

  1. #1
    Registered User
    Join Date
    12-29-2014
    Location
    Cleveland Ohio
    MS-Off Ver
    Ms Office 2010
    Posts
    3

    Question Change the color of a range of cells based on date versus todays date

    Example:

    If B1 (random date) ages past thirty days (Today's date + 30 days) I want to change the entire row with the information to red/white

    Date cell is reading true instead of original date
    Last edited by Rocky Williams; 12-30-2014 at 03:57 PM.

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

    Re: Change the color of a range of cells based on date versus todays date

    for 2007 or 2010 excel version
    Conditional Formatting

    Highlight applicable range >>

    B1:B9


    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:


    =$B$9 > today()+30


    Format… [Number, Font, Border, Fill] Format to fill Red and Font colour white
    choose the format you would like to apply when the condition is true
    OK >> OK
    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
    Registered User
    Join Date
    12-29-2014
    Location
    Cleveland Ohio
    MS-Off Ver
    Ms Office 2010
    Posts
    3

    Re: Change the color of a range of cells based on date versus todays date

    How do I stop the date cell from reading TRUE and how do I make the applicable to the whole sheet?

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

    Re: Change the color of a range of cells based on date versus todays date

    you change the range to apply to the whole sheet - rather than B1:B9

    that will then highlight the whole row
    BUT
    Please upload a sample of your workbook to the forum, Make sure you have removed any private information, remember this is a public forum and so available to anyone
    Would like to see an example of your data and also a manual mock up of the expected results you want to achieve.

    To attach a file to your post,
    click "Go advanced" (next to quick post),
    scroll down until you see "manage Attachments",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.

  5. #5
    Registered User
    Join Date
    12-29-2014
    Location
    Cleveland Ohio
    MS-Off Ver
    Ms Office 2010
    Posts
    3

    Re: Change the color of a range of cells based on date versus todays date

    Sample is attached as requested.
    Attached Files Attached Files

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,732

    Re: Change the color of a range of cells based on date versus todays date

    use
    =AND($F4<TODAY()-30, $F4<>"")
    and apply to range

    A4:F1000 or however, many rows you need to apply to
    Attached Files Attached Files

+ 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] Change color of cells based on expiry date
    By DaGoose in forum Excel General
    Replies: 16
    Last Post: 03-07-2016, 03:10 PM
  2. Color Code Actual Date versus Due Date ( Red, Yellow, Green )
    By Bfisher74 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-28-2013, 10:10 AM
  3. Using VB to find a range based on todays date and todays date +30
    By Steve_al in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-13-2009, 09:31 AM
  4. Filling cells with 3 different colors based on date in cell and todays date
    By chinookcrew in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-23-2009, 07:36 AM
  5. Change row color if = to todays date
    By RunHard in forum Excel General
    Replies: 8
    Last Post: 11-05-2008, 10:25 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