A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
try this...
in A1 start time
in B1 end time
(A1,B1 Custom Format hh:mm am/pm)
in cell C1, type your desired time
Format as Time 13:30
note: if you want 8 hours, write 8:00
if you need 8h,30min write 8:30
in cell D1 write
=IF(B1-A1-C1<0,"",B1-A1-C1)
format as Time 13:30
XXXXXXXXXXXXXXX
example
1) in A1 write:
8:30 returns ....8:30 am
2) in b1:
17:40 returns....5:40 pm
3) in C1:
8:00
result in cell D1...1:10 (1h,10min)