
If we have IN and OUT Timings, we can use the formula as shown above, but we have BREAK TIME IN and TIME OUT in this example.After applying the format, we will get the output result as follows.

Once we click on the format cell, we will get the dialog box below, choose the exact time format, and click ok.We need to change this general format to time by formatting the cell, as shown below.By default, Excel will return the result in decimal numbers, as shown below, where it’s not an exact number of hours.To calculate an employee’s no of hours, we will calculate the formula as OUT TIMINGS – IN TIMINGS.Make sure that the cell is in the proper time format.First, create a new column named Number of Hours Worked.Now we need to find out how many hours an employee worked by following the below steps: The above employee database has a date, employee name, TIME IN, and TIME OUT.
