Forum Discussion
Combining multiple columns to add time together
- 2 years ago
ok, create a new column. and add this code
each Duration.FromText([Rate]) / #duration(0, 0, 1, 0))This converts the hours into minutes. Delete the Rate column. Highlight the date column, go to the Ribbion > Home > Group by Operation is Sum and choose the new minutes column to do the sum.
This will group all the minutes in to one day. You can then divide by 60 to get the hours worked.
Thanks
Joe
Should the result be 9:00 here?
- Justas44782 years agoPost Prodigy
JoeBarry If we dont look at it as different rates then yes result would be 09:00
Since 01:00 is overtime and still needs to be included in total time for the day.
- JoeBarry2 years agoSolution Sage
ok, create a new column. and add this code
each Duration.FromText([Rate]) / #duration(0, 0, 1, 0))This converts the hours into minutes. Delete the Rate column. Highlight the date column, go to the Ribbion > Home > Group by Operation is Sum and choose the new minutes column to do the sum.
This will group all the minutes in to one day. You can then divide by 60 to get the hours worked.
Thanks
Joe
- Justas44782 years agoPost Prodigy