Calculation Issues

How to Convert Accumulated Work Hours into Workdays in Excel

Steve KSteve K Nov 10, 2026 868 views

Question details

The user needs to convert a sum of accumulated work hours into specific workdays (where 1 workday equals 7 hours) and ensure the total hours display correctly without resetting after 24 hours.

Convert Accumulated Work Hours into Workdays in Excel
Product
Excel
Device & OS
not provided
Scenario
Calculating project times, timesheets, or payroll where daily hours are summed up and need to be translated into the equivalent number of full workdays.
Observed behavior
Excel's default time format resets after 24 hours, and standard time values cannot be directly divided by 7 to get accurate workdays without prior conversion.
Before you start

Check whether your accumulated hours are stored as standard numbers (e.g., 28.5) or as Excel time values (e.g., 28:30). Excel time values require an extra multiplication step to convert them into standard decimal hours before you divide them into workdays.

Solution 1Recommended

Use Custom Formatting and Time Conversion Formula

Apply a specific custom number format to prevent time totals from resetting, then convert the time value to decimal hours to calculate the workdays.

By default, Excel assumes time values are times of day. This means that if you sum hours beyond 24, Excel "rolls over" to a new day and only shows the remainder. To fix this, you must apply a custom format using brackets.

Additionally, since Excel stores 1 day as the integer 1 (and 24 hours as a fraction of 1), you need to multiply the time by 24 to get standard decimal hours before dividing by your workday length.

1
Format the accumulated hours

Select the cell containing your total hours (e.g., your SUM formula). Right-click and choose 'Format Cells'. Go to the 'Custom' category and type [h]:mm in the Type box. This forces Excel to display durations over 24 hours.

2
Convert to standard decimal hours

In the cell where you want to calculate workdays, type the formula =24*A2 (assuming A2 contains your total time value). This converts the underlying fraction into a usable hour count.

3
Divide by workday length

Modify the formula to divide by the number of hours in your specific workday. For a 7-hour workday, update the formula to =24*A2/7.

4
Calculate whole workdays only (Optional)

If you only want to know the number of complete workdays, wrap your formula in the INT function: =INT(24*A2/7).

Use Custom Formatting and Time Conversion Formula
Bracket formatting is the key: The square brackets around the 'h' in [h]:mm tell Excel to measure elapsed time rather than the time of day, ensuring 25 hours is displayed as 25:00 instead of 01:00.
Calculate Time Easily in WPS Spreadsheet

Use WPS Spreadsheet to Calculate Work Hours and Workdays

WPS Spreadsheet provides seamless calculation of times and dates with full support for standard custom formats, ensuring your timesheets and payroll are processed accurately.

  1. 1. Open your timesheet: Launch WPS Spreadsheet and open the workbook containing your project hours.
  2. 2. Apply time duration formatting: Select the total hours cell, press Ctrl+1 to open the Format Cells dialog, select Custom, and enter [h]:mm.
  3. 3. Apply the calculation formula: In an empty cell, type =24*A2/7 (replacing A2 with your total hours cell) to instantly calculate the number of 7-hour workdays.
Fully compatible with Microsoft Excel custom formats and time calculation formulasSupports advanced cell formatting like [h]:mm out of the boxLightweight, fast, and completely free for handling large timesheets
microsoft office alternative - wps office

Frequently Asked Questions

Why do my summed hours in Excel reset after reaching 24 hours?

By default, Excel treats time formats as a 'time of day' which resets at midnight (every 24 hours). To display total accumulated duration without resetting, you must apply the custom format [h]:mm.

Does this calculation formula change if my workday is 8 hours instead of 7?

Yes, simply change the divisor in the formula. If your standard workday consists of 8 hours, change the formula from =24*A2/7 to =24*A2/8.

How do I calculate the remaining hours after full workdays are extracted?

Once you have the total decimal hours, you can use the MOD function to find the remainder. For a 7-hour workday, use the formula =MOD(24*A2, 7) where A2 is the total accumulated time.