+ Reply to Thread
Results 1 to 5 of 5

Conditional formating cells in a dynamic anual calendar

  1. #1
    Registered User
    Join Date
    09-04-2019
    Location
    Romania
    MS-Off Ver
    2010, 2013
    Posts
    8

    Conditional formating cells in a dynamic anual calendar

    hi all,


    i'm filling up the monthly sheets and the yearly calendar sheet is just an overview
    i'm trying to mach the colors in the annual calendar with the ones in the corresponding month sheet.
    the trickier part comes the moment you change year and the dates shift to the corresponding week days.

    jan 01 2019 was on a Tuesday
    jan 01 2020 - Wednesday
    jan 01 2021 - Friday


    edit
    i've managed to get the colors to do this but just for individual cells
    Attached Files Attached Files
    Last edited by Konta; 09-24-2019 at 12:24 PM.

  2. #2
    Registered User
    Join Date
    09-04-2019
    Location
    Romania
    MS-Off Ver
    2010, 2013
    Posts
    8

    Re: Conditional formating cells in a dynamic anual calendar

    nobody has any ideeas???

  3. #3
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,556

    Re: Conditional formating cells in a dynamic anual calendar

    Try the following:
    For Green: =INDEX(JANUARY!$H3:$H33,MATCH(B6,JANUARY!$A3:$A33,0))>=2/24
    For Yellow: =AND(INDEX(JANUARY!$H3:$H33,MATCH(B6,JANUARY!$A3:$A33,0))>0,INDEX(JANUARY!$H3:$H33,MATCH(B6,JANUARY!$A3:$A33,0))<2/24)
    For Red: B6<>""
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  4. #4
    Registered User
    Join Date
    09-04-2019
    Location
    Romania
    MS-Off Ver
    2010, 2013
    Posts
    8

    Re: Conditional formating cells in a dynamic anual calendar

    thank you for your reply and help.
    this 3 conditions must be replicated for each month i believe.

    i found a more complicated solution, if anyone is interested, by creating an auxiliary table and used the mach function.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,556

    Re: Conditional formating cells in a dynamic anual calendar

    Glad that you got a solution. Please take a moment to mark the thread as 'Solved' using the thread tools menu above your first post. I hope that you have a blessed day.

+ 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. VBA dynamic conditional formating
    By Kramxel in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 07-03-2015, 09:01 PM
  2. Replies: 4
    Last Post: 01-23-2014, 10:14 AM
  3. Conditional Formatting Dynamic Calendar
    By soubriquet in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2013, 01:56 AM
  4. Dynamic Column Lookup, find the last row, apply conditional formating
    By ronaldj31 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-16-2013, 04:18 AM
  5. Replies: 4
    Last Post: 06-14-2009, 03:10 AM
  6. Replies: 6
    Last Post: 08-14-2006, 05:00 PM
  7. conditional formating cells i Excel based on other cells values
    By Elias Petursson in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-23-2006, 01: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