Aral Code

Formulas & References Lesson 3 of 13

Excel Formulas — Operators and Order of Operations

Write Excel formulas with + - * / ^ and &, use cell references instead of typed numbers, follow the order of operations, copy formulas down, and fix common formula errors.

A formula is a calculation that starts with =. Formulas usually refer to other cells, so when the data changes, the results update automatically.

Operators

OperatorMeaningExampleResult
+Add=25+1540
-Subtract=100-4555
*Multiply=12*336
/Divide=10/42.5
^Power=2^101024
&Join text="Grade "&10Grade 10

Use cell references, not typed numbers

ABCD
1ItemPriceQtyAmount
2Pandesal2.5010=B2*C2
3Kape84=B3*C3
4Itlog96=B4*C4
5|Total=D2+D3+D4

The formulas show results in the actual sheet:

ABCD
1ItemPriceQtyAmount
2Pandesal2.501025
3Kape8432
4Itlog9654
5|Total111

Because D2 uses =B2*C2 instead of =2.5*10, changing the price or quantity updates the amount and the total.

Copying formulas down

Write the formula once in D2, then drag the fill handle down (or double-click it). Excel adjusts the row numbers automatically: D3 becomes =B3*C3, D4 becomes =B4*C4. This is called a relative reference, explained in the next lesson.

Order of operations

Excel follows the math rules: parentheses, then ^, then * and /, then + and -.

AB
1FormulaResult
2=2+3*414
3=(2+3)*420
4=88+91+85/3207.33
5=(88+91+85)/388

The third formula is a classic mistake when computing averages: only 85 is divided by 3.

Joining text with &

ABC
1FirstLastFull name
2JuanDela Cruz=A2&" "&B2

Result: Juan Dela Cruz. Text inside a formula goes in double quotes: " " is a space.

Seeing formulas

  • Click a cell to see its formula in the formula bar.
  • Ctrl + ` (the key left of 1) shows all formulas in the sheet at once; press it again to go back.

Common error values

ErrorMeaningUsual fix
#DIV/0!Division by zero or an empty cellCheck the divisor; wrap with IFERROR
#VALUE!Wrong kind of value, e.g. text in mathCheck for numbers stored as text
#NAME?Excel doesn't recognize a nameFix a misspelled function, like =SUMM(...)
#REF!The formula points to a deleted cellRewrite the reference
#N/AA lookup found no matchCheck the lookup value (VLOOKUP lesson)
####Not an error: the column is too narrowWiden the column

Quick Quiz

Check what you learned. Walang grade ito, practice lang. 🙂

1. What is the result of =2+3*4?
2. Which formula correctly averages B2, C2 and D2?
3. Which operator joins text?
4. What does #NAME? usually mean?

By Sir Reyel · Last updated 2026-12-04