Formula Errors

Correct an Excel Formula for Weekly Timesheet Hours

Phi Hung VoPhi Hung Vo Nov 20, 2026 869 views

Question details

Correct a formula that adds daily shift totals to calculate weekly hours.

Correct an Excel Formula for Weekly Timesheet Hours
Product
Microsoft Excel
Device & OS
not provided
Scenario
A weekly timesheet stores daily shift totals in separate cells that need to be added together.
Observed behavior
The weekly total appears incorrect because the daily results may be time serials or formula results with a different number format.
Before you start

Identify the cells containing the daily shift totals and check whether they hold Excel time values or decimal hours. Select a daily total and look at its formula and number format before choosing how to calculate the weekly total.

Solution 1Recommended

Sum the daily totals and format the weekly hours

Use this method when the daily totals are Excel time values and the weekly result should appear as hours and minutes.

1
Enter the total formula

Select the weekly total cell and enter =SUM(E4,H4,K4,N4,Q4,T4,W4). Replace these references with your actual daily total cells.

2
Format the total

Select the weekly total cell, press Ctrl+1, and choose Number > Custom. Enter [h]:mm as the type and click OK so totals over 24 hours display correctly.

3
Check daily results

Select each daily total cell and inspect its formula in the formula bar. Check that it calculates the intended shift duration and that its number format matches the underlying value.

Sum the daily totals and format the weekly hours
Use one consistent unit: Do not mix Excel time values with decimal-hour values in the same sum. Convert them to a consistent unit first.
Work with timesheets in WPS

Calculate weekly timesheet hours in WPS Spreadsheets

Use WPS Spreadsheets to sum daily shift totals and display the result as elapsed hours or decimal hours.

  1. 1. Open the timesheet: Open WPS Spreadsheets and use Open to select your Excel timesheet.
  2. 2. Add the daily totals: Select the weekly total cell and enter =SUM(E4,H4,K4,N4,Q4,T4,W4), changing the references to match your sheet.
  3. 3. Choose the result format: For time values, select the total cell, press Ctrl+1, and choose a custom number format of [h]:mm. For decimal hours, multiply the formula by 24 and apply a Number format instead.
  4. 4. Save the workbook: Use File > Save As to save the updated timesheet in an Excel format such as XLSX.
Sum separate daily timesheet cells with a single formulaDisplay elapsed totals over 24 hours with a custom formatOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for formulas and formatting
microsoft office alternative - wps office

Frequently Asked Questions

Why does my weekly total show fewer than 24 hours?

A regular time format can wrap after 24 hours. Select the total cell, press Ctrl+1, and choose Custom > [h]:mm to display accumulated hours.

How do I show 37 hours and 30 minutes as 37.5?

If the daily cells contain Excel time values, multiply their sum by 24, such as =SUM(E4,H4,K4,N4,Q4,T4,W4)*24. Format the result as Number or General.

Should I multiply the total by 24 if my daily cells already show decimal hours?

No. If the underlying daily values are already decimal hours, use SUM without multiplying by 24. Check the cells' formulas and number formats to confirm their units.

Does Excel 2010 support this timesheet formula?

Yes. Excel 2010 supports SUM and the [h]:mm custom format. If results differ from another spreadsheet app, inspect the daily formulas, underlying values, and number formats.