I have created a table that includes the entry times and the departing times of bartenders. In that table I also want to have the amount of hours worked per day.
The issue is sometimes the shift of a bartender starts at 8pm and finishes at 2:30am, which is a different day, and the formula HOURSDIFFER won’t work.
I have created this formula IF({Start Time}>{End Time};{End Time}+24-{Start time};{End time}-{Start time})
It returns a correct result but it doesn’t take into account minutes.
For example, a bartender that has worked from 8pm to 2:30 am, the formula will return 7 hours instead of 6.5
How can I do that?
GCavin
(Gilles Cavin - Reinventing Formulas in monday.com)
2
Hi Pau,
Try
HOURS_DIFF({End Time},{Start Time})
Want to break free of the formula column and write calculation results to any type of column? Take a look at the Advanced Formula Booster.
The thing with HOURS_DIFF({End Time},{Start Time}) is that it returns an incorrect value when the End Time is on another day.
For example, the bartender starts working on Friday at 8pm and ends on Saturday at 2:30 am. She has worked 6 hours and a half, but the HOURS_DIFF formula returns a negative value.
GCavin
(Gilles Cavin - Reinventing Formulas in monday.com)
4
I think the solution without using a 3rd party app is to use the time tracking column.