+ Reply to Thread
Results 1 to 4 of 4

Conditional Formatting Dynamic Calendar

  1. #1
    Registered User
    Join Date
    06-24-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Conditional Formatting Dynamic Calendar

    So I've set up a continuous calendar using the famous array formula :

    =IF(MONTH(DATE(YEAR(B2),MONTH(B2),1))<>MONTH(DATE(YEAR(B2),MONTH(B2),1)-(WEEKDAY(DATE(YEAR(B2),MONTH(B2),1))-1)+{0;1;2;3;4;5}*7+{1,2,3,4,5,6,7}-1),"",DATE(YEAR(B2),MONTH(B2),1)-(WEEKDAY(DATE(YEAR(B2),MONTH(B2),1))-1)+{0;1;2;3;4;5}*7+{1,2,3,4,5,6,7}-1)

    I'm now trying to use conditional formatting within that array to highlight certain dates, such as the last and second last friday of the month. I have the formulas on their own, which work, but when I apply them through conditional formatting, I get some wonky results. I'm sort of new to conditional formatting, so any help is much appreciated.

  2. #2
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: Conditional Formatting Dynamic Calendar

    cab you pls upload the sample file u have been working?
    Please make the Post as solved, when you get your answer & Click * if you like my suggestion

  3. #3
    Registered User
    Join Date
    06-24-2013
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Conditional Formatting Dynamic Calendar

    Uploaded! Thanks for the reply.

    I've managed to sort out the conditional formatting. Problem now is I need to find a way to calculate backward from the end of the month to find the third last friday! Any help would be appreciated.
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    08-02-2012
    Location
    Pune
    MS-Off Ver
    Office 365 (Win 10)
    Posts
    489

    Re: Conditional Formatting Dynamic Calendar

    I think you can get that from here
    If not, pls inform us

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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