+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting for Expiration Dates

Hybrid View

knowledgeiskey Conditional Formatting for... 05-18-2010, 10:37 AM
Richard Buttrey Re: Conditional Formatting... 05-18-2010, 11:09 AM
squiggler47 Re: Conditional Formatting... 05-18-2010, 11:13 AM
knowledgeiskey Re: Conditional Formatting... 05-21-2010, 05:09 PM
JosephineAppleby Re: Conditional Formatting... 06-08-2011, 03:03 PM
Richard Buttrey Re: Conditional Formatting... 06-08-2011, 07:39 PM
  1. #1
    Registered User
    Join Date
    05-17-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    4

    Question Conditional Formatting for Expiration Dates

    Hello I am fairly new to Excel 2007 conditional formatting.

    I have a Health and Safety database with dates of certification. Some of these certifications expire 1 year after completion, and some expire 3 years after completion.

    What I would like to do is place conditional formatting in them to change the font to orange when they are to expire in 45 days. And then to change to red when they expire.

    So this is what i had in the conditional formatting field, for the 1 year certifications:

    =Today()-320, and i had the font color format as orange
    and
    =Today()-365, and the font color format as red.


    but it doesn't seem to be working, I don't know which of these need to be "on top" and which needs to be on bottom? or if these are even the right codes to get me where i need to be. Please help! thank you!


    I have attached my "test" file. I really appreciate it. oh btw I deleted my formatting, as it was a mess .
    Attached Files Attached Files
    Last edited by knowledgeiskey; 05-21-2010 at 05:07 PM.

  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 for Expiration Dates in Excel 2007

    Hi,

    I've added an additional row 1 where you can indicate whether these are 1 or 3 year courses.

    I've put the conditional formats in C8 as an example. You just need to copy them to your other cells.

    Incidentally I noticed that you are using the Cond formats to also create pyjama stripe 'paper'. Don't forget that the new Tables functionality that was introduced in Excel 2007 allows you to do this by setting 'themes' to ranges of data.

    HTH
    Attached Files Attached Files
    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
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Conditional Formatting for Expiration Dates in Excel 2007

    try

    =IF(C2="",FALSE,((TODAY()-C2)>=320))

    where the 320 is (365-DaysBefore) or in the case of years (365*Years)
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  4. #4
    Registered User
    Join Date
    05-17-2010
    Location
    Albuquerque, NM
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Conditional Formatting for Expiration Dates in Excel 2007

    Thank you so much Richard! that worked like a charm! I forgot to post and tell you the other day . and Robert thank you for your input as well I never had a chance to check if your option worked because Richard took care of it for me. but thank you for your assistance as well. I hope both of you have a great weekend.

  5. #5
    Registered User
    Join Date
    06-08-2011
    Location
    St. John's, Newfoundland
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Conditional Formatting for Expiration Dates

    Hello,

    I have a training matrix done on Excel and I am having trouble adding expiry dates. I want it to make the box turn yellow when the employees training has 30 days until expiry and then once its expired turn red.

    Any help would be grealy appreciated!


    Thanks

  6. #6
    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 for Expiration Dates

    Your post does not comply with Rule 2 of our Forum RULES. Don't post a question in the thread of another member -- start your own thread. If you feel it's particularly relevant, provide a link to the other thread.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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