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.
Bookmarks