Smart Systems for Home

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

Google Sheets Addition Formula: How to Add Cells

· 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

You add in Google Sheets with a formula that starts with an equals sign, followed by the numbers, cell references (like A1+B1), or ranges you want totalled. The fastest working method is =SUM(A1:A10), which adds every value in a column in one shot. Type it into an empty cell, press Enter, and the total appears. If you are adding a plain list of hand-typed numbers, =5+3+2 also works, but cell references and SUM are what you want in practice because they update automatically when your data changes.

This guide covers the three main ways to add in Sheets, how to add filtered or conditional totals, and the mistakes that quietly produce wrong answers.

What You'll Need

  • A Google account and access to Google Sheets at sheets.google.com or in the mobile app (Android and iOS).
  • A spreadsheet with some numbers in it, or a blank one to practise in.
  • Basic awareness of rows (the numbers down the left side) and columns (the letters across the top), because formulas refer to cells like B4.

Step-by-Step

Method 1: Add two or more cells with a plus formula

  1. Click an empty cell where you want the answer to appear, such as the cell directly below a column of numbers.
  2. Type = to start a formula. Sheets will show a small formula prompt.
  3. Click the first cell you want to add, or type its reference, for example B2.
  4. Type +, then click the next cell or type its reference, for example B3. The formula bar should now read =B2+B3.
  5. Press Enter (or the check mark on mobile). The cell shows the total.
  6. Repeat with + for each additional cell, as in =B2+B3+B4. This is fine for three or four cells, but it gets tedious fast.

Method 2: Add a whole column or range with SUM

  1. Click the empty cell under your column of numbers.
  2. Type =SUM(.
  3. Drag to select the cells you want to add, or type the range, for example B2:B25.
  4. Close the bracket with ) so the formula reads =SUM(B2:B25), then press Enter.
  5. Check the result against a rough mental total or a couple of manual additions.
  6. To fill the same formula across several columns, click the cell, grab the small blue square in its bottom-right corner (the fill handle), and drag sideways or double-click it to copy down. Sheets adjusts the references for each column automatically.

Method 3: Add non-adjacent cells or mixed ranges

  1. Type =SUM( in an empty cell.
  2. Select or type the first range or cell, then type a comma with no space and add the next, for example =SUM(B2:B10,D2:D10,F5).
  3. Press Enter. SUM accepts as many cells and ranges as you separate with commas.

Adding only rows that meet a condition

  1. Use SUMIF when one condition applies, for example adding sales only for one product: =SUMIF(A2:A100,"Widget",B2:B100). The first range is what to check, the second argument is the value to match in quotes, and the third range is what to add.
  2. Use SUMIFS when several conditions apply, for example product and region: =SUMIFS(C2:C100,A2:A100,"Widget",B2:B100,"North"). Here the sum range comes first, then pairs of criteria range and criteria value.
  3. For a visible-rows-only total, use =SUBTOTAL(9,B2:B100). This ignores rows hidden by a filter, which plain SUM does not.

Common Mistakes

  • Numbers stored as text. If a cell is left-aligned by default and has a small green triangle, Sheets treats it as text. SUM ignores text, so your total is short. Fix it with =VALUE(A1) or by clearing the apostrophe or formatting and retyping the number.
  • Forgetting the equals sign. Typing SUM(A1:A5) without = puts the text in the cell instead of a result.
  • Including the total cell in its own range. If your total is in B20 and your formula is =SUM(B2:B20), you create a circular reference. End the range at B19.
  • Expecting SUM to add across different sheets without a reference. Cross-sheet totals need the sheet name, for example =SUM(Sales!B2:B20). Names with spaces need single quotes: =SUM('Q1 Sales'!B2:B20).
  • Summing a filtered list with SUM. Hidden rows are still included. Use SUBTOTAL or AGGREGATE instead.
  • Adding currency and plain numbers without formatting. The maths still works, but the result may lose the currency symbol. Reapply currency formatting to the total cell.

Tips

  • Press Ctrl+Shift+Enter on the keyboard after selecting a range of cells to insert a SUM formula that totals that range in the cell below it, a quick shortcut on desktop.
  • Use =SUM( then click the column letter header to sum the whole column, as in =SUM(B:B). Do not put the total inside that same column.
  • SUBTOTAL with code 9 adds visible rows; code 109 does the same but also skips manually hidden rows, which is useful when you hide rows by hand rather than by filter.
  • Format totals as Number or Currency from the toolbar so long decimals do not confuse readers, and use the decimal-place buttons to control rounding display. The underlying value keeps full precision.
  • Freeze your header row with View > Freeze > 1 row so you can see column labels while you build formulas.
  • If you build a sheet other people edit, protect formula cells so nobody overwrites them accidentally.

Troubleshooting

  • The cell shows #NAME? A function name is misspelled or a sheet reference inside quotes is wrong. Check for =SUMM( or a missing quote around a sheet name.
  • The cell shows #VALUE! One of the referenced cells contains text where a number is expected. Find it by selecting the range and looking for text entries.
  • The cell shows #REF! A referenced cell or sheet was deleted, or a row or column you referenced was removed. Rebuild the formula with the correct references.
  • The total is zero when it should not be. Almost always text-formatted numbers or a range that points at empty cells. Check the formula bar to confirm the exact range.
  • The result is different from what you expect in a filtered view. Switch to SUMIF or SUBTOTAL as described above.
  • A circular reference warning appears. Your formula includes the cell that holds it. Shorten the range or move the formula outside it.
  • Formula text appears instead of a result. The cell is formatted as plain text, or you left off the equals sign. Change the format to Number or Automatic and retype the formula.

Frequently Asked Questions

Why does my SUM ignore some numbers?

Those cells are almost certainly stored as text. Look for left alignment or a green warning triangle, then convert them to numbers and the SUM will include them.

Can I add numbers across different sheets?

Yes. Reference each sheet by name, as in =SUM(Sheet1!A1:A10,Sheet2!A1:A10). Put single quotes around sheet names that contain spaces.

Is there an AutoSum button in Google Sheets?

There is no dedicated AutoSum button like in some desktop spreadsheet programs, but the keyboard shortcut above inserts a SUM quickly on desktop, and typing =SUM( and dragging the range is just as fast. The mobile apps do not offer that keyboard shortcut.

How do I add only positive or negative numbers?

Use SUMIF with a comparison, for example =SUMIF(A1:A50,">0") for positives or =SUMIF(A1:A50,"<0") for negatives.

Why does the total change when I sort my data?

Sorting moves values but relative references usually follow the cells, so the total should stay the same. If it changes, check whether your range was hard-coded to specific rows or a row was added outside the range.

Can I add a column of dates or times?

SUM can add time values only in the way Sheets stores them. Dates added as numbers produce a date serial, which looks odd. For time totals, SUM works, but format the result as Duration rather than a time or date format.