Presentation is loading. Please wait.

Presentation is loading. Please wait.

exploring Microsoft Office 2013 Plus

Similar presentations


Presentation on theme: "exploring Microsoft Office 2013 Plus"— Presentation transcript:

1 exploring Microsoft Office 2013 Plus
by Mary Anne Poatsy, Keith Mulbery, Cyndi Krebs, Eric Cameron, Jason Davidson, Lynn Hogan, Amy Rutledge Chapter 2 Formulas and Functions This chapter reviews how to perform quantitative analysis, focusing on formulas and functions. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

2 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Objectives Use relative, absolute, and mixed cell references in formulas Correct circular references Insert a function Insert basic math and statistical functions Use date functions The objectives of Chapter 2 include: Use relative, absolute, and mixed cell references in formulas Correct circular references Insert a function Insert basic math and statistical functions Use date functions Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

3 Objectives (continued)
Determine results with the IF function Use lookup functions Calculate payments with the PMT function Create and maintain range names Use range names in formulas Additional objectives include: Determine results with the IF function Use lookup functions Calculate payments with the PMT function Create and maintain range names Use range names in formulas Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

4 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Cell References Excel offers three types of cell references for use when a formula is copied Absolute $A$1 Relative A1 Mixed $A1 or A$1 $ indicates that the row number or column letter will not be modified during a copy Excel offers three types of cell references for use when a formula is copied. An absolute cell reference (for example, $A$1) indicates that the address will be fixed and will not be altered during a copy operation. A relative reference (for example, A1) indicates that the address will be adjusted relative to its new location. A mixed reference (for example, $A1 or A$1) has one part that is absolute and the other relative. The F4 key can be used to toggle through the four types of cell references. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

5 Relative Cell References
A relative cell reference indicates a cell’s relative location from the cell containing the formula. Figure 2.1 in the textbook illustrates formulas using relative cell references. For example, when the formula =D2-E2 is copied from row 2 to row 3, the formula become =D3-E3. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

6 Absolute Cell References
An absolute cell reference provides a permanent reference to a specific cell In Figure 2.2, the textbook illustrates a formula with an absolute cell reference. The down payment rate in cell B4 is the same for each row and should not be altered during a copy operation. For example, when the formula =D3*$B$4 is copied from row 3 to row 4, the formula become =D4*$B$4 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

7 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Mixed Cell References In mixed reference $B4, the column is fixed, but the row may be altered during a copy In mixed reference B$4, the row is fixed, but the column may be altered during a copy A mixed cell reference contains a fixed column and relative row or a fixed row and a relative column. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

8 Avoiding Circular References
A circular reference error occurs if a formula refers to itself A circular reference would occur if the formula written in cell E2 is =E2*-$C$4. Since the formula is self-referential and cannot be evaluated, the error message in Figure 2.5 will appear. Excel displays a green triangle in the top-left corner of a cell if it detects a potential error in a formula. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

9 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Function Basics An Excel function is a predefined formula that performs a calculation An Excel function is a predefined formula available in many categories. Function categories and their descriptions are listed in Table 2.1. Some categories include Date & Time, Financial, Logical, and Statistical. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

10 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Function Terminology Syntax is the set of rules that govern correct formation of a function An argument is an input, such as a cell or range A function begins with the equal sign (=) followed by the function name and arguments in parentheses Example: =SUM(A1:A3) The function =SUM(A1:A3) exhibits correct syntax and is well formed. The function begins with an equal sign (=), then lists the function name (SUM). The argument or input to this function is a range of cells (A1:A3). This function returns the mathematical sum of values in the range A1 to A3. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

11 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Inserting a Function When a function is typed, Formula AutoComplete displays a list of functions matching the partial entry Excel offers several techniques with which to enter a function. As you type, the Formula AutoComplete option lists all of the names that match the partial entry. In Figure 2.10, a list of functions beginning with letters =SU appears. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

12 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Inserting a Function A function ScreenTip is a small pop-up description that displays the function arguments. A function ScreenTip will appear with each function argument boldfaced. In Figure 2.11, the argument number of the SUM function is boldfaced indicating that a number, cell address, or range is expected. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

13 Insert Function Dialog Box
Use the Insert Function dialog box to search for a function or select one from a list The Insert Function dialog box can be used to search for a function for which you do not know the name or to select one from a category list. Figure 2.12 illustrates use of the Insert Function dialog box. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

14 Function Arguments Dialog Box
The Function Arguments dialog box offers help on each argument Once a function is selected, the Function Arguments dialog box opens with information on each argument syntax. Figure 2.13 illustrates the Function Arguments dialog box. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

15 Totaling Values with SUM
The SUM function returns the mathematical sum of some number of cells or ranges; for example: =SUM(A1:A3) =SUM(A1,B3,C5) =SUM(A1:B3,C5:E8) The SUM function returns the mathematical sum of some number of cells or ranges. Multiple cells or ranges are separated by a comma. Examples include: =SUM(A1:A3), which returns the sum of values in the range A1 to A3 =SUM(A1,B3,C5), which returns the sum of values in the three cells A1, B3, and C5 =SUM(A1:B3,C5:E8), which returns the sum of values in the range A1 to B3 and C5 to E8 Do not use a formula as an argument in this case. For example, =SUM(A1+A2) computes the addition of A1 and A2, and then returns the sum of that one value. It is a misuse of the SUM function. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

16 Basic Statistical Functions
Common statistical functions include: AVERAGE arithmetic mean MEDIAN midpoint value MIN minimum value MAX maximum value COUNT number of values in range COUNTBLANK number of empty cells COUNTA number of nonempty cells Common statistical functions include the following: AVERAGE returns the average or arithmetic mean of a range. MEDIAN returns the midpoint value, halfway between the lowest and highest value in a range. MIN returns the smallest or minimum value in a range. MAX returns the largest or maximum value in a range. COUNT returns the number of numeric values in a range. COUNTBLANK returns the number of empty cells in a range. COUNTA returns the number of nonempty cells in a range. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

17 Basic Statistical Functions
See Figure 2.14 for a display of the basic statistical functions. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

18 Other Math & statistical Functions
See Table 2.2 for a list of other mathematical and statistical functions. These include: ABS, which returns the absolute value of a number. FREQUENCY, which counts how often a value appears in a range. INT, which rounds a value down to the nearest whole number. MODE.SNGL, which displays the most frequently occurring value in a list. RANK.AVG, which identifies a values rank within a list of values and returns an average rank for the identical values. RANK.EQ, which identifies a values rank within a list of values; the top rank is identified for all identical values. ROUND, rounds a value to a specific number of digits. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

19 Using Functions as Arguments
A nested function occurs when one function is embedded as an argument to another function; for example: =IF(A1<A2,MIN(B1:B5),MAX(B1:B5)) Compute the MIN function if A1 is less than A2 Compute the MAX function if A1 is not less than A2 It is possible to use one function as an argument to another, in a nested fashion. Examples of nested functions are: =IF(A1<A2,MIN(B1:B5),MAX(B1:B5)) =IF(C4*2=D4*3,SUM(C4:D4),AVERAGE(C4:D4)) Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

20 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Date Functions Since dates are numeric, calculations can be performed, such as subtraction The TODAY function displays the current date The NOW function displays the current date and time Since dates are numeric, calculations can be performed, such as subtraction. This is useful, for example, to compute the number of days that have passed between two dates. The =TODAY( ) function displays the current date. Although the function has no arguments, empty parentheses are required. The =NOW( ) function displays the current date and time. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

21 Determining Results with the if Function
=IF(logical_test, value_if_true,value_if_false) The IF function has three arguments: A condition that is tested to determine if it is either true or false The resulting value if the condition is true The resulting value if the condition is false The IF function enables a worksheet to display different results depending on a logical condition. For example, the IF function could be used to evaluate whether an employee has met a sales quota and display a bonus of either $500 or $0. The IF function has three arguments including the logical test, result if the condition is true, and result if the condition is false. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

22 Designing the Logical Test
The logical test is built from the logical operators The logical test is typically a binary expression, meaning that it requires a comparison between two variables, such as the values stored in cells A2 and A3. See Table 2.4 for a list of logical operators. For example, the logical test A2=A3 returns true if the two cells have the same content. If text is used in a logical test, it must be enclosed in quotes. The logical test B5=“Yes” compares the content of cell B5 to the word “Yes”. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

23 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Using the IF Function Figure 2.23 illustrates several examples of IF functions and their results. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

24 Using Lookup Functions
Lookup functions are used to look up values in a table to perform calculations or display results For example, a teacher may want to look up an average in order to assign a grade Excel offers a number of Lookup functions in which a table is searched for a value and corresponding data is returned. In the grading scale table shown in Table 2.5, the teacher might look up an average of 75 and determine that the matching grade is C. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

25 Creating a Lookup Table
When searching a range, the breakpoint is the lowest value for a category or series A lookup table typically lists breakpoints in one column and return values in a second column The lookup table shown in Table 2.6 lists the breakpoints for the grade ranges in the first column. Each breakpoint is the low end of the range; for example, in the range , value 90 is the breakpoint. Breakpoints are listed in ascending order. The second column of the table lists the result or the value associated with each range. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

26 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
VLOOKUP Function The VLOOKUP function searches a lookup table for a value and returns the result from the related column VLOOKUP has three required arguments: Lookup value Table array (range of lookup table) Column index of return value The VLOOKUP function is passed a value to look up, the range of the lookup table, and the column number containing the return value. For example, =VLOOKUP(A1,$B$4:$C$8,2) requests that value A1 be looked up in the table extending from B4 through C8. The function then returns the corresponding value in the second column. If there is not an exact match with the value in the first column, Excel uses the row before the first breakpoint that is larger than the value. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

27 Using the VLOOKUP Function
Figure 2.25 illustrates the VLOOKUP function in cell F3 to be used to compute grades. The lookup value is E3. This is a relative cell reference, so it can be altered when the formula is copied to successive rows. The table array uses range $A$3:$B$7. It uses an absolute range, so it is not altered when the formula is copied. The column index is 2, requesting that the function return value is to be obtained from the second column of the table. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

28 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
HLOOKUP Function The HLOOKUP function is used when the breakpoints and return data are placed in rows The third argument now lists the row index Table 2.7 illustrates a lookup table for the HLOOKUP function. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

29 Calculating Payments with the PMT Function
The PMT financial function calculates the periodic payment for a loan with a fixed interest rate and term length PMT has three required arguments: Interest rate (rate) Number of periods (nper) Present value (pv) The financial function PMT can be used to compute a payment on a loan amount given a fixed interest rate and payment periods. It is important that all terms use the same time units. Given a monthly interest rate and the number of months, PMT will compute a monthly payment. You may need to divide an annual interest rate by 12 to obtain a monthly rate. You may need to multiply the number of years by 12 to produce the number of months. The result of the PMT function is a negative value. You can negate the present value to return a positive value. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

30 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Using the PMT Function Figure 2.27 illustrates use of the PMT function in a car loan worksheet. It returns the monthly payment based upon a monthly interest rate stored in B6, the number of months stored in B8, and the loan amount stored in B3. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

31 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Range Names A range name is a word or string of characters assigned to one or more cells Range names make formulas easier to read Range names can be used to provide user-friendly names for cells or cell ranges. The range name can be used in a formula instead of the cell reference. For example, assume cell A1 stores hours worked and cell A2 stores an hourly pay rate. The formula =A1*A2 could be used to compute pay. If cell A1 was named Hours and cell A2 was named Rate, the same formula could be written =Hours*Rate. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

32 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Range Name Rules Range names use the following rules: 1 to 255 characters Begin with a letter or underscore (_) Contain letters, digits, periods, underscores Valid names include Rate, Tax_Rate, Rate_2012 A correct range name must follow several rules. The length can be no longer than 255 characters, and the name must begin with a letter or underscore character. Valid characters within the name include upper- or lowercase letters, digits, periods, or underscores. Blanks or other punctuation are not allowed. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

33 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Creating a Range Name Excel offers a variety of methods to enter a range name after selecting the cells: Type the range name in the Name Box area Enter the name using New Name dialog box A range name can be entered manually into the Name Box area after selecting the affected cells. Alternatively, Figure 2.31 illustrates use of the New Name dialog box available from the Define Name command in the Defined Names group on the Formulas tab. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

34 Maintaining Range Names
Use the Name Manager dialog box to edit or delete a range name Once a range name has been created, it can be edited or deleted. Figure 2.33 illustrates use of the Name Manager dialog box available from the Defined Names group on the Formulas tab. If a range name is altered, Excel automatically adjusts all formulas using the name. If a range name is deleted, formulas that used the range are marked as invalid with the #NAME? error message. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

35 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
Summary In this chapter, you have learned to write formulas using relative, absolute, and mixed cell references as well as correcting circular references and inserting functions. You have learned about statistical and date functions, such as SUM, AVERAGE, and TODAY. You have explored the IF, VLOOKUP, and PMT functions. You learned to create and use range names. Chapter 2 has studied the use of Excel formulas and functions. You can use relative, absolute, and mixed cell references to create a formula that is easily copied to other locations. You also learned how to correct a circular reference and to insert functions. You can use statistical and date functions such as SUM, AVERAGE, and TODAY. You have also explored the IF, VLOOKUP, and PMT functions. Finally, you learned to create and use range names. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

36 Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  


Download ppt "exploring Microsoft Office 2013 Plus"

Similar presentations


Ads by Google