← Back to all guides
Technology · 2 min READ

How to Make an Excel Table Fill Formulas Automatically

How to Make an Excel Table Fill Formulas Automatically guide illustration

Convert a plain list into an Excel table, enter a line-total formula once and check that it follows new orders as you add them.

Quick note

Follow these steps at your own pace. Check product terms and prices directly with providers before purchasing.

Quick answer

Select your data and press Ctrl+T. Check My table has headers and click OK. In an empty table column named Total, enter =[@Units]*[@Price] in the first data row. Excel fills the formula down the column and normally carries it into each new table row.

1. Start with two test orders

Type Units, Price and Total across A1:C1. In A2 and B2 enter 3 and 4. In A3 and B3 enter 2 and 7. Leave C2 and C3 empty. Giving each column one clear heading lets you read the formula later without remembering which letter contains the price.

2. Turn the range into an Excel table

Select A1:C3 and press Ctrl+T or choose Insert → Table. Confirm the selection includes the empty Total cells as well as the heading. Check My table has headers and click OK. Click a cell in the range and look for the Table Design tab. That tab confirms Excel recognizes the range as a table.

3. Create the calculated column

Click C2 and enter =[@Units]*[@Price]. Press Enter. C2 should show 12 and C3 should show 14. The @ symbol tells Excel to use the value from the current row. You can also build the formula by typing an equals sign, clicking A2, typing an asterisk and clicking B2.

Select the price and total cells and choose Currency on the Home tab if these are dollar amounts. Leave Units in a regular number format.

UnitsPriceExpected total
3$4$12
2$7$14
5 in new row$3$15

4. Test a row you have not entered yet

With the default table settings and no Total Row enabled, click C3 and press Tab to add a row at the bottom. Type 5 in A4 and 3 in B4. Check that C4 becomes 15 without pasting a formula. Change B4 to 4 and watch C4 change to 20. The first two totals should stay the same.

Why did only one row calculate?

Click the missed cell and check whether the Table Design tab appears. If the row lies outside the table, use Table Design → Resize Table to include it. If the column already holds manually entered totals, create a fresh blank table column for the formula and compare the two before replacing anything.

Microsoft Support · Use calculated columns in an Excel table

SHARE THIS GUIDE

Know someone who could use this?

DISCUSSION

Comments

Read or join the discussion.