Formulas: Mathematical Operators
Formulas: Mathematical Operators
Introduction
One of the most powerful features in Excel is the ability to calculate numerical information using
formulas. Just like a calculator, Excel can add, subtract, multiply, and divide. In this lesson, we'll show
you how to use cell references to create simple formulas.
Mathematical operators
Excel uses standard operators for formulas: a plus sign for addition (+),
minus sign for subtraction (-), asterisk for multiplication (*), forward
slash for division (/), and caret (^) for exponents.
All formulas in Excel must begin with an equals sign (=). This is
because the cell contains, or is equal to, the formula and the value it
calculates.
While you can create simple formulas in Excel using numbers (for
example, =2+2 or =5*5), most of the time you will use cell addresses to
create a formula. This is known as making a cell reference. Using cell
references will ensure that your formulas are always accurate because
you can change the value of referenced cells without having to rewrite
the formula.
Instead of typing cell addresses manually, you can point and click the cells you want to include in your
formula. This method can save a lot of time and effort when creating formulas. In our example below,
we'll create a formula to calculate the cost of ordering several boxes of plastic silverware.
In the example below, we'll demonstrate how Excel uses the order of operations to solve a more
complex formula. Here, we want to calculate the cost of sales tax for a catering invoice. To do this, we'll
write our formula as =(D3+D4+D5)*0.075 in cell D6. This formula will add the prices of our items, then
multiply that value by the 7.5% tax rate (which is written as 0.075) to calculate the answer.
Excel follows the order of operations and first adds the values inside the parentheses:
(45.80+68.70+159.60) = 274.10. It then multiplies that value by the tax rate: 274.10*0.075. The result
will show that the sales tax is $20.56.
Relative references
By default, all cell references are relative references. When copied across multiple cells, they change
based on the relative position of rows and columns. For example, if you copy the formula =A1+B1 from
row 1 to row 2, the formula will become =A2+B2. Relative references are especially convenient
whenever you need to repeat the same calculation across multiple rows or columns.
Absolute references
An absolute reference is designated in a formula by the addition of a dollar sign ($). It can precede the
column reference, the row reference, or both.
***Note that if a worksheet name contains a space, you'll need to include single quotation marks (' ')
around the name. For example, if you wanted to reference cell A1 on a worksheet named July Budget,
its cell reference would be 'July Budget'!A1.
In our example below, we'll refer to a cell with a calculated value between two worksheets. This will
allow us to use the exact same value on two different worksheets without rewriting the formula or
copying data.