?
Solved

Excel time calculations that cross the midnight hour

Posted on 2013-01-19
3
Medium Priority
?
441 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 2000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
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!
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

752 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