| TechTrain | ![]() ![]() ![]() ![]() ![]() |
||||||
|
|||||
Objectives:Open an existing worksheetIf your worksheet is not open,
The Open dialog box appears. Using Formulas in your worksheetYour sheet will look like the one illustrated below when you complete this activity.
To enter a formula you need to know the calculation needed and the cells to be used in the calculation. In this example, we will calculate the average of the January temperatures in Alaska and Michigan. We will use Alaska’s January temperature (located in cell B3) and Michigan’s January temperature (located in cell B4) and place the result in cell B5.
Note: The equal sign (=) is critical. Note: The result -4 is returned. Note: The result 3 is returned. You did not need to re-enter the formula or recalculate the result. Excel did that for you. Using Copy and PasteYou need to enter the same formula for February, March, April, . . . December. That can be very time consuming. Instead of re-entering the formula, we will copy and paste.
-or- -or- Note: The result 20 is returned.
Using Copy and Paste - (More)You still need to copy the formula to March, April, . . . December.
-or- Click on the Copy button. (All the cells in the "average" row with no formula.) -or- Click on the Paste button. Note: The formula was entered in all selected cells. You did not need to re-enter the formula or recalculate the result. Using FunctionsMany times you use a spreadsheet to handle large quantities of data. If you had to calculate the average annual temperature in Alaska, you could enter the formula =(B3+C3+D3+E3+F3+G3+H3+I3+J3+K3+L3+M3)/12. However, this would be a lot of typing. Instead, you could use a function. Excel has hundreds of functions available for you to use. The function we need is the AVERAGE function. Using the AVERAGE function, you indicate the starting cell and ending cell addresses, but not all the addresses in between.
-or- Type the formula =AVERAGE(B3:M3) -or- Type the formula =AVERAGE(B3..M3) Note: The equal sign (=) is critical. Also, the period (.) or colon (:) or double dots (..) each tell Excel to average the RANGE of numbers between B3 and M3. The function =AVERAGE(B3,M3) with the comma separating the two cell addresses would tell Excel to average January’s temperature and December’s temperature and ignore February, March, etc. Note: The result 30.75 is returned. Calculate the average for Michigan by entering the function or by copying and pasting. Functions Available with Excel To see a complete list of the worksheet functions available with Excel,
Formatting Numeric DataNote that some averages are whole numbers and some are decimal fractions. We would like all the numbers to appear as whole numbers on our sheet.
Note: All numbers are rounded to whole numbers on the display. Save your worksheet |
|||||
|
|||||