Calculating Total Time Worked on a

Follow by Email
Facebook
Facebook
Google+
http://www.exceltip.com/excel-date-time-formulas/calculating-total-time-worked-on-a.html">
SHARE




Problem:

Columns A & B contain the dates and times that a person signed in and out of work.
We want to create a new column containing the date and the calculated time that was worked on that day.

Solution:

Use the TEXT and TRUNC functions as shown in the following formula
=TEXT(TRUNC(A2)+(B2-A2),”mm””/””dd””/””yy”” – “”hh”” Hrs “”mm”” Mins “””)
The above formula performs the desired time calculation and uses the TRUNC function to return the relevant date.

Please follow and like us:
7


Leave a Reply

Your email address will not be published. Required fields are marked *


four + 2 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>