37
1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Embed Size (px)

Citation preview

Page 1: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

1

Excel Lesson 4Entering Worksheet Formulas

Microsoft Office 2010 Introductory

Pasewark & Pasewark

Page 2: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 222

Objectives

Enter and edit formulas. Distinguish between relative, absolute, and

mixed cell references. Use the point-and-click method to enter

formulas. Use the Sum button to add values in a range.

Page 3: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 333

Objectives (continued)

Preview a calculation. Display formulas instead of results in a

worksheet. Manually calculate formulas.

Page 4: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

What Are Formulas? Page EX80

The equation used to calculate values based on numbers entered in cells is called a formula.

Each formula begins with an equal sign (=). The results of the calculation appear in the

cell in which the formula is entered.

444

Page 5: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

What Are Formulas? (continued)

Formula and formula reset

5

Page 6: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Entering a Formula

Worksheet formulas consist of two components:– operands– operators

An operand is a constant (text or number) or cell reference used in a formula.

Example: Both the cell reference and the constant are operands in the formula =C5+9

666

Page 7: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Entering a Formula

An operator is a symbol that indicates the type of calculation to perform on the operands, such as a plus sign (+) for addition.

Formulas can include more than one operator.

777

Page 8: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Entering a Formula

After you finish typing a formula in a cell, you must enter it by pressing the Enter key, Tab key, or the Enter button (√) on the formula bar.

888

Page 9: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Entering a Formula (continued)

Mathematical operators

9

Page 10: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Entering a Formula (continued)

You can change which cells are included in a reference by dragging any corner of the colored outline to resize the selected range.

101010

Page 11: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Entering a Formula (continued)

A formula with multiple operators is calculated using the order of evaluation—the sequence used to calculate the value of a formula. – Contents within parentheses (beginning with

innermost) are evaluated first. – Mathematical operators are evaluated in a specific

order. (Shown in table on next slide).– If operators have the same order of evaluation, the

equation is evaluated from left to right.

111111

Page 12: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Entering a Formula (continued)

Order of evaluation

12

Page 13: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 131313

Editing Formulas page EX83

If you enter a formula with an incorrect structure in a cell, Excel opens a dialog box that explains the error and provides a possible correction.

Formula error message

Page 14: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 141414

Editing Formulas (continued)

If you discover that you need to make a correction, you can edit the formula.

Click the cell with the formula you want to edit. Press the F2 key or double-click the cell to enter editing mode or click in the Formula Bar.

Page 15: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 151515

Editing Formulas (continued)

Although Excel checks that the formula has the correct structure, it does not check that the formula contains the correct values or cell references.

Page 16: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 161616

Comparing Relative, Absolute, and Mixed Cell References page EX84

3 Types of cell references: 1. Relative cell reference

2. Absolute cell reference

3. Mixed cell reference

Page 17: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 171717

Comparing Relative, Absolute, and Mixed Cell References

A relative cell reference adjusts to its new location when copied or moved to another cell.

Example: Relative cell reference is used when you want to copy a formula that is the sum of 5 rows, and you want the formula to change as you copy it so that it shows the sum of 5 rows for each column.

Page 18: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 181818

Comparing Relative, Absolute, and Mixed Cell References

Absolute cell references do not change when copied or moved to a new cell.

Example: When you want to copy a formula from the bottom of the spreadsheet and put it at the top of the spreadsheet in a summary section and you want the formula to stay exactly the same and result in the same figure use the absolute cell reference.

Page 19: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 191919

Comparing Relative, Absolute, and Mixed Cell References

Cell references that contain both relative and absolute references are called mixed cell references.– References preceded by a dollar sign do not

change.

Page 20: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 202020

Comparing Relative, Absolute, and Mixed Cell References

You can press the F4 key to change a cell reference from a relative reference to an absolute reference to a mixed reference with an absolute row to a mixed reference with an absolute column and back to a relative reference.

Page 21: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 212121

Comparing Relative, Absolute, and Mixed Cell References

If you were using relative cell references, the formula =A3+A4 would change to =B3+B4 when copied from cell A5 to cell B5.

Page 22: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 222222

Comparing Relative, Absolute, and Mixed Cell References

When the formula =$A$3+$A$4 in cell A5 is copied to cell B7, the formula is =$A$3+$A$4 (stays the same)

Page 23: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 232323

Comparing Relative, Absolute, and Mixed Cell References

When formulas with mixed cell references are copied or moved, the row or column references preceded by a $ dollar sign do not change.

Page 24: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Comparing Relative, Absolute, and Mixed Cell References (continued)

Mixed cell references

24

Page 25: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 2525

Creating Formulas Quickly page EX86

You can include cell references in a formula more quickly by using the point-and-click method to click each cell rather than typing a cell reference.

Worksheet users frequently need to add long columns or rows of numbers. To use the Sum button, click the cell where you want the total to appear, and then click the Sum button.

25

Page 26: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 2626

Creating Formulas Quickly

A flashing colored border indicates that you can replace the current5 reference in the formula by clicking another cell or selecting a range.

26

Page 27: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 2727

Previewing Calculations page 89

When you select a range that contains numbers, the status bar shows the results of common calculations for the range.

By default, these calculations display the average value in the selected range, a count of the number of values in the selected range, and a sum of the values in the selected range.

27

Page 28: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 2828

Previewing Calculations

If you want to customize which calculations appear on the status bar, right-click the status bar to open the customize status bar menu.

28

Page 29: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Previewing Calculations (continued)

Summary calculation options for the status bar

29

Page 30: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Previewing Calculations (continued)

When using the Sum button, the active cell displays the sum.

The Sum button is located in the Editing group on the Home tab of the Ribbon.

30

Page 31: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory

Previewing Calculations (continued)

The SUM function that adds the numbers in the range D5:D17 is =SUM(D5:D17)

The number count calculations lists how many of the selected cells contain numbers.

31

Page 32: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 3232

Showing Formulas in the Worksheet page EX91

32

At times you may find it simpler to organize formulas and detect errors when formulas are displayed in their cells.

To make formulas visible, click the Formulas tab on the Ribbon, and then, in the Formula Auditing group, click the Show Formulas button. The formulas replace the formula results in the worksheet.

Page 33: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 3333

Showing Formulas in the Worksheet

33

You can also switch between showing formulas and showing formula results in a worksheet by pressing the Ctrl+’ (grave accent) keys.

Page 34: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 3434

Showing Formulas in the Worksheet

34

The formulas replace the formula results in the worksheet. If a cell does not contain a formula, the data entered in the cells remains displayed.

Page 35: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 3535

Calculating Formulas Manually page EX91

35

When you need to edit a worksheet with many formulas, you can specify manual calculation, which lets you determine when Excel calculates the formulas.

To switch to manual calculation, click the Calculations Options button in the Calculation group on the Formula tab, and then click manual.

Page 36: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 3636

Calculating Formulas Manually

36

The Formulas tab on the Ribbon contains all the buttons you need when working with manual calculations.

Page 37: 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark

Ex

cel L

es

son

4

Pasewark & Pasewark Microsoft Office 2010 Introductory 3737

Calculating Formulas Manually

37

Be able to know where Calculations Options button is located on the menu.

Be able to know where Calculate Now button is located.