Solved

Excel time calculations that cross the midnight hour

Posted on 2013-01-19
3
418 Views
Last Modified: 2013-01-19
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
Comment
Question by:rws1
3 Comments
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 38796533
Try something like this in E7

=((D7<D4)+D7)*24
0
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 38796534
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
 

Author Comment

by:rws1
ID: 38796565
Thank you Barry, =MOD(E7-E6,24)+MOD(E5-E4,24), was the correct answer for my formula.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question