Excel Formulas Step by Step Tutorial
Excel Formulas Step by Step Tutorial
Excel Formulas Overview
© Ted French
This tutorial covers in detail how to create and use formulas, including a step by step example of
a basic Excel formula. It is intended for those with little or no experience in working with
spreadsheet programs such as Excel.
Writing the Formula
Microsoft Excel Formulas Tutorial
© Ted French
Writing Excel formulas is a little different than the way it is done in math class.
Excel formulas starts with the equal sign ( = ) rather than ending with it.
The equal sign always goes in the cell where you want the formula answer to appear.
The equal sign informs Excel that what follows is part of a formula, and not just a name or a
number.
=3 + 2
rather than:
3+2=
© Ted French
Cell References in Formulas
While the formula in the previous step works, it has one drawback. If you want to change the
data being calculated you need to edit or rewrite the formula.
A better way would be to write formulas so that you can change the data without having to
change the formulas themselves.
To do this, you need to tell Excel which cell the data is located in. A cell's location in the
spreadsheet is referred to as its cell reference.
To find a cell reference, simply look at the column headings to find which column the cell is in,
and across to find which row it is in.
The cell reference is a combination of the column letter and row number -- such as A1, B3, or
Z345. When writing cell references the column letter always comes first.
=3+2
= A1+A2
Note: When you click on a cell containing a formula in Microsoft Excel (see the example
above), the formula always appears in the formula bar located above the column letters (circled
in red in the example).
Updating Excel Formulas
© Ted French
For example, if you realize that the data in cell A1 should have been an 8 instead of a 3, you only
need to change the contents of cell A1.
Excel updates the answer in cell C1. The formula, itself, doesn't need to change because it was
written using cell references.
The answer in cell C1 where the formula is, immediately changes from 5 to 10, but the formula
itself is unchanged.
The mathematical operator keys on the number pad are used to create Excel Formulas.
© Ted French
Mathematical Operators
Creating formulas in Microsoft Excel is not difficult. Just combine the cell references of your
data with the correct mathematical operator.
The mathematical operators used in Excel formulas are similar to the ones used in math class.
Subtraction - minus sign ( - )
Addition - plus sign ( + )
Division - forward slash ( / )
Multiplication - asterisk (* )
Exponentiation - caret (^ )
Order of Operations
If more than one operator is used in a formula, there is a specific order that Excel will follow to
perform these mathematical operations. This order of operations can be changed by adding
brackets to the equation. An easy way to remember the order of operations is to use the acronym:
BEDMAS
Brackets
Exponents
Division
Multiplication
Addition
Subtraction
Any operation(s) contained in brackets will be carried out first followed by any exponents.
After that, Excel considers division or multiplication operations to be of equal importance, and
carries out these operations in the order they occur left to right in the equation.
The same goes for the next two operations – addition and subtraction. They are considered equal
in the order of operations. Which ever one appears first in an equation, either addition or
subtraction, is the operation carried out first.
Let's try a step by step example. We will write a simple formula in Excel to add the numbers 3 +
2.
© Ted French
When creating formulas in Microsoft Excel, you ALWAYS start by typing the equal sign. You
type it in the cell where you want the answer to appear.
1. Click on cell C1(outlined in black in the image) with your mouse pointer.
© Ted French
After typing the equal sign in step 2, you have two choices for adding cell references to the
spreadsheet formula.
Pointing allows you to click with your mouse on the cell containing your data to add its cell
reference to the formula.
1. Click on cell A1 with the mouse pointer to enter the cell reference into the formula
2. Type a plus (+) sign
3. Click on cell A2 with the mouse pointer to enter the cell reference into the formula
4. Press the ENTER key on the keyboard
If you have more than one row or column of data that you need to perform calculations on, it is
often possible to copy the first formula to other cells.