ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Cell showing date and time - precision error (https://www.excelbanter.com/excel-discussion-misc-queries/248725-cell-showing-date-time-precision-error.html)

simonc

Cell showing date and time - precision error
 
I have a cell set up as format

dd/mm/yyyy hh:mm:ss

and the contents are 01/01/1995 00:00:00

In the cell below I put 01/01/1995 01:00:00

then fill the cells for a few hundred. After about 200 cells the value shows
as

09/01/1995 10:00:01 - in other words the increment being added for each cell
is slightly greater than the desired one hour. I assume this is a lack of
precision in the cell value. Is there a way of changing this?

I am using Excel 2007.

Grateful for advice.

Gary''s Student

Cell showing date and time - precision error
 
Enter the first date/time in A1 and in A2 enter:

=A2+TIME(1,0,0) and copy down
--
Gary''s Student - gsnu200908

Gary''s Student

Cell showing date and time - precision error
 
Sorry:
=A1+TIME(1,0,0)
--
Gary''s Student - gsnu200908


"simonc" wrote:

I have a cell set up as format

dd/mm/yyyy hh:mm:ss

and the contents are 01/01/1995 00:00:00

In the cell below I put 01/01/1995 01:00:00

then fill the cells for a few hundred. After about 200 cells the value shows
as

09/01/1995 10:00:01 - in other words the increment being added for each cell
is slightly greater than the desired one hour. I assume this is a lack of
precision in the cell value. Is there a way of changing this?

I am using Excel 2007.

Grateful for advice.



All times are GMT +1. The time now is 07:08 AM.

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