ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I calculate cells without losing the milliseconds? (https://www.excelbanter.com/excel-worksheet-functions/113101-how-do-i-calculate-cells-without-losing-milliseconds.html)

Smylis

How do I calculate cells without losing the milliseconds?
 
I am trying to subtract a date/time value with a time in milliseconds, but am
unable to get Excel to keep the milliseconds.

This is what I am trying to subtract:
2006-10-05 12:19:09.410 MINUS 00:00:00.859

Is there a way to do this??

David Biddulph

How do I calculate cells without losing the milliseconds?
 
"Smylis" wrote in message
...
I am trying to subtract a date/time value with a time in milliseconds, but
am
unable to get Excel to keep the milliseconds.

This is what I am trying to subtract:
2006-10-05 12:19:09.410 MINUS 00:00:00.859

Is there a way to do this??


Format the answer as yyyy-mm-dd hh:mm:ss.000
--
David Biddulph



Graham Y

How do I calculate cells without losing the milliseconds?
 
Assuming date & time in A1 and time in A2 in A3 put =A1-A2 if you don't see
what you want change the formatting the time bit should be hh:mm:ss.000

"Smylis" wrote:

I am trying to subtract a date/time value with a time in milliseconds, but am
unable to get Excel to keep the milliseconds.

This is what I am trying to subtract:
2006-10-05 12:19:09.410 MINUS 00:00:00.859

Is there a way to do this??



All times are GMT +1. The time now is 01:02 PM.

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