Excel Hours Calculator Formula

Kayla Jul 09, 2026

Ever found yourself wondering how many hours you've spent on a project in Excel? Or perhaps you're curious about how to calculate the total hours worked by your team? Excel's hours calculator formula can help you with that. Let's dive into how you can use this powerful tool to track and calculate hours in Excel.

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

Before we get started, ensure you have Excel installed on your computer. For this guide, we'll be using Excel for Windows, but the process is similar for Mac users as well. Now, let's explore how to create an hours calculator in Excel.

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

Setting Up Your Workbook

First, open a new or existing workbook in Excel. For this example, let's assume you're tracking hours for a project. In the first row (A1 to E1), create headers: 'Name', 'Start Date', 'Start Time', 'End Date', 'End Time'.

Calculate Production Per Hour in Excel
Calculate Production Per Hour in Excel

Freeze the top row for easy navigation. Select A1 and drag down to the last row you'll be using. Right-click and select 'Format as Table'. Choose a table style, check 'My table has headers', and click 'OK'.

Entering Data

How to Calculate Hours Worked and Overtime Using Excel Formula - ExcelDemy
How to Calculate Hours Worked and Overtime Using Excel Formula - ExcelDemy

In the 'Name' column (A2 onwards), enter the names of the individuals or teams you're tracking. In the 'Start Date' and 'End Date' columns (B and D respectively), enter the dates for each person's work period. Use the date format preferred in your region.

In the 'Start Time' and 'End Time' columns (C and E respectively), enter the start and end times for each person's workday. Use the time format (HH:MM AM/PM).

Calculating Hours Worked

Calculating hours worked - Excel Tips and Tricks
Calculating hours worked - Excel Tips and Tricks

In cell F2, enter the following formula to calculate the hours worked by each person: `=(D2-B2)*24+(E2-C2)`. This formula calculates the difference between the end and start dates and times, converting them into hours.

Press Enter. The hours worked by the first person should now appear in cell F2. To apply this formula to the rest of the table, click and drag the small square in the bottom-right corner of cell F2 down to the last row of your table.

Total Hours Calculation

calculate work hours
calculate work hours

To find the total hours worked, use the SUM function. In a new cell (e.g., G2), enter `=SUM(F2:F100)` (replace '100' with the last row number of your table). This will sum up all the hours worked and display the total in cell G2.

Press Enter. The total hours worked should now appear in cell G2. If you want this number to update automatically whenever new hours are added, make sure your table is set up as a table (as we did earlier) and the total cell (G2) is outside the table range.

Employee Time Tracking in Excel (+ video tutorial!)
Employee Time Tracking in Excel (+ video tutorial!)
Your Custom Budget Spreadsheet Solution
Your Custom Budget Spreadsheet Solution
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
Calculate work hours
Calculate work hours
Top 21 Excel Formulas
Top 21 Excel Formulas
How to Calculate Hours Between Two Times in Excel (6 Methods) - ExcelDemy
How to Calculate Hours Between Two Times in Excel (6 Methods) - ExcelDemy
Excel Formula for Overtime over 40 Hours [with Free Template]
Excel Formula for Overtime over 40 Hours [with Free Template]
how to calculate hours worked
how to calculate hours worked
How to calculate Worked Hours in Excel #excel #exceltips
How to calculate Worked Hours in Excel #excel #exceltips
How to Calculate Hours Worked Like a Pro
How to Calculate Hours Worked Like a Pro
Time Sheet Calculator in Excel
Time Sheet Calculator in Excel
Time Sheet Template with Breaks
Time Sheet Template with Breaks
Hours Calculator
Hours Calculator
How to Make a Time Sheet in Excel (with Formulas and Templates)
How to Make a Time Sheet in Excel (with Formulas and Templates)
How to Calculate Over Time in Excel 🔥#excel #shortsvideo #exceltips #tipsntricks #exceltutorial
How to Calculate Over Time in Excel 🔥#excel #shortsvideo #exceltips #tipsntricks #exceltutorial
Microsoft Excel- Working Hours
Microsoft Excel- Working Hours
ms excel formula
ms excel formula
How to Convert Hours into Minutes | convert hours into minutes in Excel | Excel Tutorials |Excel2022
How to Convert Hours into Minutes | convert hours into minutes in Excel | Excel Tutorials |Excel2022

Formatting and Visualizing Data

To make your data more readable, you can format the 'Hours Worked' column (F) as currency. Select column F, right-click, and select 'Format Cells'. Choose 'Currency', and click 'OK'.

For a visual representation, insert a pivot table or pivot chart to show hours worked by person, date, or any other category that suits your needs. Select any cell in your table, click 'Insert' in the ribbon, and choose 'PivotTable'. Follow the prompts to create your pivot table or chart.

And there you have it! You've now created an hours calculator in Excel that can help you track and visualize hours worked. This tool can be invaluable for project management, invoicing, or simply understanding where your time goes. Happy calculating!