
What Is a Formula in Excel? A Beginner's Guide
What Is a Formula in Excel? A Beginner's Guide
Formulas are what separate Excel from a simple table. They let you calculate, analyze, and transform data automatically — so when your numbers change, your results update instantly. If you have never written a formula before, this guide will get you started.
What Is a Formula?
A formula is an instruction you write in a cell that tells Excel to calculate something. Every formula starts with an equals sign (=). When Excel sees that sign, it knows to calculate the expression that follows rather than display it as plain text.
For example: typing =2+2 in a cell makes Excel display 4. Typing =A1+B1 adds the values in cells A1 and B1. Typing =SUM(A1:A10) adds up all ten values in the range A1 through A10.
Formula Building Blocks
Formulas can contain:
- Numbers: =10*5 multiplies 10 by 5
- Cell references: =A1+B1 adds the values in those cells
- Operators: + (add), - (subtract), * (multiply), / (divide), ^ (exponent)
- Functions: Built-in calculations like SUM, AVERAGE, IF
- Text: Text in formulas must be enclosed in quotation marks
Why Use Cell References Instead of Numbers?
Instead of typing =500+250, it is better to put 500 in cell A1, 250 in A2, and write =A1+A2. Now if either number changes, your formula updates automatically. Hardcoding numbers into formulas creates a maintenance nightmare — change the formula when values change.
Entering a Formula
- Click the cell where you want the result.
- Type = to start the formula.
- Type your expression or start selecting cells with the mouse.
- Press Enter when done. The result appears in the cell.
Editing a Formula
Click the cell containing a formula. The formula appears in the formula bar. Click in the formula bar to edit it, then press Enter to confirm. Or press F2 to enter edit mode directly in the cell.