Excel SUMIFS Formula to Sum Timesheet Hours by Employee and Date
Question details
The user needs to sum timesheet hours for each employee and work date in a summary table.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- An exported timesheet has separate employee, date, and hours columns, and the summary table has employees in rows and dates in columns.
- Observed behavior
- Each summary cell should show the total hours for the employee in its row and the date in its column.
Check that the export has employee names in Export!A:A, work dates in Export!B:B, and numeric hours in Export!C:C. In the summary sheet, put employee names in column A and date-only values in row 2; adjust the formula references if your layout differs.
Use SUMIFS for employee names and date-only values
Use this formula when the exported work dates contain no time component.
On the summary sheet, select B3 and enter =SUMIFS(Export!$C:$C,Export!$A:$A,$A3,Export!$B:$B,B$2).
Drag the fill handle from B3 across the date columns and down the employee rows. The mixed references keep the employee column and date row fixed as the formula moves.
Compare a summary cell with the matching employee and date rows on the Export sheet. Make sure employee names match and dates and hours are stored as date and numeric values rather than text.

Use date boundaries for exported timestamps
Use this formula when work dates include times, so all entries within the selected day are counted.
Summarize Employee Timesheets in WPS Spreadsheets
Open your timesheet workbook in WPS Spreadsheets and use SUMIFS to total hours by employee and work date, including exported timestamps.
- 1. Open the workbook: In WPS Spreadsheets, select Open and choose the timesheet workbook containing the Export sheet and summary table.
- 2. Check the layout: Confirm that Export columns A, B, and C contain names, dates, and hours, and that the summary has employee names in column A and date-only headers in row 2.
- 3. Enter SUMIFS: Select B3 on the summary sheet and enter =SUMIFS(Export!$C:$C,Export!$A:$A,$A3,Export!$B:$B,B$2). If the exported dates include times, use =SUMIFS(Export!$C:$C,Export!$A:$A,$A3,Export!$B:$B,">="&B$2,Export!$B:$B,"<"&B$2+1) instead.
- 4. Fill and save: Drag the fill handle across and down the summary table, check a total against the Export sheet, and select Save.

Frequently Asked Questions
Why does SUMIFS return zero when the dates look the same?
The exported dates may include hidden times or be stored as text. Select a date cell on the Export sheet and check the formula bar; for timestamps, use the greater-than-or-equal-to and less-than-next-day criteria.
What do $A3 and B$2 do in the formula?
$A3 fixes the employee column while allowing the row to change. B$2 fixes the date header row while allowing the column to change when you fill the formula.
Can SUMIFS add multiple entries for the same employee on one day?
Yes. SUMIFS adds all numeric hours in Export!C:C whose employee and date criteria match, including multiple rows for the same employee and day.
What if my exported columns are in a different order?
Edit the formula so the first range points to the hours column, the first criteria range points to employee names, and the date criteria range points to work dates. Update the summary-cell references to match your layout as well.




