Share via

Running total to a specific number, then start over again

Anonymous
2022-10-26T19:00:25+00:00

Hi! I am hoping someone can help :)

I am trying to get a running total for a duration, that part is easy enough, but I need the summing to stop when the total reaches the number 8, and then have it start counting again.

For context, I am working on a schedule, the schedule is broken down by how many hours each task takes ( most tasks are no longer than 2 hours) so I need to add up multiple items to see what will fit into working hours and then have the count start again so that I can figure out how many tasks will fit into each working day.

Microsoft 365 and Office | Excel | For business | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Kevin Jones 7,265 Reputation points Volunteer Moderator
2022-10-26T19:09:16+00:00

This formula will reset at 8 while carrying over the remaining hours:

=LET(Total,B1+A2,IF(Total>=8,Total-8,Total))

Kevin

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2022-10-26T19:24:36+00:00

    That is perfect! Thank you!!

    Was this answer helpful?

    0 comments No comments