+ Reply to Thread
Results 1 to 2 of 2

Conditional Formatting (or a formula) For Dates Comparing to the Current Date

  1. #1
    Registered User
    Join Date
    07-15-2013
    Location
    MN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Conditional Formatting (or a formula) For Dates Comparing to the Current Date

    I have a group of dates that I need highlighted if they occur before todays date. (I.e. for today 8/1/13 would be highlighted, but not 8/9/13).
    An alternative solution would be a column next to the date column that says if the the date is "Up to date" - Yes if date is after current date, and No if date is before current date.

    Thank you.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Conditional Formatting (or a formula) For Dates Comparing to the Current Date

    Select the column and go to Home|Conditional Formatting|New Rule, then select "Use a formula to determine which cells to format"

    then enter formula:

    =AND(A1>0,A1<TODAY())

    where it is assumed you selected column A, starting at A1.

    then click Format and choose from Fill tab.

    You can use similar formula in B1, if desired instead.


    =IF(AND(A1>0,A1<TODAY()),"No","Yes")
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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] Conditional Formatting or formula for comparing dates
    By sweetds in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2013, 10:34 AM
  2. Conditional Formatting on another cells date value to the current cell date
    By jennys83 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-28-2012, 12:55 PM
  3. Conditional formatting if date is not current
    By mvassallo in forum Excel General
    Replies: 2
    Last Post: 02-07-2011, 12:19 PM
  4. VBA for comparing dates within conditional formatting?
    By HelenW in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-10-2008, 09:33 AM
  5. [SOLVED] conditional format by comparing to current date
    By Kitfox in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-09-2005, 01:10 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