+ Reply to Thread
Results 1 to 5 of 5

Conditional Formatting

  1. #1
    Registered User
    Join Date
    01-24-2016
    Location
    U.S. Georgia
    MS-Off Ver
    2013
    Posts
    2

    Exclamation Conditional Formatting

    Good afternoon all,

    I am using Excel 2013, I was tasked with tracking the employees training records in which I have created an excel worksheet.
    My problems are with each training has a different due month. Starting with 1/1/2016, I am working on the 4 training due for the month of Jan. The steps below are what I have done thus far, and unable to yield the desired results. If anyone can please share assistance, it will be greatly appreciated. tks

    Assuming we are starting on 1/1/2016

    a. Highlighted all the cells associated with Jan training for each employee: Cell ranges are C33-E33 & F32-R32

    b. Conditional formatting New Rule #1 (When the dates between 1/1/2016 to 1/31/2016 are entered in a cell it will automatically turn green) indicating the training is current
    b1. "Format only cells that contain" "Cell Value" "equal to" =TODAY()

    c. Conditional formatting New Rule #2 (All empty cells will automatically turn yellow 7 days before the end of the month on Jan 25) indicating a 7 day window to past due
    c1. "Format only cells that contain" "Cell Value" "between" =TODAY()-24 and =TODAY()+24

    d. Conditional formatting New Rule #3 (All empty cells will turn red on 2/1/2016) indicating that January Example of Worksheet.xlsxtraining is past due
    d1. Format only cells that contain" "Cell Value" "between" =TODAY()-32 and =TODAY()+32

    I have also played around with these formulas but none appears to be working

    Current: =AND(ISNUMBER($C33),$C33-TODAY()<=1)
    Approaching =AND(C33<>"",TODAY()-C33<7)
    Past Due =AND(C33<>"",TODAY()-C33>32)

    Any and all assistance rendered will be greatly appreciated. Thanking you in advance for your timely responses to my inquiries. Have a great day.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting

    Hi, welcome to the forum

    It would help a lot if you could upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.

    Apologies, I just saw your upload hidden in the text - looking at it now
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting

    OK, just looking, it appears as if you have the references out of sync. Your CF rule starts in column D, but the 2 formula rules reference column C. Try fixing that and see how you make out?

  4. #4
    Registered User
    Join Date
    01-24-2016
    Location
    U.S. Georgia
    MS-Off Ver
    2013
    Posts
    2

    Re: Conditional Formatting

    Hi FDibbins,

    Thank you and for your responses. I am slightly lost with your response, I do not see where the CF rule starts in column D, I have enclosed an additional attachment with how the worksheet should look.

    If any dates between 1/1/2016 0 1/31/2016 is entered, the cell will automatically turn green indicating the training is current for the desired month.

    On 1/25/2016 the unfilled cells should turn yellow indicating a 7 day window to expiration

    on 2/1/2016 the unfilled celled including the previous yellow ones will automatically turn red indicating the training the the previous month was not completed.

    Example Worksheet.jpg

    Please advise further. You help is greatly appreciated. tks.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,926

    Re: Conditional Formatting

    OK my bad, I must have had a senior moment. Let me take another look.

    I did see that your 1st rule...
    ="AND(ISNUMBER($C33),$C33-TODAY()<=1)"
    is wrapped in "" you need to remove those...
    =AND(ISNUMBER($C33),$C33-TODAY()<=1)

    edit: OK wasn't a senior moment, I copied the dates in column H to column C - the cells in column H did not have any CF
    Last edited by FDibbins; 01-24-2016 at 06:44 PM.

+ 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: 6
    Last Post: 01-08-2016, 06:44 PM
  2. Formatting Cells with Date or Text Values in a Conditional Formatting Formula
    By Phil Hageman in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-15-2014, 09:36 AM
  3. Opening xlsm files with conditional formatting opens with removed conditional formatting
    By Martijn.Steenbakker in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-07-2014, 05:38 AM
  4. Replies: 1
    Last Post: 09-20-2013, 06:23 PM
  5. Conditional Formatting via VBA: Change formatting in range based on value of each cell
    By ralphjmedia in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-12-2013, 10:37 AM
  6. 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
  7. Replies: 3
    Last Post: 05-15-2012, 04:13 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