Excel User Group
Microsoft Excel blogs, forums, files. Read, ask questions, provide answers.

highlight past date

Latest post Tue, Jan 25 2011 7:13 AM by Alan Hutchins. 8 replies.
  • Thu, Jun 10 2010 9:45 PM

    • Wendy
    • Top 100 Contributor
    • Joined on Fri, Jun 11 2010
    • Beaudesert QLD AUSTRALIA
    • Posts 8
    • Points 152

    highlight past date

    Hi all

    What i want to do is have a column of dates that are a few months away. But when we get past the dates entered i want those dates to automatically change to red to let me know that they are past due. Hope this makes sense.

    Wendy:)

    • Post Points: 21
  • Thu, Jun 10 2010 10:40 PM In reply to

    • Jim Cone
    • Top 10 Contributor
    • Joined on Tue, Jan 15 2008
    • Portland, Oregon - USA
    • Posts 233
    • Points 3,315

    Select the dates.
    Click Conditional Formatting on the Format menu.
    In the dialog box:  Cell Value Is    less than    =Today()
    Click the Format button and specify a format
    '--
    Jim Cone
    Portland, Oregon USA
    Special Sort add-in

    • Post Points: 21
  • Thu, Jun 10 2010 11:45 PM In reply to

    • Wendy
    • Top 100 Contributor
    • Joined on Fri, Jun 11 2010
    • Beaudesert QLD AUSTRALIA
    • Posts 8
    • Points 152

    Great thanks it works.

    Your a legendBig Smile

    • Post Points: 5
  • Mon, Jun 14 2010 9:03 PM In reply to

    • Wendy
    • Top 100 Contributor
    • Joined on Fri, Jun 11 2010
    • Beaudesert QLD AUSTRALIA
    • Posts 8
    • Points 152

    Hi Jim

    It worked but then i realised it would only work for one cell. I didn't explain myself properly sorry. What i have is a row of different dates. I need to colour code the dates when the date isn't close i would like it to be green, when its nearly time for that date, i would like it to be yellow. Then when we have passed the date i would like it to show up red. These dates are a few months away. And i need to see straight away which date is upcoming and which date i missed.

    • Post Points: 21
  • Mon, Jun 14 2010 10:36 PM In reply to

    • Jim Cone
    • Top 10 Contributor
    • Joined on Tue, Jan 15 2008
    • Portland, Oregon - USA
    • Posts 233
    • Points 3,315

    In the conditions formatting dialog box is an "Add" button.
    Enter a condition, press the Add button and repeat.
    You can create up to 3 conditions.
    And that seems to be what you are asking for...

    Cell Value Is   greater than   =Today()+10                            (green)
    Cell Value Is   between         =Today()  and   =Today()+10   (yellow)
    Cell Value Is   less than        =Today()                                   (red)

    Jim Cone
    Portland, Oregon USA
    My Excel Programs

     

    • Post Points: 21
  • Tue, Jun 15 2010 12:45 AM In reply to

    • Wendy
    • Top 100 Contributor
    • Joined on Fri, Jun 11 2010
    • Beaudesert QLD AUSTRALIA
    • Posts 8
    • Points 152

    Thanks it worked:)

    • Post Points: 21
  • Tue, Jun 15 2010 12:55 AM In reply to

    • Jim Cone
    • Top 10 Contributor
    • Joined on Tue, Jan 15 2008
    • Portland, Oregon - USA
    • Posts 233
    • Points 3,315

    Of course

    • Post Points: 21
  • Mon, Jan 24 2011 3:08 PM In reply to

    • dukdan1
    • Not Ranked
    • Joined on Mon, Jan 24 2011
    • Posts 1
    • Points 21

    Any idea on how to conditionally format a cell when the inputted date is greater than another date in Excel 2007?  I want to have the cell for the inputted date to highlight if greater than Jan 1, 2011.

    • Post Points: 21
  • Tue, Jan 25 2011 7:13 AM In reply to

    the date 1 jan 2011 equates to 40544, the check will be if the date entered is GT than the integer value of 1 Jan 2011.

    e.g if C4>40544,"XXX",""

    The date entered can stay in the date format, as it is held as a number within excel.

     

    • Post Points: 5
Page 1 of 1 (9 items) | RSS
Copyright Excel User Group and the relevant contributors, 2010. All Trade Marks acknowledged. This site is a peer-to-peer site and NOT affiliated in any way to Microsoft Corp. All rights reserved.