What is a formula?

Formula basics · About 3 minutes

What is a formula?

A formula is an instruction you type into a cell. It always starts with =.

Exercise 1 of 3 · Worked example

In C2, add the price of Rice (B2) and Soap (B3). Type =B2+B3 and press Enter.

ABC
1ItemPrice ($)
2Rice3.49 (answer cell)
3Soap1.99
4Pasta2.29
5Broom8.99
6Tea4.49

Questions people ask

Why does my formula show as text instead of the answer?

A formula must start with =. If the cell shows the formula itself, look for a missing =, a space before it, or a cell formatted as Text. Fix that, then type the formula again.

What is the difference between a formula and a function?

A formula is anything you type that starts with =, like =B2+B3. A function is a named tool you use inside a formula, like SUM in =SUM(B2:B6).

Do formulas work the same in Excel and Google Sheets?

For everyday formulas, yes. Both start with =, use the same signs and share most function names.

How do I see the formula behind a cell?

Click the cell and look at the formula bar above the grid. The cell shows the answer and the bar shows the formula that made it.

Does a formula update when the numbers change?

Yes, when it points at cells. =B2+B3 works out again whenever B2 or B3 changes. A formula with typed numbers, like =40+25, never changes.

Theme