Fix SUMIF Ranges That Do Not Expand in Excel
Question details
The user wants a SUMIF formula to include new source rows automatically.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- New data is added below the criteria and sum ranges used by a SUMIF formula.
- Observed behavior
- The SUMIF formula retains its original ranges instead of including the new rows.
Identify the columns containing your criteria and values, and make sure each column has a header. Check that the criteria and sum ranges cover corresponding rows.
Use an Excel Table with structured SUMIF references
Use table column references so SUMIF includes rows added to the source table.
A fixed range such as A2:A10 does not necessarily expand when you enter data below it. References to Excel Table columns adjust as rows are added to or removed from the table.
Select the source data and its headers, then choose Insert > Table. Confirm the selected range, check My table has headers, and click OK.
Click anywhere in the table and open the Table Design tab. Check the Table Name field; this example uses Table1.
In a cell outside the source table, enter =SUMIF(Table1[Category],E2,Table1[Amount]). Replace Table1, Category, Amount, and E2 with your table name, column headers, and criteria cell.
Add a row to the table, for example by pressing Tab in its last cell. Enter a category and amount, then check that the SUMIF result includes the new row when its category matches the criterion.

Work with SUMIF spreadsheets in WPS Office
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. Open compatible Excel files to continue working with formulas as you move between office suites.

Frequently Asked Questions
Why does my SUMIF formula miss new rows?
A formula using fixed ranges, such as A2:A10 and B2:B10, may keep those ranges when data is entered below them. Convert the source data with Insert > Table and use table column references instead.
How do I find the name of my Excel Table?
Click inside the table, open the Table Design tab, and look at the Table Name field. Use that name before the column headers in your structured references.
What if a new row is not included in the table?
Click the last cell of the table and press Tab to add a row, or select the table and use Resize Table on the Table Design tab. Enter the new data within the expanded table.
Do the SUMIF criteria and sum columns need to line up?
Yes. The criteria range and sum range should cover corresponding rows. Using two columns from the same table, such as Table1[Category] and Table1[Amount], keeps them aligned.




