Hi,
Subtracting Times That Span Past Midnight Into a New Day.
Let's say A1 houses the Start time of 6:00PM and A2 the end time of 2:00AM. If we need to work out the hours between 6:00PM of 1 day and 2:00AM of the next day we cannot simply use;
=A2-A1
Excel does not like negative times.
Instead, we should use:
This will then add 1 (1 day) to A2 if the time in A1 is of a higher value than the time in A2. The expression (A1>A2) will equate to either TRUE or FALSE. TRUE has a value of 1 and FALSE a value of zero.
Hope it help,
Bookmarks