Excel 2007 For Dummies
Book image
Explore Book Buy On Amazon

As entries go in Excel 2007, formulas are the real workhorses of the worksheet. If you set up a formula properly, it computes the right answer when you first enter it into a cell. From then on, it keeps itself up to date, recalculating the results whenever you change any of the values that the formula uses.

You let Excel know that you’re about to enter a formula in the current cell by starting the formula with the equal sign (=). Some formulas follow the equal sign with a built-in function, such as SUM or AVERAGE. Many simple formulas use a series of values or cell references that contain values separated by one or more of the following mathematical operators:

  • + (plus sign) for addition

  • - (minus sign or hyphen) for subtraction

  • * (asterisk) for multiplication

  • / (slash) for division

  • ^ (caret) for raising a number to an exponential power

For example, to create a formula in cell C2 that multiplies a value entered in cell A2 by a value in cell B2, enter the following formula in cell C2: =A2*B2

To enter this formula in cell C2, follow these steps:

  1. Select cell C2.

  2. Type the entire formula =A2*B2 in the cell.

  3. Press Enter.

Or

  1. Select cell C2.

  2. Type = (equal sign).

  3. Select cell A2 in the worksheet by using the mouse or the keyboard.

    This action places the cell reference A2 in the formula in the cell.

    To start the formula, type = and then select cell A2.
    To start the formula, type = and then select cell A2.
  4. Type * (Shift+8 on the top row of the keyboard).

    The asterisk is used for multiplication in Excel.

  5. Select cell B2 in the worksheet by using the mouse or the keyboard.

    This action places the cell reference B2 in the formula.

    To complete the second part of the formula, type * and select cell B2.
    To complete the second part of the formula, type * and select cell B2.
  6. Click the Enter box (the check mark in the Formula bar) to complete the formula entry, while at the same time keeping the cell cursor in cell C2.

    Excel displays the calculated answer in cell C2 and the formula =A2*B2 in the Formula bar.

    Click the Enter box, and Excel displays the answer in cell C2 while the formula appears in the Form
    Click the Enter box, and Excel displays the answer in cell C2 while the formula appears in the Formula bar above.

If you select the cell you want to use in a formula, either by clicking it or moving the cell pointer to it, you have less chance of entering the wrong cell reference.

After creating a formula like the preceding one that refers to the values in certain cells (rather than containing those values itself), you can change the values in those cells, and Excel automatically recalculates the formula, using these new values and displaying the updated answer in the worksheet! Using the example shown in the figures, suppose that you change the value in cell B2 from 100 to 50. The moment that you complete this change in cell B2, Excel recalculates the formula and displays the new answer, 1000, in cell C2.

About This Article

This article is from the book:

About the book author:

Greg Harvey has authored tons of computer books, the most recent being Excel Workbook For Dummies and Roxio Easy Media Creator 8 For Dummies, and the most popular being Excel 2003 For Dummies and Excel 2003 All-In-One Desk Reference For Dummies. He started out training business users on how to use IBM personal computers and their attendant computer software in the rough and tumble days of DOS, WordStar, and Lotus 1-2-3 in the mid-80s of the last century. After working for a number of independent training firms, Greg went on to teach semester-long courses in spreadsheet and database management software at Golden Gate University in San Francisco.
His love of teaching has translated into an equal love of writing. For Dummies books are, of course, his all-time favorites to write because they enable him to write to his favorite audience: the beginner. They also enable him to use humor (a key element to success in the training room) and, most delightful of all, to express an opinion or two about the subject matter at hand.
Greg received his doctorate degree in Humanities in Philosophy and Religion with a concentration in Asian Studies and Comparative Religion last May. Everyone is glad that Greg was finally able to get out of school before he retired.

This article can be found in the category: