What a total row does and when to use it
A total row is a row that Excel adds to the bottom of your table and automatically fills with sum formulas, counts, or other calculations for each column. Instead of manually typing =SUM() formulas below your data, you check a box and Excel does it for you. The total row updates whenever your data changes, so if you add a new expense or sales figure to your table, the totals recalculate when ready.
Total rows work best when you have a table with numbers you want to add up — expenses, sales figures, inventory counts, hours worked. They are less useful for tables that are mostly text or where you only need totals in one or two columns.
This feature only works if your data is formatted as an Excel table, not just a range of cells. If you have not yet converted your data to a table, that is the first step.
Key Takeaways
- Your data must be formatted as an Excel table before you can add a total row — a regular range of cells will not work.
- Once you add a total row, Excel automatically fills numeric columns with SUM formulas and text columns with COUNT formulas.
- You can change what calculation each column uses — switch from SUM to AVERAGE, COUNT, MIN, or MAX by clicking the dropdown in that cell.
- The total row stays at the bottom of your table and updates automatically whenever you add or change data.
Convert your data to a table first
Click any cell inside your data range — it does not matter which one. Then go to the Home tab at the top and look for the Format as Table button. Click it and choose any table style from the gallery that appears. Excel will highlight your entire data range and add filter buttons to the header row.
If you do not see Format as Table, you may be using an older version of Excel. Look instead for Table under the Insert tab, or right-click your data and choose Format as Table.
Excel will ask you to confirm the range it detected. Make sure the range includes all your data and that the My table has headers checkbox is checked if your first row contains column names. Click OK.
Add the total row
Click anywhere inside your table. Go to the Table Design tab (or Design tab in older Excel versions) at the top of the screen. Look for the Total Row checkbox on the right side and click it.
Excel will add a new row at the bottom of your table with the word "Total" in the first column. Numeric columns will automatically fill with SUM formulas. Text columns will show COUNT formulas, which count how many cells contain text.
If you do not see the Table Design tab, click inside your table first — the tab only appears when a table is selected.
Change the calculation for each column
Click the dropdown arrow that appears in any total row cell to change what calculation it uses. You will see options like Sum, Average, Count, Count Numbers, Max, Min, and None. Choose the one you need.
Sum adds all the numbers in that column. Average divides the total by how many numbers there are. Count counts how many cells have any content. Count Numbers counts only cells with numbers. Max shows the largest number, and Min shows the smallest. None removes the formula from that cell.
You can use different calculations in different columns. For example, you might sum your sales figures but show the average price in another column. Each cell in the total row works independently.
What happens when you add or delete rows
When you type new data into the row just below your table, Excel automatically extends the table to include that row. The total row moves down and recalculates to include the new data. You do not have to do anything — it happens on its own.
If you delete a row from inside the table, the totals update when ready. If you delete the total row by accident, just click the Total Row checkbox again to add it back.
Remove the total row
If you no longer need the total row, click anywhere inside your table and go to the Table Design tab. Click the Total Row checkbox again to uncheck it. The total row disappears, but your table remains formatted as a table.
Unchecking the box does not delete your data — it only hides the total row. If you check the box again later, a new total row will appear with the same calculations you had before.
Frequently Asked Questions
Can I use a total row if my data is not formatted as a table?
No. The total row feature only works on Excel tables. If your data is just a range of cells, you must format it as a table first. Click inside your data, go to Home or Insert, and choose Format as Table or Table.
Why does my text column show COUNT instead of SUM?
Excel assumes text columns should be counted, not summed. Click the dropdown in that cell and choose Sum if you want to add numbers in that column instead. If the column truly contains only text, Count is the correct choice.
Can I move the total row to a different location?
No. The total row always appears at the bottom of your table. If you need totals in a different place, you can add a separate row below your table and write formulas manually, but that row will not be part of the table itself.
What if I want different totals for different parts of my data?
Create separate tables for each section. Format each section as its own table and add a total row to each one. This way each table has its own totals that update independently.
Does the total row formula change if I sort or filter my table?
The SUM formula in the total row includes all rows in the table, even hidden ones. If you filter your table to show only certain rows, the total still includes the hidden rows. If you need a total that only counts visible rows, you must write a SUBTOTAL formula manually instead.