Time Between two Times

sdruley

Well-known Member
Joined
Oct 3, 2010
Messages
557
Office Version
  1. 365
Platform
  1. Windows
Oh, these supposedly simple things are driving me nuts.
I have two times on the same day:

9:55:22
9:58:44

How do I calculate the number of total seconds between these times? (202 seconds)

Your assistance is always appreciated.

Steve
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Oh, these supposedly simple things are driving me nuts.
I have two times on the same day:

9:55:22
9:58:44

How do I calculate the number of total seconds between these times? (202 seconds)

Your assistance is always appreciated.

Steve
Try this...

=(A2-A1)*86400
 
Upvote 0
..and if you need only see the number of seconds rather than use them in another calculation try:
=A2-A1
and format the cells using a custom format:
[ss]

The cell's value will actually be:[TABLE="width: 145"]
<tbody>[TR]
[TD="width: 145, align: right"]0.002337963[/TD]
[/TR]
</tbody>[/TABLE]
 
Upvote 0
another possibility is to take advantage of the minute() and second() functions. So you could do A3=A2-A1

60*minute(A3)+second(A3)
 
Upvote 0
Thank you gentlemen. All suggestions worked fine but I did find smkyle's offering fit my situation best.
Your time is appreciated.

Steve
 
Upvote 0

Forum statistics

Threads
1,223,107
Messages
6,170,137
Members
452,304
Latest member
Thelingly95

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top