Formula Errors

Expand a SUMPRODUCT Formula When New Rows Are Added in Excel

Bushra ParveenBushra Parveen Dec 2, 2026 869 views

Question details

Create a SUMPRODUCT formula that includes new records as rows are added.

Expand a SUMPRODUCT Formula When New Rows Are Added in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Create a table

Select the source data, including its headers, and choose Insert > Table. Confirm the range, select My table has headers, and click OK.

2
Check the table name

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.

3
Enter the formula

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.

4
Add a record

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.

Use an Excel Table with Structured References
Check the blank-value criteria: The formula counts only rows where ID is nonblank and both Status and Date evaluate to blank. Change the criteria if your worksheet uses different values.
Work with expanding data

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. 1. Open the worksheet: Open WPS Spreadsheets and use Open to select your workbook.
  2. 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. 3. Enter the formula: Select a cell outside the source columns and enter =SUMPRODUCT((A2:A1000<>"")*(B2:B1000="")*(C2:C1000="")).
  4. 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.
Count new records without editing the formula for each entryOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and worksheet controls
microsoft office alternative - wps office

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.