View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
daddylonglegs
 
Posts: n/a
Default Working with times


Assuming you have dates in column A from A2 down and the start times are
from B2, end times from C2

you could use this formula in D2 and copy down column

=IF(SUMPRODUCT(--(A$1:A$10+B$1:B$10<A1+B1),--(A$1:A$10+C$1:C$10A1+B1)),"oops!","")


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=506994