View Single Post
 
Old 11-25-2017, 03:11 PM
AlanBird AlanBird is offline Windows 10 Office 2016
Novice
 
Join Date: Nov 2017
Posts: 2
AlanBird is on a distinguished road
Default

The term MOD(D14-B14,1) handles the case where the start time (B14) is one day and the end time (D14) is the next day ("runs past midnight"). Note: if D14-B14 is zero, that will be interpreted as zero time, not 24 hours.[/QUOTE]

Thank you that worked perfectly.
Reply With Quote