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

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.

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 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.

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

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.

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

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 formula by clicking cells
Clicking cells while you build a formula helps avoid typing an incorrect address.
1. Select the result cell and type =.

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

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

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

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

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

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

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)*C1multiplies the combined total;=A1+B1*C1multiplies 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.
Reader Comments 0
Sign in with email or Google to join the discussion.