copyright © 2014 pearson education, inc. publishing as prentice hall. 1 by mary anne poatsy, keith...

36
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric Cameron, Rebecca Lawson Chapter 2 Formulas and Functions EXPLORING MICROSOFT OFFICE 2013 VOLUME 1

Upload: duncan-pinner

Post on 14-Dec-2015

223 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

1Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric Cameron, Rebecca Lawson

Chapter 2Formulas and Functions

EXPLORING MICROSOFT OFFICE 2013 VOLUME 1

Page 2: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

2

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 3: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 4: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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

4Copyright © 2014 Pearson Education, Inc. Publishing as

Prentice Hall.  

Page 5: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

5

RELATIVE CELL REFERENCES

• A relative cell reference indicates a cell’s relative location from the cell containing the formula.

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 6: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

6

ABSOLUTE CELL REFERENCES

• An absolute cell reference provides a permanent reference to a specific cell

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 7: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

7

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 8: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

8

AVOIDING CIRCULAR REFERENCES

• A circular reference error occurs if a formula refers to itself

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 9: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

9

FUNCTION BASICS

• An Excel function is a predefined formula that performs a calculation

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 10: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

10

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 parenthesesExample: =SUM(A1:A3)

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 11: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

11

INSERTING A FUNCTION

• When a function is typed, Formula AutoComplete displays a list of functions matching the partial entry

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 12: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

12

INSERTING A FUNCTION

• A function ScreenTip is a small pop-up description that displays the function arguments.

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 13: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

13

INSERT FUNCTION DIALOG BOX

• Use the Insert Function dialog box to search for a function or select one from a list

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 14: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

14

FUNCTION ARGUMENTS DIALOG BOX

• The Function Arguments dialog box offers help on each argument

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 15: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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)

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 16: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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– COUNTBLANKnumber of empty cells– COUNTA number of nonempty cells

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 17: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

17

BASIC STATISTICAL FUNCTIONS

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 18: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

18

OTHER MATH & STATISTICAL FUNCTIONS

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 19: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 20: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

20

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 21: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 22: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

22

DESIGNING THE LOGICAL TEST

• The logical test is built from the logical operators

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 23: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

23

USING THE IF FUNCTION

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 24: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 25: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 26: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

26

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 27: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

27

USING THE VLOOKUP FUNCTION

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 28: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

28

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 29: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

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)

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 30: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

30

USING THE PMT FUNCTION

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 31: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

31

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 32: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

32

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 33: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

33

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

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 34: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

34

MAINTAINING RANGE NAMES

• Use the Name Manager dialog box to edit or delete a range name

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 35: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

35

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.

Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.  

Page 36: Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric

36

COPYRIGHT

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.