+ Reply to Thread
Results 1 to 6 of 6

Conditional Formatting to Highlight Cells based on specific

  1. #1
    Registered User
    Join Date
    02-05-2021
    Location
    Laguna, Philippines
    MS-Off Ver
    MSO 365
    Posts
    12

    Conditional Formatting to Highlight Cells based on specific

    Hi. My report needs to automatically change every month. For example rows one and two should change color if 7th month of the year has already passed, then rows 3 and 4 should change color if the 8th month of the year has passed. I'd like to apply this using conditional formatting.

    Last year, I have used these formulas. 1111, 2222,3333 and 4444 are lesson code numbers.

    =AND($A$8=1111,MONTH(TODAY())>7)
    =AND($A$9=2222,MONTH(TODAY())>7)
    =AND($A$10=3333,MONTH(TODAY())>8)
    =AND($A$11=4444,MONTH(TODAY())>8)

    Thank you in advance.

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,796

    Re: Conditional Formatting to Highlight Cells based on specific

    a sample file show the data layout would help - see yellow banner
    your formulas have fixed the cells using $ so
    ONLY 1111 will be tested in cell A8

    if you want to apply to more cells then remove the $ before the row
    $A8

    what range does this apply to ? Assuming Column A

    Not sure why the rows are changing to 8,9,10,11 ONLY seen
    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.

  3. #3
    Registered User
    Join Date
    02-05-2021
    Location
    Laguna, Philippines
    MS-Off Ver
    MSO 365
    Posts
    12

    Re: Conditional Formatting to Highlight Cells based on specific

    Hi

    I have attached a file with the formatting I used previously. What I need the report to show is to highlight lessons not taken based on the schedule. M's are required lessons not
    completed yet. those with dates are completed required lessons.

    Every month, two lessons should be completed. Since it's March now, lessons that should have been completed before March of this year should be highlighted.

    Is there a way to make this automatic?

    Many thanks
    Jao
    Attached Files Attached Files

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,796

    Re: Conditional Formatting to Highlight Cells based on specific

    The schedule does not have real dates in ?
    Only text - Can the schedule have actual dates and then format as Months - or would that limit the use

    Lesson 1 and Lesson 2 should be completed by Oct - is that last year or this year ? Oct-20 or Oct-21

    M is mandatory in the Summary sheet - BUT how to see if P1 or P2 ?

    So you are really Only looking for RED to be automatic - Mandatory - M in cell in Summary - BUT priority 1 , not sure how to find that

    If we look at cell C10
    it has a M in , so mandatory
    Then looking up B10 for lesson number and also C6 for Rank
    Now thats "Lesson 2", "RANK 1"
    we can use that to do a grid lookup and see when the lesson for that rank is due on the Sched Sheet

    See Column N , where I have used that lookup
    Then compare TODAY () with that date and if PAST , assign Red FILL
    BUT you dont have dates in the schedule
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    02-05-2021
    Location
    Laguna, Philippines
    MS-Off Ver
    MSO 365
    Posts
    12

    Re: Conditional Formatting to Highlight Cells based on specific

    Hi

    Thank you for your prompt response.

    This is the end-of-month report to see if the crew is completing lessons based on the schedule. We actually don't have the Sched sheet on the report. I have included that just for reference. I can't use that sheet as a reference for the formula.

    The dates are actual dates. P1 are trainings that are past due dates (ex Lesson 1 and 2 should have been completed last Oct 2020). P2 are trainings that can be completed once P1 have been completed but should be completed before due month is over. like lessons that should be completed this March 2021.

    Oct, Nov and Dec are 2020. Jan onwards are 2021.

    Basically we want to see on every month's report, what the crew missed to complete (red). And cell with Ms in white are not yet due

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,796

    Re: Conditional Formatting to Highlight Cells based on specific

    We actually don't have the Sched sheet on the report. I have included that just for reference. I can't use that sheet as a reference for the formula.
    1) How does excel know when the lessons should be completed
    2) How does excel know which lessons are a P1 Lesson

+ 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 based on other cells highlight
    By WaveWalker116 in forum Excel General
    Replies: 3
    Last Post: 11-20-2020, 04:51 PM
  2. [SOLVED] Conditional Formatting: Highlight specific cell based on a date
    By Jacolene in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-09-2020, 08:21 AM
  3. [SOLVED] Conditional Formatting to Highlight specific Cells Annually
    By Bryan.Pagenkopf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-10-2018, 03:04 PM
  4. Replies: 3
    Last Post: 06-08-2017, 07:31 PM
  5. [SOLVED] Conditional Formatting based on partial/specific text to highlight entire row
    By bizdevdfw in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-18-2016, 04:32 PM
  6. Replies: 6
    Last Post: 06-04-2015, 05:15 AM
  7. Replies: 3
    Last Post: 02-26-2014, 12:10 AM

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