Hi You could try this
it records and breakdowns Hours by cell colour,
I've used the following Theme Colours (on my excel the are the right top 3 of the Theme colour Table)
Illness = Gold, Accent 4 (Colour Code 44)
No Show =Blue, Accent 5 (Colour Code 42)
Leave = Green Accent 6 (Colour code 50)
Normal rostered hours are No Fill (Colour Code 0)
In H4 create a Defined Named Range Called Color
In The Refers to: put the following Formula
in H4 put
then Copy
Now when you change the colour of the rostered cells the corresponding cell in the named range displays the cell colour code.
Now in M4 put the following formula
and copy M4 to Q18
Now in S4 put the following formula
and copy S4 to W18
Now in Y4 put the following formula
and copy Y4 to AC18
Now in AE4 put the following formula
and copy AE4 to AI18
When you change the Cell colour for any rostered hours then you must re-enter the text value again and press enter as Excel does not pick up cell changes by colour alone.
I'm sure that the Excel Gurus (who leave me way behind them) could come up with a much easier way of doing what you need.
hide any columns that you don't want to be shown
this is my best shot at it.
Bookmarks