Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Sum a Column in Google Sheets

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To get the sum of a column in Google Sheets, click the first empty cell below your numbers and type =SUM(B2:B50), replacing B2:B50 with your actual range, then press Enter. The total appears in that cell and updates automatically whenever you edit a value in the range. If you just want a quick glance and not a permanent formula, select the column and read the total in the status bar at the bottom right of the window. Both methods are covered in detail below, along with the traps that make a sum come out wrong.

What You'll Need

  • A Google account signed in to Google Sheets in a browser, or the Google Sheets app on Android or iOS. The app is free from the official Play Store or App Store.
  • A spreadsheet with at least one column of numbers. Numbers must be stored as numbers, not as text, or they will be ignored by the formula.
  • Edit or comment access to the file if it belongs to someone else. View-only access will let you see a sum but not add one.

Step-by-Step

  1. Open your spreadsheet at sheets.google.com or in the Google Sheets app. If you are starting fresh, type your numbers into a single column, one value per row.
  2. Check that the numbers are really numbers. By default, numeric entries align to the right edge of the cell and text aligns to the left. If your numbers sit on the left, they are being read as text and SUM will return zero for them. Select the column, then use Format > Number > Number to convert. Note that menu labels can differ slightly between versions, devices and regions.
  3. Click the first empty cell directly below the last number in the column. Leaving a blank row between the data and the formula is fine and is often tidier, but the formula must not include its own cell or you will get a circular reference error.
  4. Type =SUM( and then drag from the first number in the column to the last. Sheets inserts the range reference for you, for example B2:B50. Alternatively, type the range by hand.
  5. Type a closing parenthesis and press Enter. The cell now shows the total.
  6. To sum the entire column regardless of how many rows you add later, use a full-column reference such as =SUM(B:B). This is handy for running logs, but it will also include any number placed anywhere else in column B, including a header if that header is numeric.
  7. To sum only rows that meet a condition, use SUMIF or SUMIFS instead. For example, =SUMIF(A2:A50,"Paid",B2:B50) adds the values in B only where column A says Paid.
  8. On the desktop, you can also get a quick total without writing a formula: select the cells you want to add and look at the bottom right of the window. Sheets shows Sum, Average, Min, Max and Count for the selection. This is read-only and disappears when you click elsewhere.
  9. If you want the total to sit at the top of a long column, freeze the header rows with View > Freeze > 1 row, then place the SUM formula in a cell near the top and keep it visible while scrolling.
  10. Copy the formula down or across if you need totals for several columns. Relative references adjust automatically, so dragging the fill handle from a cell containing =SUM(B2:B50) one column to the right gives you =SUM(C2:C50).

Common Mistakes

  • Numbers stored as text. The most frequent cause of a zero or low total. Check alignment and convert with Format > Number. A green triangle in the corner of a cell is another hint.
  • Circular reference. If the SUM formula's own cell falls inside the range, Sheets shows a circular dependency warning and refuses to calculate. Move the formula out of the range.
  • Hiding rows instead of filtering. SUM includes hidden rows. If you filtered the sheet and expected only visible rows to be added, you need SUBTOTAL with function number 9, for example =SUBTOTAL(9,B2:B50), which ignores rows hidden by a filter.
  • Stray text in the column. SUM ignores text silently, so a total can look plausible while quietly skipping a value. Scan the column for entries like "n/a" or numbers with a trailing space.
  • Including the header. A text header is ignored, so this is usually harmless, but a numeric header such as a year will be added in.
  • Typing the range wrong. A missing colon or a reversed range such as B50:B2 will throw an error or return an unexpected result.

Tips

  • Name your range with Data > Named ranges, then write =SUM(Sales). It is easier to read and survives inserted rows.
  • Use =SUM(B2:B) to cover everything from row 2 to the bottom of the sheet without a fixed end row.
  • Press Ctrl+` (the backtick key) on a desktop keyboard to toggle showing formulas instead of results, which makes auditing a sheet much faster.
  • Apply a number format such as currency or two decimal places with Format > Number so the total reads cleanly.
  • Keep raw data on one sheet and totals on another, referencing across sheets with =SUM(Data!B2:B50).
  • If you share the sheet, protect the total cell with Data > Protect sheets and ranges so nobody overwrites the formula by accident.

Troubleshooting

If the total is zero, first check whether the cells are text. Select one and look at the formula bar: a leading apostrophe means Sheets is treating the entry as text. Remove it or reformat the column. Next, confirm the range actually covers the data by clicking the formula cell and checking the highlighted border on the sheet.

If you see #VALUE!, the range likely contains something SUM cannot handle, such as an error value from another formula. Find the source cell and fix it. If you see #NAME?, the function name is misspelled or the sheet is set to a locale where the separator differs; in many European locales the argument separator is a semicolon, so the formula becomes =SUM(B2:B50) with the same colon but semicolons between multiple arguments.

If the total is lower than expected, look for filtered or hidden rows, duplicate entries, or numbers pasted with a trailing space. If the total changes unexpectedly after sorting, check whether any formula used fixed references with dollar signs in the wrong place.

If the formula will not enter at all, confirm you have edit access and that the sheet is not protected. Finally, reload the browser tab or close and reopen the mobile app; a stale session is a common cause of odd behaviour, and no data is lost by reloading.

Frequently Asked Questions

How do I sum a column in the Google Sheets mobile app?

Tap the cell where you want the total, tap the formula bar or the function button, type =SUM( and then drag the selection handles over the column, or type the range manually, and confirm. The app has no status-bar total, so a formula is the reliable route on phones and tablets.

Why does SUM return 0 when there are clearly numbers in the column?

The values are almost certainly stored as text. Reformat the column as a number, or retype a value to test. Imported CSV files and data pasted from websites are the usual culprits.

Does SUM include hidden or filtered rows?

Hidden rows are included. Rows hidden by a filter are also included by SUM. Use SUBTOTAL with function number 9 if you want filtered-out rows excluded from the total.

Can I sum a column that keeps growing?

Yes. Use a full-column reference like =SUM(B:B) or an open-ended range like =SUM(B2:B). Both pick up new entries automatically as long as the formula cell itself is not inside the column being summed.

What is the difference between SUM and SUMIF?

SUM adds every number in a range. SUMIF adds only the values that match a condition you specify, and SUMIFS lets you apply several conditions at once.

Will the sum update if I change a number?

Yes. The formula recalculates automatically whenever any cell in its range is edited, so there is no need to refresh or re-enter it.