Download presentation
Presentation is loading. Please wait.
Published byDavon Merriman Modified over 9 years ago
1
© Paradigm Publishing, Inc. 1
2
2 Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas
3
© Paradigm Publishing, Inc. 3 Advanced Functions and Formulas Name Ranges Name Ranges Statistical Functions Statistical Functions Math and Trigonometry Functions Math and Trigonometry Functions CHECKPOINT 1 CHECKPOINT 1 Manage Range Names Manage Range Names Lookup Functions Lookup Functions Financial Functions Financial Functions Logical Functions Logical Functions CHECKPOINT 2 CHECKPOINT 2 Quick Links to Presentation Contents
4
© Paradigm Publishing, Inc. 4 Name Ranges
5
© Paradigm Publishing, Inc. 5 Name Ranges - continued To create a range name: 1.Select desired cells. 2.Click in Name box located at the left end of Formula bar. 3.Type desired range name. 4.Press Enter. Name box
6
© Paradigm Publishing, Inc. 6 Name Ranges - continued When creating a name for a cell or a range of cells, the following naming rules apply: Names can be a combination of letters, numbers, underscore characters, or periods, up to 255 characters. The first character must be a letter, an underscore, or a backslash (\). Spaces are not valid. Use underscore characters or periods to separate words. A valid cell address cannot become a range name. Range names are not case sensitive.
7
© Paradigm Publishing, Inc. 7 Statistical Functions Commonly used statistical functions include AVERAGE, MAX, and MIN, where AVERAGE returns the arithmetic mean, MAX returns the largest value, and MIN returns the smallest value in the range. Another function used often is COUNT, which returns the number of cells that contain numbers or dates. Empty cells, text labels, or error values in the range are ignored.
8
© Paradigm Publishing, Inc. 8 Statistical Functions - continued In a worksheet that requires cells containing text, or cells containing a combination of text and numbers (such as Model-2146) to be counted, Excel provides the COUNTA function. Formula =COUNT(A2:A6) returns zero Formula =COUNT(A2:A6) returns zero Formula =COUNTA(A2:A6) returns the correct result Formula =COUNTA(A2:A6) returns the correct result
9
© Paradigm Publishing, Inc. 9 Statistical Functions - continued Use the COUNTIF function to count the number of cells within a range that meet a single criterion. COUNTIFS is used to count cells that meet multiple criteria. Formula =COUNTIF(Title,"RN") Formula =COUNTIF(Title,"RN") Formula =COUNTIFS(Title,"RN",PDCurrent,"Yes") Formula =COUNTIFS(Title,"RN",PDCurrent,"Yes")
10
© Paradigm Publishing, Inc. 10 Statistical Functions - continued To create a COUNTIF formula: 1.Make desired cell active. 2.Click Insert Function button. 3.At Insert Function dialog box, change category to Statistical option. 4.Select COUNTIF option. 5.Click OK. continues on next slide… COUNTIF option
11
© Paradigm Publishing, Inc. 11 Statistical Functions - continued 6.Enter range address or range name to select by in Range text box. 7.Enter condition expression or text in Criteria text box. 8.Click OK. Criteria text box
12
© Paradigm Publishing, Inc. 12 Statistical Functions - continued To create a COUNTIFS formula: 1.Make desired cell active. 2.Click Insert Function button. 3.At Insert Function dialog box, change category to Statistical option. 4.Select COUNTIFS option. 5.Click OK. continues on next slide… COUNTIFS option
13
© Paradigm Publishing, Inc. 13 Statistical Functions - continued 6.Enter range address or range name to select by in Criteria_range1 text box. 7.Enter condition expression or text in Criteria1 text box. 8.Enter range address or range name to select by in Criteria_range2 text box. 9.Enter condition expression or text in Criteria2 text box. 10.Continue adding criteria range expressions and criteria as needed. 11.Click OK. Criteria2 text box
14
© Paradigm Publishing, Inc. 14 Statistical Functions - continued The AVERAGEIF function is used to find the arithmetic mean of the cells within the specified range that meet a single criterion. The AVERAGEIFS function is used to average cells that meet multiple criteria. Formula =AVERAGEIF(Campus,"Portland",Total) Formula =AVERAGEIF(Campus,"Portland",Total) Formula =AVERAGEIFS (Total,Campus,"Sunnyside",Year,"<2013") Formula =AVERAGEIFS (Total,Campus,"Sunnyside",Year,"<2013")
15
© Paradigm Publishing, Inc. 15 Statistical Functions - continued To create an AVERAGEIF formula: 1.Make desired cell active. 2.Click Insert Function button. 3.At Insert Function dialog box, change category to Statistical option. 4.Select AVERAGEIF option. 5.Click OK. continues on next slide… AVERAGEIF option
16
© Paradigm Publishing, Inc. 16 Statistical Functions - continued 6.Enter range address or range name to select by in Range text box. 7.Enter condition expression or text in Criteria text box. 8.Enter range address or range name to average in Average_range text box. 9.Click OK. Average_range text box
17
© Paradigm Publishing, Inc. 17 Statistical Functions - continued To create an AVERAGEIFS formula: 1.Make desired cell active. 2.Click Insert Function button. 3.At Insert Function dialog box, change category to Statistical option. 4.Select AVERAGEIFS option. 5.Click OK. continues on next slide… AVERAGEIFS option
18
© Paradigm Publishing, Inc. 18 Statistical Functions - continued 6.Enter range address or range name to average in Average_range text box. 7.Enter range address or range name to select by in Criteria_range1 text box. 8.Enter condition expression or text in Criteria1 text box. 9.Enter range address or range name to select by in Criteria_range2 text box. 10.Enter condition expression or text in Criteria2 text box. 11.Continue adding criteria range expressions and criteria as needed. 12.Click OK. Average_range text box
19
© Paradigm Publishing, Inc. 19 Math and Trigonometry Functions Within the math and trigonometry function category, Excel includes SUMIF to add the cells within a range that meet a single criterion and SUMIFS to add the cells within a range that meet multiple criteria. Formula =SUMIFS(StdCost,Supplier,"350",MinQty,">4") Formula =SUMIFS(StdCost,Supplier,"350",MinQty,">4") Formula =SUMIF(Supplier,"101",StdCost) Formula =SUMIF(Supplier,"101",StdCost)
20
© Paradigm Publishing, Inc. 20 Math and Trigonometry Functions - continued To create a SUMIF formula: 1.Make desired cell active. 2.Click FORMULAS tab. 3.Click Math & Trig button. 4.Scroll down and click SUMIF option. continues on next slide… SUMIF option
21
© Paradigm Publishing, Inc. 21 Math and Trigonometry Functions - continued 5.Enter range address or range name to select by in Range text box. 6.Enter condition expression or text in Criteria text box. 7.Enter range address or range name to add in Sum_range text box. 8.Click OK. Sum_range text box
22
© Paradigm Publishing, Inc. 22 1)Assigning this to a cell or a range of cells allows you to reference the source by a descriptive label. a.function b.code c.number d.name 1)Assigning this to a cell or a range of cells allows you to reference the source by a descriptive label. a.function b.code c.number d.name 3)Use this function to count cells within a range that meet a single criterion. a.AVERAGEIF b.COUNTIF c.AVERAGEIFS d.COUNTIFS 3)Use this function to count cells within a range that meet a single criterion. a.AVERAGEIF b.COUNTIF c.AVERAGEIFS d.COUNTIFS 2)Range names can be up to this many characters. a.255 b.155 c.100 d.25 2)Range names can be up to this many characters. a.255 b.155 c.100 d.25 4)This function is used to average cells that meet multiple criteria. a.AVERAGEIF b.COUNTIF c.AVERAGEIFS d.COUNTIFS 4)This function is used to average cells that meet multiple criteria. a.AVERAGEIF b.COUNTIF c.AVERAGEIFS d.COUNTIFS Next Question Next Slide Answer
23
© Paradigm Publishing, Inc. 23 Manage Range Names To edit a range name: 1.Click FORMULAS tab. 2.Click Name Manager button. 3.Click desired range name. 4.Click Edit button. continues on next slide… Edit button
24
© Paradigm Publishing, Inc. 24 Manage Range Names - continued 5.Type a new range name in Name text box. 6.Click OK. 7.Click Close. Name text box
25
© Paradigm Publishing, Inc. 25 Manage Range Names - continued To delete a range name: 1.Click FORMULAS tab. 2.Click Name Manager button. 3.Click desired range name. 4.Click Delete button. 5.Click OK. 6.Click Close. Delete button
26
© Paradigm Publishing, Inc. 26 Lookup Functions The Lookup & Reference category of functions provides formulas that can be used to look up values in a range. Excel provides two lookup functions: VLOOKUP and HLOOKUP, which refer to a vertical or horizontal lookup, respectively. The structure of a VLOOKUP formula is =VLOOKUP(lookup_value,table_array,col_index_num,range_lookup). The structure of an HLOOKUP formula is =HLOOKUP(lookup_value,table_array,row_index_num,range_lookup).
27
© Paradigm Publishing, Inc. 27 Lookup Functions - continued
28
© Paradigm Publishing, Inc. 28 Lookup Functions - continued VLOOKUP formula populates E4:E13 by matching the salary grid rating number in column D with the corresponding salary grid rating number in the lookup table named grid. Formula in E4 is =VLOOKUP(Rating,grid,2). VLOOKUP formula populates E4:E13 by matching the salary grid rating number in column D with the corresponding salary grid rating number in the lookup table named grid. Formula in E4 is =VLOOKUP(Rating,grid,2). Lookup table is named grid. Lookup table is named grid.
29
© Paradigm Publishing, Inc. 29 Lookup Functions - continued To create a VLOOKUP formula: 1.Make desired cell active. 2.Click FORMULAS tab. 3.Click Lookup & Reference button. 4.Click VLOOKUP option. continues on next slide… VLOOKUP option
30
© Paradigm Publishing, Inc. 30 Lookup Functions - continued 5.Enter cell address, range name, or value in Lookup_value text box. 6.Enter range or range name in Table_array text box. 7.Type column number to return values from in Col_index_num text box. 8.Type FALSE or leave blank for TRUE in Range_lookup text box. 9.Click OK. Range_lookup text box
31
© Paradigm Publishing, Inc. 31 Lookup Functions - continued The HLOOKUP function uses the same argument parameters as VLOOKUP. HLOOKUP formula populates G4:G12 by looking up the total value in column F with the first row in GradeTable. Excel stops at the largest value in the table that does not go over the lookup value. Looking for 62.3 would cause Excel to stop at 60 because moving to the next value, 70, would be over the lookup value. Formula in G4 is =HLOOKUP(F4,GradeTable,2). Lookup table is Named GradeTable. Lookup table is Named GradeTable.
32
© Paradigm Publishing, Inc. 32 Financial Functions Financial functions can be used for a variety of financial analyses including loan amortizations, annuity payments, investment planning, depreciation, and so on. The PMT function is used to calculate a payment for a loan based on a constant interest rate and constant payments for a set period of time. Excel provides two related financial functions: PPMT, to calculate the principal portion of the loan payment; and IPMT, to calculate the interest portion.
33
© Paradigm Publishing, Inc. 33 Financial Functions - continued The PPMT function returns the principal portion of a specific payment for a loan. The structure of a PPMT function is =PPMT(rate,per,nper,pv,fv,type) where: rate is the interest rate per period, per is the period for which you want to find the principal portion of the payment, nper is the number of payment periods, pv is the amount of money borrowed, fv is the balance at the end of the loan (if left blank, zero is assumed), and type is either 0 (payment at end of period) or 1 (payment at beginning of period).
34
© Paradigm Publishing, Inc. 34 Financial Functions - continued To create a PPMT formula: 1.Make desired cell active. 2.Click FORMULAS tab. 3.Click Financial button. 4.Click PPMT option. continues on next slide… PPMT option
35
© Paradigm Publishing, Inc. 35 Financial Functions - continued 5.Enter value, cell address, or range name for interest rate in Rate text box. 6.Enter number representing payment to find principal for in Per text box. 7.Enter value, cell address, or range name for total number of payments in Nper text box. 8.Enter value, cell address, or range name for amount borrowed in Pv text box. 9.Click OK. Pv text box
36
© Paradigm Publishing, Inc. 36 Logical Functions Conditional logic in formulas requires Excel to perform a calculation based on the outcome of a conditional test where one calculation is performed if the test proves true and another calculation is performed if the test proves false. If you need Excel to perform more than two actions, create a nested IF function. You can nest any function inside of another function.
37
© Paradigm Publishing, Inc. 37 Logical Functions - Continued Consider the following formula: In the first IF function, the conditional test is to determine if the sales value is less than $40,000 (Sales<40000). If the test proves true (for example, sales are $25,000), then Excel calculates the sales times 5% and returns the result in the active cell. continues on next slide… =IF(Sales<40000,Sales*5%,IF(Sales<80000,Sales*7%,Sales*9%))
38
© Paradigm Publishing, Inc. 38 Logical Functions - Continued If the first test is not true, then Excel reads the next section of the argument, which is the next IF function that includes the conditional test to determine if sales are less than $80,000 (Sales<80000). If this second conditional test proves true, then Excel calculates the sales times 7%. If the test proves false, Excel calculates the sales times 9%. Since these are the only three possible actions, the formula ends. =IF(Sales<40000,Sales*5%,IF(Sales<80000,Sales*7%,Sales*9%))
39
© Paradigm Publishing, Inc. 39 Logical Functions - continued To create an IF Formula: 1.Make desired cell active. 2.Click FORMULAS tab. 3.Click Logical button. 4.Click IF function. 5.Type conditional test argument in Logical_test text box. 6.Press Tab. 7.Type argument in Value_if_true text box. 8.Press tab. 9.Type argument in Value_if_false text box. 10.Click OK. Logical_test text box
40
© Paradigm Publishing, Inc. 40 Logical Functions - continued
41
© Paradigm Publishing, Inc. 41 Logical Functions - continued To create an AND Formula: 1.Make desired cell active OR nest formula in IF statement Logical_test text box. 2.Type =AND( or AND( if nesting in an IF statement. 3.Type first conditional test argument. 4.Type a comma. 5.Type second conditional test argument. 6.Repeat Steps 4 to 5 for remaining conditions. 7.Type ). Logical_test text box
42
© Paradigm Publishing, Inc. 42 Logical Functions - continued To create an OR Formula: 1.Make desired cell active OR nest formula in IF statement Logical_test text box. 2.Type =OR( or OR( if nesting in an IF statement. 3.Type first conditional test argument. 4.Type a comma. 5.Type second conditional test argument. 6.Repeat Steps 4 to 5 for remaining conditions. 7.Type ). Logical_test text box
43
© Paradigm Publishing, Inc. 43 1)The Name Manager button is located on this tab. a.INSERT b.FORMULAS c.HOME d.DATA 1)The Name Manager button is located on this tab. a.INSERT b.FORMULAS c.HOME d.DATA 3)This function returns the principal portion of a specific payment for a loan. a.SPMT b.IPMT c.PMT d.PPMT 3)This function returns the principal portion of a specific payment for a loan. a.SPMT b.IPMT c.PMT d.PPMT 2)This lookup function is more commonly used since most lookup tables are arranged with comparison data in columns. a.CLOOKUP b.DLOOKUP c.VLOOKUP d.HLOOKUP 2)This lookup function is more commonly used since most lookup tables are arranged with comparison data in columns. a.CLOOKUP b.DLOOKUP c.VLOOKUP d.HLOOKUP 4)If you need to perform more than two actions create a(n) a.nested IF function b.SUMIF function c.COUNTA function d.embedded function 4)If you need to perform more than two actions create a(n) a.nested IF function b.SUMIF function c.COUNTA function d.embedded function Next Question Next Slide Answer
44
© Paradigm Publishing, Inc. 44 Advanced Functions and Formulas Create and use named ranges in formulas Use functions COUNTA, COUNTIF, COUNTIFS Use functions AVERAGEIF, AVERAGEIFS Use functions SUMIF, SUMIFS Edit a named range Rename and delete a named range Look up data using the lookup functions VLOOKUP and HLOOKUP Analyze loan payments using PPMT Use conditional logic functions IF, AND, and OR Summary of Presentation Concepts
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.