← Excel and spreadsheets

Formulas and order of operations

Start with =, use cell addresses, and remember multiply before add.

Start this lesson

Every formula starts with an equals sign. Use + and - to add and subtract, * to multiply, / to divide and ^ for powers. The spreadsheet follows the usual order of operations: parentheses, then powers, then multiply and divide, then add and subtract. Put parentheses in when you want something done first.

Example: A1 is 4, B1 is 6 and C1 is 5. What do =A1+B1*C1 and =(A1+B1)*C1 return?

  1. =A1+B1*C1 — Multiply first: 6 times 5 is 30
  2. 4 + 30 = 34 — Then add
  3. =(A1+B1)*C1 = 10 times 5 = 50 — Parentheses change the order

Why it works: The sheet follows the same order of operations as math class, so a formula means the same thing to everyone. Formulas use addresses, so changing a number updates every answer.

Tip: If you forget the equals sign, the cell just shows the text you typed instead of an answer.