Excel Formula：Calculate network time with break in a timesheet
Generally, while calculating the working time, the break time needed to be excluded. Here in this tutorial, it provides the formula which uses the MOD function to calculate the network time with breaks in Excel.
|Work_start: the time that starts work at.|
|Work_end: the time that ends work at.|
|Break_start: the time that starts break at.|
|Break_end: the time that ends break at.|
How this formula work
Here is a table containing the worktime and break time, please use below formula to calculate the network time.
Press Enter key to get the network time.
Then drag autofill handle over cells to calculate the network time.
The MOD function returns the division remainder of two numbers. For example, MOD(8,3)=2.
In this case, the time value must be the decimal value, which will remain itself while dividing 1 by using MOD function.
For instance, =MOD(C6-B6,1)=10:00= 0.416666667, then =MOD(E6-D6,1)=1:15= 0.052083333. Now
1) If you need to calculate the total network time, use the formula
Note: The sum result is in the h:mm format automatically. To understand the sum result easily, you can change it to the time format of 37:30:55.
2) If the timesheet records the two separate in/out times for a single shift as below show, you can use the formula as this:
- Calculate Overtime Pay
In this tutorial, it shows a timesheet to list the working hours, and provides a formula to calculate the overtime pay.
- Assign Points Based On Late Time
This tutorial provides a clear guide on how to use the IF function to assign points on late time in excel.
- Calculate Days Remaining Between Two Dates
Here, this tutorial provides a formula to quickly calculate the left days between two dates.
- Excel Formula: Add Months To Date
It introduces formulas to add months to a given date in Excel, and explains how the formulas work.
- Excel IF Function
Test for specified conditions, then returns the corresponding values
- Excel VALUE Function
Convert text to number.
- Excel MONTH Function
The MONTH is used to get the month as integer number (1 to 12) from date.
- Excel DAY Function
DAY function gets the day as a number (1 to 31) from a date
- Excel YEAR Function
The YEAR function returns the year based on the given date in a 4-digit serial number format.