» Calculating Total Time Worked on a
CATEGORY - Excel Date & Time Formulas
VERSION - All Microsoft Excel Versions
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.
Book Store:
Recommended Books:
- The New Financial Order: Risk in the Twenty-First Century
- The 22 Immutable Laws of Marketing : Exposed and Explained by the World's Two
- H&R Block's Just Plain Smart(tm) Tax Planning Advisor: A year-round approach to lowering your taxes this year, next year and beyond
- The Financial Numbers Game: Detecting Creative Accounting Practices
- Keys to Reading an Annual Report (Barron's Business Keys)
- Special Edition Using Microsoft Word 2002
No comments have been submitted.

