ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Reformat A Time Value To Add/Subtract (https://www.excelbanter.com/excel-worksheet-functions/104070-reformat-time-value-add-subtract.html)

Carl

Reformat A Time Value To Add/Subtract
 
My Time Values come in like this :

80814240354


I need to work with the last 8 characters. In this case 14240354 - which is
a time "XX:XX:XX:XX" (hours:minutes:seconds:milliseconds).

I need to be able to add and subtract inorder to measure the time
differences.

Is this possible.

Thank you in advance.

Niek Otten

Reformat A Time Value To Add/Subtract
 
=TIME(MID(A1,4,2),MID(A1,6,2),MID(A1,8,2))+RIGHT(A 1,3)/24/60/60/1000
Format custom as hh:mm:ss.000

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"carl" wrote in message ...
| My Time Values come in like this :
|
| 80814240354
|
|
| I need to work with the last 8 characters. In this case 14240354 - which is
| a time "XX:XX:XX:XX" (hours:minutes:seconds:milliseconds).
|
| I need to be able to add and subtract inorder to measure the time
| differences.
|
| Is this possible.
|
| Thank you in advance.




All times are GMT +1. The time now is 03:58 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com