On Sep 30, 11:24*am, Steve H <stevenh5...@aol.com> wrote:
>*I am deriving the date using
> =DATE(MID(CELL("filename",A1),FIND("-",CELL("filename",A1))-4,4),
> MID(CELL("filename",A1),FIND("-",CELL("filename",A1))+1,2),1)
> which returns 09/01/2010 00:00.
>
> In cell A3 I have =A1+1/24 which returns 09/01/2010 01:00 and this
> formula is copied down the column.
[....]
> I am trying to compare date/time from formula to one that is entered
> [manually] and although they look the same and are the same formatted
> as dae/time, when compared by formula they aren't. *I suppose that it is
> a rounding issue but how do I fix it?
Correct. Precisely what I had explained in the thread "Date Time
increment with additional condition of skipping weekends" at
http://groups.google.com/group/micro...b0b93c0dfe752#.
The fix:
=--TEXT(A1+1/24,"m/d/yyyy h:m")
which you format as you like, e.g. Custom "mm/dd/yyyy hh:mm" without
quotes.