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
- Click any cell in the range. Include the header row.
- Press Ctrl+T (Cmd+T on a Mac) and confirm that “My table has headers” is checked.
- On the Table Design tab, change the table name from
Table1to something you can say out loud, likePolicies. 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.
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
List only the rows you mean with FILTER
FILTER spills the matching rows onto the sheet. =FILTER(Policies, Policies[State]="TX", "Nothing in force for TX") stays current when the table changes.
Excel · 4 minSplit a policy number without a helper column
TEXTBEFORE, TEXTAFTER, and TEXTSPLIT pull a policy number apart in the cell where you need the piece. No Flash Fill, no Text to Columns, no broken leftovers.
Excel · 4 minReplace VLOOKUP with XLOOKUP
XLOOKUP looks left or right, defaults to an exact match, and can return a sentence instead of #N/A. Use =XLOOKUP(E2, Policies[PolicyNumber], Policies[Insured], "Not on the bordereau").