What i m trying is to have number of days elapsed if end time crosses midnight...
for example
there are three column of data
A1 - Start Date/Time
B1 - End Date/Time
C1 - Total days
A2 - 01 Mar 10 08:30
B2 - 01 Mar 10 21:00
C2 - It should be 1 (as it is the same day or first day)
But IF B2 - 02 Mar 10 09:00 then C2 - should be 2 (any time after midnight of 02 Mar till midnight of 03 Mar and after that it should increment by one day.
hope the example help's in understanding the problem...
Bookmarks