Filter and Sum Excel Table Values by Name, Zone, and Date
Question details
Sum values from a second Excel table when the assigned person, zone, and date range match a row and date in the first table.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A summary table contains names, zones, and date headers; a second table contains assigned people, zones, start dates, completion dates, and values to sum.
- Observed behavior
- The desired result includes only values whose assigned person and zone match and whose start and completion dates include the header date.
Check that Table2 has Assigned, Zone, Start, Complete, and Sum columns and that the values to sum are numeric. Make sure the date header and the Start and Complete columns contain recognizable dates; if the header is text, convert it with DATEVALUE.
Use FILTER and SUM with a zone-matching condition
Use this approach in an Excel version that supports FILTER to sum all rows matching the person, zone, and inclusive date range.
In Table1, click the cell where the total for the current name, zone, and date should appear.
Enter =SUM(FILTER(Table2[Sum],(Table2[Assigned]=Table1[@Name])*(Table2[Zone]=Table1[@Zone])*(Table2[Start]<=H$1)*(Table2[Complete]>=H$1),0)). Replace H$1 with the cell containing the relevant date.
If the date header is stored as recognizable text, replace both instances of H$1 in the formula with DATEVALUE(H$1). Press Enter, then fill the formula across or down as needed.

Use SUMIFS to sum matching table rows
Use SUMIFS when you only need the total and do not need FILTER to return the individual matching values.
Sum matching names, zones, and dates in WPS Spreadsheets
Use SUMIFS in WPS Spreadsheets to total values that match a person and zone and fall within an inclusive date range.
- 1. Open the workbook: Open WPS Spreadsheets and select File > Open to load your Excel workbook.
- 2. Identify the source columns: For example, use B2:B100 for assigned people, C2:C100 for zones, D2:D100 for start dates, E2:E100 for completion dates, and F2:F100 for values.
- 3. Enter the matching criteria: Enter the person in H2, the zone in I2, and the target date in J1. Use a recognizable date value in J1.
- 4. Calculate the total: Click a blank result cell and enter =SUMIFS(F2:F100,B2:B100,H2,C2:C100,I2,D2:D100,"<="&J$1,E2:E100,">="&J$1). Adjust the ranges and cell references to match your sheet, then press Enter.

Frequently Asked Questions
How do I add the zone condition to the FILTER formula?
Add (Table2[Zone]=Table1[@Zone]) to the FILTER include argument and multiply it by the other conditions. The multiplication requires every condition to be true for a row to be included.
What happens if no rows match the criteria?
In the FILTER formula, the final argument of 0 supplies a zero when there are no matches, so SUM returns 0. SUMIFS also returns 0 when no rows match.
Why does the date header not match the source dates?
Excel table headers may be text rather than date values. If the header contains a recognizable text date, use DATEVALUE(H$1) in place of H$1, and check that the source Start and Complete cells contain real dates.
Are the start and completion dates included in the total?
Yes. The <= and >= comparisons include both boundary dates. If source cells contain times, use date-only values to compare whole calendar days.
What can I use if my version of Excel does not support FILTER?
Use the SUMIFS solution instead. It applies the same person, zone, and inclusive date-range criteria without requiring FILTER.




