Lesson 4: Creating Formulas

/en/excel2000/working-with-multiple-worksheets/content/

Introduction

By the end of this lesson, you should be able to:

  • Create a simple formula

Creating formulas

In school, you may have had to memorize certain formulas to work math problems. Microsoft Excel uses formulas to perform calculations within a spreadsheet. In this lesson, you will learn how to use Excel’s formula features.

Addition+
Subtraction-
Multiplication*
Division/
Exponentiation (to the power of)^
Precedence (do this first)(put in parentheses)
Equal to=
Not equal to< >
Greater than>
Less than<

Creating a simple formula

Let's start with a simple formula that contains one mathematical operation. All formulas begin with the equals sign (=), whether the formula consists of adding, subtracting, multiplying, or dividing. Here's an example of a simple formula: =B2-B3.

Formula Palette

To create a simple formula using the point-and-click method:

  1. Enter the numbers you want to calculate.
  2. Click the cell where you want the result to appear.
  3. Type the equals sign (=).
  4. Click the first cell to be included in the formula.
  5. Type a mathematical operator (such as the addition symbol +). The operator displays in the cell and in the Formula bar.
  6. Click the next cell in the formula.
  7. Repeat steps 4 and 5 until the entire formula is entered.
  8. Press Enter or click the Enter button on the Formula bar. This step ends the formula.

Important pointIf you move to another cell, Excel will include that cell in the formula.

Click the equals sign button on the Formula bar rather than the equals sign on the keyboard to open the Formula Palette, which lets you see the progress of a formula as you enter it.

Excel will not always tell you if your formula contains an error, so it's up to you to check all of your formulas. To learn how to do this, read the Double-Check Your Formulas lesson from our Excel Formulas tutorial.

Challenge!

  1. In cell A1, type 1,234.
  2. In cell A2, type 15,865.
  3. Click the cell where you want the result to appear.
  4. Type =.
  5. Click A1.
  6. Type the addition symbol (+). It displays in the cell and in the Formula bar.
  7. Click A2.
  8. Press Enter or click the Enter button Enter Button on the Formula bar to end the formula and display the result.

/en/excel2000/complex-formulas/content/