Hello All
I will try to make this problem as simple as i can to understand but bear with me.
I have a calculation in excel to work out how much time has passed between two sets of dates and times. my dates and times are in the same cell and are set out like this
this works ok however when i come to display the result of two dates and times months apart i get an odd result. for example:
difference between
25/01/2009 09:00
and
28/03/2009 10:00
gives the result
02 03 10:00 (using the format dd mm hh:mm)
this is obviously wrong as there is only 2 months difference between these dates and more than 2 days.
this also applies for dates in the same month where the month value is 1.
if i try to subtract 1 from the reult it subtracts from the day only. anyone got any ides as to what i can do to resolve this? (i could split the cells into date and time but that will make things further complicated.)
Thanks
Bookmarks