Write out time format from cell with numbers

Weeble

Board Regular
Joined
Nov 30, 2016
Messages
95
Office Version
  1. 365
Hi MrExcel forum! ( first post )

at work I can withdraw a "timestamp" from a QRY. The time is shown like this. [71131], so basicly it's 07:11:31 HH:MM:SS.

In short I am trackin a time activity of a person and I need to know how many mintues pass each task.

Tasks might look like this.
71131
71219
71327
93512
121015

How can I calculate the time difference between them in a good way?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
The following formula will give you the difference in Excel time:

=TEXT(A2,"00\:00\:00")-TEXT(A1,"00\:00\:00")

Then you can format it as h:mm:ss, or multiply by 86400 to get seconds, or multiply by 1440 to get minutes, etc.
 
Upvote 0
You need to format them all as time
This will do it, but there may be a better way

=SUBSTITUTE(TEXT(RIGHT("0"&A1,6),"00-00-00"),"-",":")+0

and copy down the column
format as time
 
Upvote 0

Forum statistics

Threads
1,214,405
Messages
6,119,315
Members
448,886
Latest member
GBCTeacher

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