+ Reply to Thread
Results 1 to 8 of 8

conditional formatting help

Hybrid View

  1. #1
    Registered User
    Join Date
    12-12-2013
    Location
    WASHINGTON
    MS-Off Ver
    Excel 2010
    Posts
    3

    conditional formatting help

    working on a sheet that tracks certification for people, and want the date of the last cert to turn red when it is 1 year old or older. any ideas?

    using excel 2010

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887

    Re: conditional formatting help

    Select the range of cells you want to format, for example E2:E20. Click Conditional Formatting > New Rule > Use a formula to determine...

    Set the formula to:

    =E2<TODAY()-365

    Click Format... and set the Fill color to Red. Click OK twice.

  3. #3
    Registered User
    Join Date
    12-12-2013
    Location
    WASHINGTON
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: conditional formatting help

    I have tried this, and a few other options, but it keeps highlighting the ones that are current as well.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,122

    Re: conditional formatting help

    you could use a formula
    =cell with date < TODAY()-365

    for 2007 or 2010 excel version
    Conditional Formatting

    Highlight applicable range >>

    the range of cells you want to format


    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:


    =cell with date < TODAY()-365


    see attached
    Format… [Number, Font, Border, Fill]
    OK >> OK
    Attached Files Attached Files
    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.

  5. #5
    Registered User
    Join Date
    12-12-2013
    Location
    WASHINGTON
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: conditional formatting help

    Quote Originally Posted by etaf View Post
    you could use a formula
    =cell with date < TODAY()-365

    for 2007 or 2010 excel version
    Conditional Formatting

    Highlight applicable range >>

    the range of cells you want to format


    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:


    =cell with date < TODAY()-365


    see attached
    Format… [Number, Font, Border, Fill]
    OK >> OK
    This did the trick! i just copy pasted your formula into my spreadsheet. Maybe the problem just existed between my hands and the keyboard. Thanks!

  6. #6
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,993

    Re: conditional formatting help

    Welcome to the Forum DOCSLICE!

    Not hard to do but the specific formula depends on how your data is organized. If you have each person in a row with their names in column A, and there is a different certification date in each column with the type of certification in row 1, then your dates start in B2. You will set up conditional formatting in the range B2:X9 where X is the last column and 9 is the last row. You will use a formula to decide which cells to format, and the formula will look like this:

    Formula: copy to clipboard
    =AND(B2=MAX(2:2),B2<DATE(YEAR(TODAY())-1,MONTH(TODAY()),DAY(TODAY())))


    It will be much easier to understand your problem if you provide your file. This allows us to see your data, layout, and possibly attach a file with a completed solution.

    To post a file:
    1. Under the text box where you type your reply click the Go Advanced button.
    2. In the next screen look above the reply box and click the "paper clip" icon. You will get a pop-up screen.
    3. In the pop-up, click Add then Select to select a file from your local drive
    4. Click the Upload button to upload the file
    5. Click Done to attach it.

    It will be displayed as an attachment underneath your post text. Alternatively as the last step you can click the Insert Inline button and a hyperlink to the file will be inserted directly into your post text in the spot where your cursor is set at the moment you click the button.
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,993

    Re: conditional formatting help

    Note: posts above mine turn all dates to red if they are over a year old, mine does only the latest one, which is how I read the OP.

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,122

    Re: conditional formatting help

    your welcome

    if my assistance has helped, and only if you wish to , there is a reputation icon * 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.

+ 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. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  2. Replies: 2
    Last Post: 09-19-2013, 10:34 AM
  3. Delete Conditional Formatting conditions but keep cell formatting - Excel 2010
    By tetreama in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-09-2012, 08:28 PM
  4. Replies: 3
    Last Post: 05-15-2012, 04:13 PM
  5. Replies: 2
    Last Post: 11-02-2007, 12:03 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