Team,
Working on a roster, to allow people to (a) specify a shift type and (b) record TOIL (time off in lieu) gained or taken in the same cell.
Basic layout for the roster is;
Name | 1Jan | 2Jan | etc
The "codes" for the shifts can be 1 or 2 characters i.e. "D" = dayshift, "CN" covering nightshift.
People can record TOIL by adding a number after the shift code i.e. D3 = earned/gained 3 hours of TOIL. "D-3" spent 3 hours of TOIL.
I can simply create a formula that (a) strips the numbers from the string (b) detect if a "-" is used and do this for all 31 days of the month, and then total all 31 cells.
But is there a way to sumtotal all 31 days using a single cell formula using arrays?
regards
Michael
Working on a roster, to allow people to (a) specify a shift type and (b) record TOIL (time off in lieu) gained or taken in the same cell.
Basic layout for the roster is;
Name | 1Jan | 2Jan | etc
The "codes" for the shifts can be 1 or 2 characters i.e. "D" = dayshift, "CN" covering nightshift.
People can record TOIL by adding a number after the shift code i.e. D3 = earned/gained 3 hours of TOIL. "D-3" spent 3 hours of TOIL.
I can simply create a formula that (a) strips the numbers from the string (b) detect if a "-" is used and do this for all 31 days of the month, and then total all 31 cells.
But is there a way to sumtotal all 31 days using a single cell formula using arrays?
regards
Michael