Excel

Put the data in a Table before you write formulas

A normal range does not know where it ends. Next month you paste rows underneath the formula, and the total is quietly wrong. An Excel Table knows.

Make the table

  1. Click any cell in the range. Include the header row.
  2. Press Ctrl+T (Cmd+T on a Mac) and confirm that “My table has headers” is checked.
  3. On the Table Design tab, change the table name from Table1 to something you can say out loud, like Policies. Names cannot contain spaces.

The header row should be real names (Premium, EffectiveDate), not blank cells and not duplicates.

Write formulas at the columns

A sum of the whole premium column:

=SUM(Policies[Premium])

A new calculated column, typed in the first data row of an empty column:

=[Premium]*0.1

Excel fills that formula down the column. Add a row and the formula comes with it.

What this fixes

Filters, PivotTables, and charts built on the table pick up new rows. XLOOKUP and FILTER can use Policies[PolicyNumber] instead of A2:A5000, so you stop guessing how many rows to include.

Don’t stack two tables on top of each other with a shared column, and don’t leave a blank header. Both make the Table awkward to filter and easy to break.

Try this today

Turn one plain range you update every month into a Table, name it, and replace one SUM range with a structured reference. Paste a new row at the bottom and check the total.

Excel Tables (Ctrl+T) are in Microsoft 365 and in older desktop Excel. Structured references travel with the workbook.

More Excel tips