# Thread: Time Elapsed Calculation (2002)

1. ## Re: Time Elapsed Calculation (2002)

Provided the time cells are valid as time in Excel, that is as a decimal fraction of a day, the formula is simple:

=C2+D2-A1-B2

but the result must be formatted as time using [h]:mm or [h]:mm:ss.

2. ## Re: Time Elapsed Calculation (2002)

Hi John,

I tried that and the formula doesn't seem to work. See the attached worksheet.

3. ## Re: Time Elapsed Calculation (2002)

<pre>=C2+D2-A1-B2
</pre>

is subtracting A1 which is a label. The formula should be:

<pre>=C2+D2-A2-B2
</pre>

4. ## Re: Time Elapsed Calculation (2002)

Looks like you gave John the wrong addresses, try
=C2+D2-A2-B2

HTH

Petrer

5. ## Re: Time Elapsed Calculation (2002)

Looks like that worked....although, I don't understand why. I see that =C2+D2 gives me the date & time combined but I don't understand the A2-B2 part of the formula. Can anyone explain this to me? Thanks for all the help!

6. ## Re: Time Elapsed Calculation (2002)

C2+D2 is End date + end time
A2 + B2 is Start date + start time

End - Start = elapsed time
(C2+D2) - (A2 + B2) = elapsed time
thus: elapsed time = C2 + D2 - A2 - B2 (without any parentheses)
Steve

7. ## Time Elapsed Calculation (2002)

Hello!

I am trying to figure out a formula that will show the total elapsed time between 2 dates/times. The problem is that the dates and times are in separate cells. For example: A1=Date In; B2=Time In; C2=Date Out; D2=Time Out
In cell E2, I need a formula to calculate the total time (hours/minutes) that has elapsed. Please help!!!

Sorry the Date In is in A2 NOT A1.

#### Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts
•