The formula D3-C3 will give us the percentage of the day worked based on 24 hours in a day. How to Add Time in Excel Formula. Keep in mind one rule though.
If Excel is to subtract time accurately and to display the right time format cells must be formatted properly before the calculation takes place.
Select A2 and B2 and press Ctrl1 to open the Format Cells dialog box. This is the formula I have used in the cell I16 to calculate the Over Time Hours. In C1 enter Hours Worked. Hours worked can be calculated easily as time difference simply take the later time and subtract the earlier one.