fireman1417
New Member
- Joined
- Aug 30, 2016
- Messages
- 3
I'm trying to write a formula that displays the consecutive number of days an employee has worked, then start counting again after a blank cell occurs in the row of data. Our employees are required to take a fatigue day after working 13 consecutive days.
My data would be the employees down the first column, number of days worked consecutively in next column, then columns for each day, and simply put a 1 if they are present and blank if not present on that day.
So, if for Employee X, worked a range of days, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (total of 13) he would have to take off the next day, then the formula would begin counting at 1 after the blank day. If he returned after a day off and has worked 4 more consecutive days 1, 1, 1, 1 my total would show 4 for this employee
My data would be the employees down the first column, number of days worked consecutively in next column, then columns for each day, and simply put a 1 if they are present and blank if not present on that day.
So, if for Employee X, worked a range of days, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 (total of 13) he would have to take off the next day, then the formula would begin counting at 1 after the blank day. If he returned after a day off and has worked 4 more consecutive days 1, 1, 1, 1 my total would show 4 for this employee