Function Problems

Filter and Sum Excel Table Values by Name, Zone, and Date

Huda QurayshiHuda Qurayshi Dec 2, 2026 869 views

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.

Filter and Sum Excel Table Values by Name, Zone, and Date
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.
Before you start

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.

Solution 1Recommended

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.

1
Select the result cell

In Table1, click the cell where the total for the current name, zone, and date should appear.

2
Enter the formula

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.

3
Convert a text header if needed

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 FILTER and SUM with a zone-matching condition
Date and match behavior: The comparisons include the start and completion dates. If the source dates contain times, use date-only values when matching by calendar day. FILTER returns 0 when no rows match.
WPS Spreadsheets

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. 1. Open the workbook: Open WPS Spreadsheets and select File > Open to load your Excel workbook.
  2. 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. 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. 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.
Sum records using person, zone, start date, and completion date criteria.Open and edit Microsoft Excel XLSX and XLS files.Use familiar spreadsheet formulas in an easy-to-use interface.Work with a free, lightweight office suite.
microsoft office alternative - wps office

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.