• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 446
  • Last Modified:

Excel time calculations that cross the midnight hour

Please see attached file,

What formula would be needed in time card calculations when the daily schedule passed the mignight hour.

Thank you for your help,
Robert
midnight-time.xlsx
0
rws1
Asked:
rws1
1 Solution
 
Saqib Husain, SyedEngineerCommented:
Try something like this in E7

=((D7<D4)+D7)*24
0
 
barry houdiniCommented:
You could change E8 formula to this

=MOD(E7-E6,24)+MOD(E5-E4,24)

and that will give you correct 9.50 without needing to change E7 formula

or use this formula in E7

=((D7<D6)+D7)*24

and leave E8 unchanged

regards, barry
0
 
rws1Author Commented:
Thank you Barry, =MOD(E7-E6,24)+MOD(E5-E4,24), was the correct answer for my formula.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now