Howdy!
I'm doing a study for my job where I had people track how long it takes them to do certain tasks each day. I set up a macro to record a start and end time, and then put a cell on the worksheet they were using to subtract the start time from the end time. Here's an example since I can't share the actual worksheet:
Start Time End Time Total Time 10:31 am 10:37 am 06:00 10:55 am 11:05 am 10:00 11:07 am 11:15 am 08:00
So you can see, it's nothing too fancy. Because of the scope of the project, there are some people who had upwards of 1k+ lines of data to track. So!
What I did was make a formula that added up the times by task.
Here's an example:
Task Name Total Time Sweeping 01:51:01
So there's 1 hour, 51 minutes, and 1 second worth of task time after adding it all up. Then, I try to divide by the number of times the task was performed (40, in this instance), and that's when things get kooky.
The actual answer should be somewhere in the neighborhood of 2 minutes and change, but no matter what I try (formatting as [h]:mm, mm:ss, formatting as a number, formatting as [m]:ss, multiplying various items by 1440, dividing by 60, etc), I never get the right answer. I usually get 14:47, which is 12 minutes too high.
So the super short version of this question would be, how can I take a total sum of time ranges for tasks, then divide that sum by the number of times the tasks were performed to get the correct answer?
It's probably something comically easy that I'm missing, but 2 hours in and I'm ready to throw something. Any help would be appreciated!
Bookmarks