Post on 22-Dec-2015
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 222
Objectives
Identify the parts of a function. Enter formulas with functions. Use functions to solve mathematical
problems. Use functions to solve statistical problems. Use functions to solve financial problems.
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 333
Objectives (continued)
Use logical functions to make decisions with worksheet data.
Use functions to insert times and dates in a worksheet.
Use text functions to format and display cell contents.
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
What Are Functions?
A function is a shorthand way to write an equation that performs a calculation.
A formula with a function has three parts: – The equal sign identifies the cell contents as a
formula. – The function name identifies the operation to be
performed. – The argument is the value the function uses to
perform a calculation.
444
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
What Are Functions?
If a function contains more than one argument, commas separate the arguments.
555
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
What Are Functions? (continued)
Parts of a function
6
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 777
Entering Formulas with Functions
To enter a formula with a function, you need to do the following. – Start the formula with an equal sign.– Select or enter the function you want to use. – Select or enter the arguments. – Enter the completed formula.
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 888
Entering Formulas with Functions
Because Excel includes so many functions, the best way to select a function is to use the Insert Function dialog box.
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 999
Entering Formulas with Functions
You can use the Insert Function dialog box to find a specific function. In the Search for a function box, type a brief description of what you want to do, then, click Go.
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 101010
Entering Formulas with Functions
To open the Insert Function dialog box, click the Insert Function button on the Formula Bar.
If you know the function you want to enter, you can click the appropriate category button in the Function Library group on the Formula tab of the Ribbon.
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
Entering Formulas with Functions (continued)
Insert Function dialog box
11
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1212
Entering Formulas with Functions (continued)
You can also enter a formula with a function directly in a cell by typing an equal sign, the function name, and the argument.
You can also enter a formula with the AVERAGE, COUNT, MAX, OR MIN function in a selected cell by clicking the SUM button arrow in the Editing group on the Home tab, clicking the function name, selecting the appropriate range, and then pressing the Enter key.12
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1313
Entering Formulas with Functions (continued)
Formula AutoComplete helps you enter a formula with a valid function name and arguments. – As you begin to type the function name, a list of
function names appears below the active cell.– Example: when you type =s, all functions that
begin with the letter s appear in the list box, such as SEARCH, SECON, etc.
13
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1414
Entering Formulas with Functions (continued)
If you plan to use the Formula AutoComplete to help you enter some formulas in a worksheet, you must type the first letters in a cell to access Formula AutoComplete.
14
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1515
Entering Formulas with Functions (continued)
The SUM function can total the values stored in up to 255 non-adjacent cells or ranges.
15
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1616
Entering Formulas with Functions (continued)
When you find a formula you want to use in the Formula AutoComplete, you can access a screen tip to guide you in entering the necessary arguments by double-clicking the name of the function.
16
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1717
Types of Functions
Mathematical functions and trigonometric functions manipulate quantitative data in a worksheet.
Mathematical functions are functions such as the square root functions, that manipulate quantitative data in a worksheet.
17
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1818
Types of Functions
Some mathematical operations, such as addition and subtraction, do not require functions.
Mathematical and trigonometric functions are particularly useful when you need to determine values such as logarithms, factorials, and sines.
18
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 1919
Types of Functions
The Round function is considered to be a mathematical function.
The rounding operation requires two arguments, which are separated by a comma.
19
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
Types of Functions (continued)
Commonly used mathematical and trigonometric functions
20
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 2121
Types of Functions (continued)
Statistical functions are used to describe quantities of data.
For example, statistical functions can determine: – the average, standard deviation, or variance of a
range of data. – the number of values in a range, the largest value
in a range, and the smallest value in a range.
21
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
Types of Functions (continued)
Commonly used statistical functions
22
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 2323
Types of Functions (continued)
Financial functions are used to analyze loans and investments.
Some commonly used financial functions are future value, present value, and payment.
23
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
Types of Functions (continued)
Commonly used financial functions
24
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 2525
Types of Functions (continued)
In a PMT function, the argument indicated by fv refers to future value.
If the PMT shows answer of -250, this means the entry is a payment.– See next slide
25
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 2626
Types of Functions (continued)
Note the Annual Interest Rate is 0.015 or 1.5%
26
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 2727
Types of Functions (continued)
Logical functions, such as the IF function, display text or values if certain conditions exist.– The first argument sets a condition for comparison,
called a logical test. The second argument determines the value if the logical test is true. The third argument determines the value if the logical test is false.
For example, the formula =IF(C4>60,“PASS”,“FAIL”) returns PASS if the value in cell C4 is greater than 60; otherwise the formula returns FAIL.27
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 2828
Types of Functions (continued)
You must use quotation marks to enclose the text you want the IF function to return in the second and third arguments.
28
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory
Types of Functions (continued)
Commonly used logical functions
29
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 3030
Types of Functions (continued)
The NOT Logical function returns a value of TRUE if the argument is false, and FALSE, if the argument is true.
In the IF function, the third argument determine the value that appears in the cell if the logical test is TRUE.
30
Ex
cel L
es
son
5
Pasewark & Pasewark Microsoft Office 2010 Introductory 3131
Types of Functions (continued)
Date and Time functions can also be used to insert dates and times in a worksheet.
31