Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Create and Edit Simple Formulas in Google Sheets

Add, subtract, multiply, and divide in Google Sheets with cell references, then edit formulas and check that the results use the right cells.

Table of Contents

To calculate a value in Google Sheets, select an empty cell, type = followed by your calculation, and press Enter. For example, =A1+B1 adds the values in A1 and B1. Using cell references lets the result update when those values change.

Choose the right mathematical operator

Every formula begins with an equals sign. Use these operators between numbers or cell references:

  • Add: =A1+B1
  • Subtract: =A1-B1
  • Multiply: =A1*B1
  • Divide: =A1/B1
  • Raise to a power: =A1^2

Create a simple recipe Picture 1

Use cell references instead of repeating numbers

A cell reference combines a column letter and a row number: C4 means column C, row 4. A formula such as =C4+C5 reads the values in those cells. If either value changes, Sheets recalculates the result.

Create a simple recipe Picture 2

You can also combine a cell reference with a fixed number. For example, =C4*2 doubles the value in C4. References keep a calculation connected to its inputs, but you still need to choose the correct cells.

Create a simple recipe Picture 3

Create a formula by typing cell addresses

For a budget, you might add two expense amounts stored in separate cells. Enter the formula in another cell so that you keep the original amounts.

1. Select the cell where you want the result to appear.

Create a simple recipe Picture 4

2. Type =, then the address of the first input cell. Sheets highlights the referenced cell so you can check your selection.

Create a simple recipe Picture 5

3. Type the operator, followed by the second cell address. For an addition, your formula should look like =C4+C5, using the addresses that match your sheet.

Create a simple recipe Picture 6

4. Press Enter. The cell displays the calculated result rather than the formula text.

Create a simple recipe Picture 7

Change one input value and check that the result updates. This is a useful way to confirm that the formula refers to the cells you intended.

Create a simple recipe Picture 8

Create a formula by clicking cells

Clicking cells while you build a formula helps avoid typing an incorrect address.

1. Select the result cell and type =.

Create a simple recipe Picture 9

2. Click the first input cell. Its address is inserted into the formula.

Create a simple recipe Picture 10

3. Type the operator, such as * for multiplication, then click the second input cell.

Create a simple recipe Picture 11

4. Press Enter to calculate. For example, a quantity cell multiplied by a unit-price cell gives a line total.

Create a simple recipe Picture 12

Edit an existing formula

1. Double-click the cell containing the formula to edit it.

Create a simple recipe Picture 13

2. Correct the cell reference, operator, or number. In the example below, the reference changes from C4 to C5.

Create a simple recipe Picture 14

3. Press Enter and check the new result against the input values.

Create a simple recipe Picture 15

Check the calculation before relying on it

  • Confirm that the highlighted references point to the intended inputs. A formula can produce a valid number while using the wrong cells.
  • Use parentheses to make grouping explicit. =(A1+B1)*C1 multiplies the combined total; =A1+B1*C1 multiplies B1 by C1 before adding A1.
  • When dividing, check that the divisor is not zero.
  • For several rows, follow the guide to basic formulas and copying cell references. To apply calculations to a budget, see creating a monthly spending tracker in Google Sheets.
Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.