How to calculate hours worked with varying percentage rates in a timesheet?

Hi guys, hope I can find some help with my numbers struggle.

Trying to create a timesheet for work.

end time minus begin time minus break is what leaves me with the hours worked in a day.

But now this.... some hours get rewarded with a higher percentage in rate.

So for instance: working from 7PM (or 19:00 hrs) to midnight wil get rewarded with 150%.


So what I would like to achieve is, typing in "desired percentage (100 - 150%), begin time, end time and break and that should give the total hours of that day.





[Re-Titled by Moderator]

MacBook Pro 14″, macOS 15.3

Posted on Mar 5, 2025 2:30 PM

Reply
3 replies

Mar 6, 2025 11:56 AM in response to KSneedshelp

There are lots of gotchas here that need to be clarified.


For one, are the time windows and percentages always the same? i.e. 00:00-09:00 = 150%; 09:00-17:00 = 100%, 17:00-00:00 = 150%?


Are you looking for the spreadsheet to calculate how many hours fall into each of those categories? Or are you relying on the individual/manager to fill regular hours vs. higher hours on different rows? (i.e. if someone worked 12:00-20:00, do you want the spreadsheet to calculate 5 hours @ 100% + 3 hours at 150%?, or would these be entered separately?)


Does any given shift start, end, or cross midnight? (date/time calculations can get really gnarly when this happens)


Do you already have the shift duration calculations working in the above sheet? or were those numbers entered manually?


Finally, are you sure this is how you want to present the timesheet?

At the very least, it may be confusing (either to the individual or to an auditor) to see someone work 12 hours a day (8 hours @ 150%). It may even be illegal in some places/professions.

It may be clearer to sum 'regular hours' and 'extended hours' separately rather than just multiply out the extended hours. In the above example, this individual's timesheet would report 6h 38m worked, which is not true - that may be what they're getting paid for, but that's not the same as hours worked.


That said, the initial ask is pretty easy - assuming you put either 100% or 150% in the % column, just multiply the Total Hours cell by the % cell:


=(H12-G12-I12)*F12


You can make it a little neater by assuming 100% unless there's something else in the % column:


(H12−G12−I312)×IF(ISBLANK(F12),1,F12)


Now if the % column is blank, it assumes 1 (or 100%), otherwise it multiplies by the percentage in that cell.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to calculate hours worked with varying percentage rates in a timesheet?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.