A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
try this sample..
in cells A1 and B1 Start and End time (Custom Format hh:mm)
in cell C1 lunch time (Custom Format hh:mm)
in D1 Total (also Custom Format hh:mm)
e.g
in cell A1, type
08:10
in cell B1
17:30
(lunch time 50 minutes)
in cell C1 type
0:50
and..
in cell D1 write this formula
=B1-A1-C1
returns....08:30 (8h and 30min)
XXXXXXXXXXXXXXXXXX
[Edit 19May2013]
or
in cell D1 (format General)
wrire:
=HOUR(B1-A1-C1) &"hours and " & MINUTE(B1-A1-C1)&"minutes"