McM_
New Member
- Joined
- Oct 23, 2023
- Messages
- 23
- Office Version
- 365
- Platform
- Windows
Hi everyone
I come with a problem that I can't solve. I have to add up the hours worked by the employees every day.
Everyone's working days and the number of hours worked is variable, not being a work regime with a fixed schedule. As a result, I have to total the hours worked for that day, but also how many hours they worked up to that moment.
In column B I have hours worked that day and in column C total hours worked from the beginning to that moment, but I don't know which formula to apply
For example in the attached table:
Employee 1
on day 1 he worked 7 hours (total 7)......on day 2 he worked 6 hours but he also has a total of 13 (7+6) hours until day 2, on day 3 he worked 9 hours, so the total will be 21 (7+6+9) hours
Employee 2
on day 1 he worked 4 hours (total 4), on day 3 he worked 8 hours, with a total of 12 hours (4+8)...
.....
and so on for each employee for a month. We have a number of 135 employees, so I definitely need to optimize the table for these calculations.
Thank you for your help!
I come with a problem that I can't solve. I have to add up the hours worked by the employees every day.
Everyone's working days and the number of hours worked is variable, not being a work regime with a fixed schedule. As a result, I have to total the hours worked for that day, but also how many hours they worked up to that moment.
In column B I have hours worked that day and in column C total hours worked from the beginning to that moment, but I don't know which formula to apply
For example in the attached table:
Employee 1
on day 1 he worked 7 hours (total 7)......on day 2 he worked 6 hours but he also has a total of 13 (7+6) hours until day 2, on day 3 he worked 9 hours, so the total will be 21 (7+6+9) hours
Employee 2
on day 1 he worked 4 hours (total 4), on day 3 he worked 8 hours, with a total of 12 hours (4+8)...
.....
and so on for each employee for a month. We have a number of 135 employees, so I definitely need to optimize the table for these calculations.
Thank you for your help!
IN THIS COLUMN I NEED THE FORMULA | |||
hours worked | total hours/employee | day | |
Employee 1 | 7 | 7 | day 1 |
Employee 2 | 4 | 4 | day 1 |
Employee 1 | 6 | 13 (7+6) | day 2 |
Employee3 | 10 | 10 | day 2 |
Employee3 | 8 | 18 (10+8) | day 3 |
Employee 2 | 8 | 12 (4+8) | day 3 |
Employee 1 | 9 | 21(7+6+9) | day 3 |