You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Schedule Creation in Numbers

I'm trying to create a work schedule spreadsheet. I have two cells per work day, one with the start time, one with the end time. I have another cell that shows the hours worked. However, if a worker works over 5 hours, they have to take a half hour lunch. The scheduled hours show the additional half hour. Is it possible to subtract that half hour if the time scheduled is over 5 hours?

Posted on Aug 17, 2022 12:59 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 17, 2022 2:48 PM

if you enter times as durations... like this:

"3h 25m"


then you can add and subtract



you can then do tests to see if you need to subtract a break:

C1=sum(A1:B1)

this is shorthand for... select cell C1 by single clicking the cell, then

type, or copy and paste from here, the formula:

=sum(A1:B1)

then type the return key


D1=C1−IF(C1>DURATION(weeks,days,5,minutes,seconds,milliseconds), "30m", "0m")





3 replies
Question marked as Top-ranking reply

Aug 17, 2022 2:48 PM in response to HomeBeerBrewer

if you enter times as durations... like this:

"3h 25m"


then you can add and subtract



you can then do tests to see if you need to subtract a break:

C1=sum(A1:B1)

this is shorthand for... select cell C1 by single clicking the cell, then

type, or copy and paste from here, the formula:

=sum(A1:B1)

then type the return key


D1=C1−IF(C1>DURATION(weeks,days,5,minutes,seconds,milliseconds), "30m", "0m")





Schedule Creation in Numbers

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