---Advertisement---

How to Calculate Hours Worked in Excel? Simple Way

Published On: December 10, 2025
How to Calculate Hours Worked in Excel? Simple Way
---Advertisement---

Calculating hours worked in Excel is one of the simplest ways to track time for projects, employees, or personal tasks. Instead of doing manual math, Excel lets you enter start and end times, then automatically calculate the total hours worked with easy formulas. This saves time, reduces errors, and makes managing schedules or payroll much more efficient. In this beginner-friendly blog, we’ll explain in clear, step-by-step language how to calculate hours worked in Excel the simple way, so you can keep your data organized and accurate.

Calculate Hours Worked in Excel

Step-by-Step: How to Calculate Hours Worked in Excel

Follow these steps to calculate hours worked using Start Time, End Time, and a simple formula.


Step 1: Enter Start Time and End Time

Create a simple table like this:

ABC
Start TimeEnd TimeHours Worked

Now enter the times in Excel using proper time format:

  • Start Time → 9:00 AM
  • End Time → 5:00 PM

Tip: You can enter time using AM/PM or 24-hour format.

Enter Start Time and End Time

Step 2: Apply Time Format

  1. Select the Start Time and End Time cells.
  2. Right-click → Format CellsTime.
  3. Choose a standard time format (e.g., 1:30 PM).

This ensures Excel understands the values as time.


Step 3: Use the Formula to Calculate Total Hours

In the Hours Worked column, enter the following formula:

= B2 - A2

This subtracts the Start Time from the End Time.


Step 4: Change Format to Display Hours

The result may appear in a default format. To fix it:

  1. Select the Hours Worked cell.
  2. Right-click → Format CellsCustom.
  3. Enter this format:
[h]:mm

This ensures hours display correctly—even if the employee worked more than 24 hours.


Step 5: Handling Overnight Shifts (Optional)

If time crosses midnight (e.g., 10 PM to 6 AM), use this formula:

=IF(B2 < A2, B2 + 1, B2) - A2

This ensures correct calculation even when the end time is on the next day.


Step 6: Copy the Formula for More Entries

Drag the fill handle down to apply the formula to additional rows.

---Advertisement---

Related Post

Enable New Windows 11 25H2 Features After December Update (KB5070311)
Enable/Disable Steam Networking IP Sharing – Step-by-Step Guide
Valorant Stuck on Loading Screen? Fix It Now!
Tips

Valorant Stuck on Loading Screen? Fix It Now!

By Tech Gitter
|
December 31, 2025
How to Increase or Decrease Font Size in Google Chrome
Solutions

How to Increase or Decrease Font Size in Google Chrome

By Tech Gitter
|
December 29, 2025

Leave a Comment

Join WhatsApp Join Telegram