Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

ms excel training - test question

Forum home » Delegate support and help forum » Microsoft Excel Training and help » ms excel training - Test Question

ms excel training - Test Question

ResolvedVersion Standard

James has attended:
Excel VBA Intro Intermediate course

Test Question

Test

RE: Test Question

Thanks for the test question, James. See you on the forum soon.

Anthony

Excel tip:

Calculate difference between two times

For presenting the result in the standard time format (hours : minutes : seconds . Use the subtraction operator (-) to find the difference between times, and the TEXT function to format the returned value to text in a specific number format.

Hours never exceed 24, minutes never exceed 60, and seconds never exceed 60.

=TEXT(B2-A2,"h")
Hours between two times (4)

=TEXT(B2-A2,"h:mm")
Hours and minutes between two times (4:55)

=TEXT(B2-A2,"h:mm:ss")
Hours and seconds between two times (4:55:00)

Where B2 and A2 must hold the end time and start time respectively formatted as a time format

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.