Expand a SUMPRODUCT Formula When New Rows Are Added in Excel
Question details
Create a SUMPRODUCT formula that includes new records as rows are added.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A worksheet tracks records by ID, status, and date, and the user wants a count that updates as records are added.
- Observed behavior
- The existing SUMPRODUCT formula uses fixed ranges, so records added beyond those ranges are not included automatically.
Check that the source data has a header for each column and no completely blank rows within the data. Identify the ID, Status, and Date columns used by the formula.
Use an Excel Table with Structured References
Convert the source range to a table so the formula includes records added to it.
Structured references use table column names instead of fixed cell ranges. This example counts rows with a nonblank ID and blank Status and Date values.
Select the source data, including its headers, and choose Insert > Table. Confirm the range, select My table has headers, and click OK.
Click inside the table and open the Table Design tab. Check the Table Name field; use that name in place of Table1 if it differs.
In a cell outside the table, enter =SUMPRODUCT((Table1[ID]<>"")*(Table1[Status]="")*(Table1[Date]="")). Replace the table and column names with your own if needed.
Enter a new record in the row immediately below the table, or insert a table row. Confirm that the table expands and the result updates.

Count New Records with SUMPRODUCT in WPS Spreadsheets
In WPS Spreadsheets, reserve extra rows in the SUMPRODUCT ranges so new records entered within those rows are included in the count.
- 1. Open the worksheet: Open WPS Spreadsheets and use Open to select your workbook.
- 2. Identify the columns: Check the worksheet headers. For this example, use column A for ID, column B for Status, and column C for Date, with data starting in row 2.
- 3. Enter the formula: Select a cell outside the source columns and enter =SUMPRODUCT((A2:A1000<>"")*(B2:B1000="")*(C2:C1000="")).
- 4. Add records within the range: Enter new records in unused rows through row 1000. If you need more rows, edit all three ranges in the formula to use the same larger endpoint.

Frequently Asked Questions
Why does my SUMPRODUCT formula miss new records?
A formula with fixed ranges, such as A2:A100, does not include records entered below row 100. Convert the data using Insert > Table and reference its columns, or extend the ranges.
How do I find my Excel Table name?
Click a cell in the table, open the Table Design tab, and look at the Table Name field. Use that name in the structured references.
Will every new row increase the count?
No. In the example formula, a row is counted only if its ID is nonblank and its Status and Date are blank.
What happens when I add a record beyond the reserved WPS range?
A record below row 1000 is not included in the example formula. Edit the formula and extend A2:A1000, B2:B1000, and C2:C1000 to the same new endpoint.




