+ Reply to Thread
Results 1 to 4 of 4

conditional formatting to identify expiration dates in a training log

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Longmont, CO
    MS-Off Ver
    Excel 2010
    Posts
    2

    conditional formatting to identify expiration dates in a training log

    I have been struggling with using conditional formatting in my training log to identify training that is either non-expired (green), expires in 30 days (yellow) and expired (red). Some of the training expires annually, others every three years and some does not expire. I've been able to turn cells one color or the other, but it doesn't apply correctly to various listed dates.

    If anyone can help, I'd greatly appreciate it. I've attached the spreadsheet to give you a better idea what I'm trying to do.

    Thank you.

    Julie M.Training Log DRAFT.xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    05-13-2010
    Location
    Belo Horizonte, Brazil
    MS-Off Ver
    Excel 2003; 2007
    Posts
    441

    Smile Re: conditional formatting to identify expiration dates in a training log

    Julie M. , Good evening.

    I used your example to implement the formulas to advise you about expiration of the trainings.
    I am not sure if I understood your rules well.

    What I did:
    a) If the cell where lives the date of training is EMPTY:
    ACTION: NOTHING IS DONE.

    b) If the cell where lives the date of training HAS a DATE
    AND
    If the cell where lives the validation number of days is EMPTY:
    ACTION: NOTHING IS DONE. (I suppose this training NEVER EXPIRES)

    c) If the cell where lives the date of training HAS a DATE
    AND
    If the cell where lives the validation number of days HAS A VALUE
    AND
    Todays´s date is SMALLER than FINAL DATE minus 30
    ACTION: Conditional Rule 1 (GREEN)
    =AND(H3>0,H$1>0,TODAY()<(H3+H$1)-30)

    d) If the cell where lives the date of training HAS a DATE
    AND
    If the cell where lives the validation number of days HAS A VALUE
    AND
    Todays´s date is GREATER than FINAL DATE minus 30
    AND
    Todays´s date is SMALLER than FINAL DATE
    ACTION: Conditional Rule 2 (YELLOW)
    =AND(H3>0,H$1>0,TODAY()>=(H3+H$1)-30,TODAY()<(H3+H$1))

    e) If the cell where lives the date of training HAS a DATE
    AND
    If the cell where lives the validation number of days HAS A VALUE
    AND
    Todays´s date is EQUAL or GREATER than FINAL DATE
    ACTION: Conditional Rule 3 (RED)
    =AND(H3>0,H$1>0,TODAY()>=(H3+H$1))

    I implemented these conditional formating rules on your cells.
    They are implemented from H trough EH columns and till line 503

    I hope it help you on your job.

    Take a look at attachment.
    Please, tell me if it worked for you.


    Best regards from Brazil!
    Attached Files Attached Files
    Last edited by Mazzaropi; 09-19-2013 at 09:29 PM. Reason: mistyped
    ...If my answer helped you, Please, click on. * Add Reputation (at left)

    Best regards.
    Marc?lio Lob?o

  3. #3
    Registered User
    Join Date
    08-13-2013
    Location
    Longmont, CO
    MS-Off Ver
    Excel 2010
    Posts
    2

    Thumbs up Re: conditional formatting to identify expiration dates in a training log

    Marcilio,

    Thank you so much for taking the time to show me the formulas needed for the spreadsheet. I'd looked at so many and didn't get any of them to work, but I'm very new at trying to utilize formulas.
    I will certainly be looking into some classes to improve my Excel knowledge.

    Yes, it works!

    Your help is amazing, thank you so much!

    Julie
    Last edited by [email protected]; 09-19-2013 at 10:13 PM. Reason: I forgot to say that their formulas worked.

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: conditional formatting to identify expiration dates in a training log

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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 on expiration dates.
    By xceldummie in forum Excel General
    Replies: 6
    Last Post: 11-12-2013, 01:13 AM
  2. [SOLVED] Expiration of dates in conditional formatting
    By Bakkertje in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-08-2013, 03:55 AM
  3. Conditional Formatting (Expiration Dates)
    By ConsbruckR in forum Excel General
    Replies: 7
    Last Post: 09-20-2011, 10:49 AM
  4. Conditional Formatting for Expiration Dates
    By knowledgeiskey in forum Excel General
    Replies: 5
    Last Post: 06-08-2011, 07:39 PM
  5. conditional formatting expiration dates
    By shanek in forum Excel General
    Replies: 2
    Last Post: 03-15-2010, 04:50 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