+ Reply to Thread
Results 1 to 2 of 2

change a rows colour if the todays date is 1 month from the dates in the fields

  1. #1
    Registered User
    Join Date
    09-17-2013
    Location
    United Kingdom
    MS-Off Ver
    Excel 2011
    Posts
    1

    change a rows colour if the todays date is 1 month from the dates in the fields

    Hey all first time posting so hope I can get the help I need!

    I have a spreadsheet which has multiple data columns.
    One of them is a date of when that person passed their test.

    I need the rows the change colour from green to red when the date they passed is 30 days away from coming again.
    If that makes scene

    e.g.
    John Smith|23.09.02

    (so when the date today is 23.08.03. the cell will change colour from green to red)

    Please tell me someone knows how to do this!
    I have a cell already in with =(TODAY) so will get the date of the PC every time it starts

    Thank you guys! Andrew

  2. #2
    Valued Forum Contributor
    Join Date
    03-29-2013
    Location
    United Kingdom
    MS-Off Ver
    Office/Excel 2013
    Posts
    1,749

    Re: change a rows colour if the todays date is 1 month from the dates in the fields

    Conditional formatting..
    Assuming your data table runs from A6 down and the qualification dates are in column B

    1. Select all the cells in the data table
    2. Shade all cells green
    3. Select conditional formatting
    4. Select New Rule
    5. Select "Use a formula to determine which cells to format
    6. Apply the formula below to the formula box
    =TODAY()-((DAY($B6)&"/"&MONTH($B6)&"/"&YEAR(TODAY()))-30)<=30
    7. Set the format to shade the cell interior to red
    Elegant Simplicity............. Not Always

+ 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] using formula to change date a month on and saving dates
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-02-2013, 05:02 PM
  2. changing colour of cell if todays date equals the first day of the month
    By ConfusedaboutVBA in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-24-2013, 08:03 PM
  3. [SOLVED] colour tabs by todays date
    By nnguys in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-20-2012, 11:06 AM
  4. Replies: 3
    Last Post: 05-17-2011, 09:44 AM
  5. Colour a whole line on todays date
    By djfatboyfats in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-16-2008, 07:18 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