How to Convert Accumulated Work Hours into Workdays in Excel
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.

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

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. Open your timesheet: Launch WPS Spreadsheet and open the workbook containing your project hours.
- 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. 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.

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.




