+ Reply to Thread
Results 1 to 3 of 3

Conditional Formatting Based on Today Function

  1. #1
    Registered User
    Join Date
    10-02-2007
    Location
    Buckinghamshire, England
    MS-Off Ver
    2013
    Posts
    61

    Conditional Formatting Based on Today Function

    Hello,

    I am posting today to find out if there is anyone here that may know how to create conditional formatting based on the TODAY() function. basically I want along ROW1 of my excel spreadsheet a list of dates, so for example A1 to A10 will be shown like this 01/01/2012, 02/01/2012, 03/01/2012 etc... Then on ROW2 within the same range it will have the formula =TEXT(cell above,"DDD").

    Now using conditional formatting when the date in ROW1 equals present day it will change the background colour of the cell to a different colour and in addition also change the colour of the cell below to the same colour. I've been trying this for a bit now and I can't get my head around it.

    I have also created an excel workbook that I have attached to this post.
    Last edited by Madball; 01-18-2012 at 10:37 AM.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Conditional Formatting Based on Today Function

    Hi,

    See attached.

    Incidentally did you realise that you could just format row 1 as "ddd" to show the three letter day?
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Registered User
    Join Date
    10-02-2007
    Location
    Buckinghamshire, England
    MS-Off Ver
    2013
    Posts
    61

    Re: Conditional Formatting Based on Today Function

    Perfect! Thank you very much, I can see where I went wrong. I had selected the area I want to format but also selected the entire area to change when the value is true rather than individual coloumns. Also thank you for the tip regarding changing the format of the date so I don't need to have two rows.

+ 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