I have a calendar like rows - fully static - and the days are simple numbers (not dates).
[
A also have a list of holidays (Name | Date).
I want to conditionally formmating the days based on the match from the holiday list with the following formula (I10 being 1 - from Jan 1)
=ISNUMBER(MATCH(DATE(_year,month,I$10),HolidayListNamedRange,0))
but the issue is that I depend on the month.
Is there a way to determine the month from the day itself (which is a number) and somehow use the row above which is a merged, containing month name? e.g: get cell address for 6, minus -1 to get to the row above and somehow identify the merged cell and get the value.
Hope makes sense! Thanks!

