docs / articles / "Excel: Calculate Monthly Work Hours"

"Excel: Calculate Monthly Work Hours"

Eric Jul 09, 2026 2026-07-09 04:40:47

Managing work hours in Excel can be a daunting task, especially when it comes to calculating monthly totals. However, with the right formulas and a bit of organization, you can streamline this process and save time. In this guide, we'll walk you through the steps to calculate working hours in a month using Excel.

How to Calculate Hours Worked in Excel
How to Calculate Hours Worked in Excel

Before we dive in, ensure you have your data organized in a table format. Each row should represent a workday, and columns should include the date, start time, end time, and any breaks taken. This structure will make it easier to apply formulas and calculate totals.

Employee Time Tracking in Excel (+ video tutorial!)
Employee Time Tracking in Excel (+ video tutorial!)

Calculating Daily Work Hours

To begin, we need to calculate the work hours for each day. This can be done by subtracting the start time from the end time and adjusting for any breaks.

How to Calculate Hours Worked Minus Lunch Using Excel Formulas (4 Methods) - ExcelDemy
How to Calculate Hours Worked Minus Lunch Using Excel Formulas (4 Methods) - ExcelDemy

Assuming your data starts from A1 (with headers in the first row), enter the following formula in cell B2 and drag it down to copy for other days:

=(END_TIME - START_TIME) - (SUM(BREAKS))

Your Custom Budget Spreadsheet Solution
Your Custom Budget Spreadsheet Solution

Using Time Formatting

Excel stores time as decimal values, which can make calculations easier but makes the results harder to read. To display results as time, select the cells containing the formulas, right-click, and select "Format Cells." In the Number tab, choose "Custom," and enter the time format you prefer (e.g., [h]:mm AM/PM).

Alternatively, you can use the "TEXT" function to display time in a specific format. For example, to display time as "hh:mm AM/PM," use the formula =TEXT(B2,"hh:mm AM/PM").

How To Calculate Total Work Hours Minus Lunch Time In Excel
How To Calculate Total Work Hours Minus Lunch Time In Excel

Calculating Total Monthly Hours

Now that you have daily work hours calculated, you can find the total monthly hours by summing up the values in the "Daily Hours" column. In cell C2, enter the formula =SUM(B2:B31), assuming a 31-day month. This will give you the total work hours for the month.

To make this more dynamic and accommodate months with varying numbers of days, you can use the "COUNTA" function to count the number of non-empty cells in the "Daily Hours" column. Then, use the "SUM" function with the "COUNTA" result as the range. The formula would look like this: =SUM(INDIRECT("B2:B" & COUNTA(B2:B31))).

Calculate work hours
Calculate work hours

Accounting for Overtime

If you need to track and calculate overtime, you'll first need to set an overtime threshold. This can be done by entering a value in a cell, such as C1 with the label "Overtime Threshold." Assume a threshold of 8 hours per day.

How to Calculate Hours Worked and Overtime Using Excel Formula - ExcelDemy
How to Calculate Hours Worked and Overtime Using Excel Formula - ExcelDemy
How to calculate work hours in Excel
How to calculate work hours in Excel
Work Timesheet & Salary Calculation with Hourly Rate | Payroll and Time Tracking | Employee Time Log and Pay Rate | Hourly Pay Spredsheet
Work Timesheet & Salary Calculation with Hourly Rate | Payroll and Time Tracking | Employee Time Log and Pay Rate | Hourly Pay Spredsheet
robot88 : Situs Game Online  Deposit Pulsa dengan potongan Terbaik
robot88 : Situs Game Online Deposit Pulsa dengan potongan Terbaik
how to calculate hours worked
how to calculate hours worked
Free Timesheet Templates for Excel, Google Sheets & PDF
Free Timesheet Templates for Excel, Google Sheets & PDF
Work Hours Tracker & Payroll Spreadsheet | Timesheet Template Excel Google Sheets | Employee Hours Calculator | Overtime and Pay Tracker
Work Hours Tracker & Payroll Spreadsheet | Timesheet Template Excel Google Sheets | Employee Hours Calculator | Overtime and Pay Tracker
107K views · 1.5K reactions | Calculating Worked Hours Using Formula!! #Excel | Excelling At Excel
107K views · 1.5K reactions | Calculating Worked Hours Using Formula!! #Excel | Excelling At Excel
Excel Timesheet Calculator Template [FREE DOWNLOAD]
Excel Timesheet Calculator Template [FREE DOWNLOAD]
Time Sheet Template with Breaks
Time Sheet Template with Breaks
How to Calculate Hours Between Two Times in Excel (6 Methods) - ExcelDemy
How to Calculate Hours Between Two Times in Excel (6 Methods) - ExcelDemy
Time Sheet Calculator in Excel
Time Sheet Calculator in Excel
Calculate Working Days between two Dates in Excel: Find Workdays Excluding Holidays & Weekends
Calculate Working Days between two Dates in Excel: Find Workdays Excluding Holidays & Weekends
Hourly Pay & Overtime Pay Calculator in Excel | Simple Payroll Worksheet
Hourly Pay & Overtime Pay Calculator in Excel | Simple Payroll Worksheet
a printable time card for employees to work in the company's office,
a printable time card for employees to work in the company's office,
Payment Calendar Excel Template – Streamline Your Work Hours Tracking Today
Payment Calendar Excel Template – Streamline Your Work Hours Tracking Today
Monthly Excel Timesheet Template | Editable & Automated Work Hour Tracker | Job Log Spreadsheet | Instant Download
Monthly Excel Timesheet Template | Editable & Automated Work Hour Tracker | Job Log Spreadsheet | Instant Download
How to Calculate Over Time in Excel 🔥#excel #shortsvideo #exceltips #tipsntricks #exceltutorial
How to Calculate Over Time in Excel 🔥#excel #shortsvideo #exceltips #tipsntricks #exceltutorial
FREE Excel Timesheet Template [DOWNLOAD]
FREE Excel Timesheet Template [DOWNLOAD]
Employee Monthly Timesheet with Salary Calculator (Microsoft Excel)
Employee Monthly Timesheet with Salary Calculator (Microsoft Excel)

Next, use the "IF" function to check if each day's work hours exceed the threshold. If they do, calculate the overtime hours. In cell D2, enter the following formula and drag it down:

=IF(B2>C$1,B2-C$1,0)

Calculating Total Overtime Hours

To find the total overtime hours for the month, sum up the values in the "Overtime Hours" column. In cell E2, enter the formula =SUM(D2:D31) or use the dynamic range approach with the "COUNTA" function as shown previously.

To display the total overtime hours in a more readable format, you can use the "TEXT" function or format the cell as currency, depending on your preference.

With these steps, you now have a comprehensive way to calculate working hours in a month using Excel. This method allows you to track daily, monthly, and overtime hours efficiently. To keep your workbook organized and easy to update, consider using named ranges and data validation features available in Excel.

Regularly reviewing and updating your work hours in Excel can help you maintain a healthy work-life balance and ensure accurate record-keeping. Happy calculating!