I
Ian T
I have a table that holds employee data, working days &
roster off days.
The top row Starts at say C4 (with date 20/09/2004) & has
every day of the year along the worksheet, (C4 - C369.)
At any time in the year I will place a 1 in a cell when a
person is off or absent say F5, G5, H7 under cell F4, G4,
H4 = 1
What I want to do is lookup today's date i.e. =now () in
the top row & count the number of cells that contain data
i.e. a 1 in the bottom row up to the end cell bellow
C369.
For instance based on the above data 3 would be returned
if today's date is 20/09/04 & 2 if today's date is
24/09/04.
I can find the cell reference & index to the today field
but can't count the any empty fields.
Any one help pleeeeeeaase ????
roster off days.
The top row Starts at say C4 (with date 20/09/2004) & has
every day of the year along the worksheet, (C4 - C369.)
At any time in the year I will place a 1 in a cell when a
person is off or absent say F5, G5, H7 under cell F4, G4,
H4 = 1
What I want to do is lookup today's date i.e. =now () in
the top row & count the number of cells that contain data
i.e. a 1 in the bottom row up to the end cell bellow
C369.
For instance based on the above data 3 would be returned
if today's date is 20/09/04 & 2 if today's date is
24/09/04.
I can find the cell reference & index to the today field
but can't count the any empty fields.
Any one help pleeeeeeaase ????