Teladianium
New Member
- Joined
- Apr 10, 2012
- Messages
- 15
Hi all,
I am trying to build a calendar so I can change the year and get a new year. I have got the days of the month to work but I want to conditionally format the weekend days. I work where there are 2 weekends. Some operated Fri/Sat and the others Sat/Sun. so I need it to be dynamic. The snip below is showing my issue. I need the weekend to colour for the days of the month that are numbered and not for the days that are blank (Feb 29)
I am not too great with excel and relying on copy/pasting with modification to get stuff to work. so please bare with me.
The formula in the row for the dates is =IF(MONTH($A14)<>MONTH($A14-WEEKDAY($A14,1)+(COLUMN(AE14)-COLUMN($B14)+1)),"",$A14-WEEKDAY($A14,1)+(COLUMN(AE14)-COLUMN($B14)+1))
this is giving the desired effect allowing me to change the year and the months then reflect accordingly. so all the cells that need conditional formatting have formulas in them.
I have tried things like
ISFORMULA(AJ22>0)
ISFORMULA(AJ22=10) "Just to see if it returned something"
but to be honest I am just stabbing in the dark. Any help is really appreciated.
I am trying to build a calendar so I can change the year and get a new year. I have got the days of the month to work but I want to conditionally format the weekend days. I work where there are 2 weekends. Some operated Fri/Sat and the others Sat/Sun. so I need it to be dynamic. The snip below is showing my issue. I need the weekend to colour for the days of the month that are numbered and not for the days that are blank (Feb 29)
I am not too great with excel and relying on copy/pasting with modification to get stuff to work. so please bare with me.
The formula in the row for the dates is =IF(MONTH($A14)<>MONTH($A14-WEEKDAY($A14,1)+(COLUMN(AE14)-COLUMN($B14)+1)),"",$A14-WEEKDAY($A14,1)+(COLUMN(AE14)-COLUMN($B14)+1))
this is giving the desired effect allowing me to change the year and the months then reflect accordingly. so all the cells that need conditional formatting have formulas in them.
I have tried things like
ISFORMULA(AJ22>0)
ISFORMULA(AJ22=10) "Just to see if it returned something"
but to be honest I am just stabbing in the dark. Any help is really appreciated.