Lesson 3: Using Formulas

Slides:



Advertisements
Similar presentations
Lesson 3 Working with Formulas.
Advertisements

Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
Intermediate Formulas & Functions Instructor: Rachel Baltus.
With Microsoft ® Excel 2010© 2011 Pearson Education, Inc. Publishing as Prentice Hall1 GO! with Microsoft ® Excel 2010 Chapter 1 Creating a Worksheet and.
FORMULAS & FUNCTIONS EXCEL 2. Excel Input – a collection of informational data typed into the spreadsheet Output – worksheet results Information to be.
FORMULAS & FUNCTIONS EXCEL. Input A collection of information Data typed into the spreadsheet Output Worksheet Results.
 Microsoft Excel is an electronic spreadsheet.  As with a paper spreadsheet, you can use Excel to organize your data into rows and columns and to perform.
Introduction to Excel Formulas, Functions and References.
Microsoft Office XP Microsoft Excel
Pasewark & Pasewark 1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2007: Introductory.
Lesson 14 Creating Formulas and Charting Data
Excel Using Formulas and Functions Microsoft Office 2010 Fundamentals 1.
Microsoft Excel Computers Week 4.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010: Chapter1.
Objectives 1.Identify the functions of a spreadsheet 2.Identify how spreadsheets can be used. 3.Explain the difference in columns and rows. 4.Locate specific.
Using Complex Formulas, Functions, and Tables. Objectives Navigate a workbookNavigate a workbook Enter labels and valuesEnter labels and values Change.
With Microsoft ® Excel e © 2013 Pearson Education, Inc. Publishing as Prentice Hall1 Excel 2010 Chapter 9 Creating a Worksheet and Charting Data.
Excel Lesson 4 Entering Worksheet Formulas
Pasewark & Pasewark 1 Excel Lesson 5 Using Functions Microsoft Office 2007: Introductory.
Copyright 2003, Paradigm Publishing Inc. CHAPTER 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES AutoSum Button Mathematical Operators Mathematical Operators Formula.
Pasewark & Pasewark Microsoft Office 2003: Introductory 1 INTRODUCTORY MICROSOFT EXCEL Lesson 4 – Worksheet Formulas.
Unit G: Using Complex Formulas, Functions, and Tables Microsoft Office Illustrated Fundamentals.
1 Excel Lesson 3 Using Formulas and Functions Microsoft Office 2010 Fundamentals Story / Walls.
1 Excel Lesson 4 Entering Worksheet Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
FIRST COURSE Excel Lecture. XP 2 Introducing Excel Microsoft Office Excel 2007 (or Excel) is a computer program used to enter, analyze, and present quantitative.
McGraw-Hill/Irwin The Interactive Computing Series © 2002 The McGraw-Hill Companies, Inc. All rights reserved. Microsoft Excel 2002 Exploring Formulas.
Technology Basics Creating Worksheet Formulas. 2 Understand Formulas Equations used to calculate values in cells are called formulas. Formulas consist.
Microsoft Office Excel 2013 Core Microsoft Office Excel 2013 Core Courseware # 3253 Lesson 7: Organizing Data.
Copyright 2007, Paradigm Publishing Inc. EXCEL 2007 Chapter 2 BACKNEXTEND 2-1 LINKS TO OBJECTIVES Mathematical OperatorsMathematical Operators Formula.
Excel 2010 Formulas and Functions One of Excel's most useful features is that it allows users to create custom formulas to perform calculations on their.
Lesson 4 Cell Reference Formulas. Working with Cell References continued… Relative Cell Reference A relative cell reference means that the cell value.
Excel – Lesson 1 Pasewark & PasewarkMicrosoft Office 2007: Introductory 1 Entering a Formula (continued) Formulas can include more than one operator. The.
Computer Literacy BASICS
Microsoft Office Excel 2013 Expert Microsoft Office Excel 2013 Expert Courseware # 3254 Lesson 5: Pivot Charts and Advanced Formulas.
Microsoft Excel Diane M. Coyle Spring 2009 CS 105.
Microsoft Excel 2003 Illustrated Complete And Editing Worksheets Building.
1 Lesson 19 Creating Formulas and Charting Data Computer Literacy BASICS: A Comprehensive Guide to IC 3, 3 rd Edition Morrison / Wells.
CHAPTER 13 Creating a Workbook Part 2. Learning Objectives Work with cells and ranges Work with formulas and functions Preview and print a workbook 2.
Excel Worksheet # 5 Class Agenda Formulas & Functions
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
Introduction to Spreadsheets Program: Excel. Starting Excel Spreadsheets Spreadsheet –A grid of rows and columns used to make calculations. A spreadsheet’s.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
Microsoft Office Excel 2013 Expert Microsoft Office Excel 2013 Expert Courseware # 3254 Lesson 2: Advanced Charts, Conditional Formatting, and Checking.
Chapter 6.  If a cell style will be used over and over again it can be modified in the cell styles gallery  Home ⇒ Cell Styles ⇒ right-click a style.
Chapter 12 Creating a Worksheet.
LOGO Chapter II Entering Excel Formulas and Formatting Data Friday, November 20, 2015.
Microsoft ® Excel 2010 Core Skills Lesson 3 Using Formulas Courseware #: 3243 Microsoft ® Office Excel 2010.
Working with Formulas and Functions
PERFORMING CALCULATIONS Microsoft Excel. Excel Formulas A formula is a set of mathematical instructions that can be used in Excel to perform calculations.
Spreadsheets What is Excel?. Objectives 1. Identify the parts of the Excel Screen 2. Identify the functions of a spreadsheet 3. Identify how spreadsheets.
Lesson 4: Working with Formulas and Functions. Learning Objectives After studying this lesson, you will be able to:  Create formulas to calculate values,
1 Excel Lesson 2 Organizing the Worksheet & Formulas Microsoft Office 2010 Introductory Pasewark & Pasewark.
XP 1 ﴀ New Perspectives on Microsoft Office 2003, Premium Edition Excel Tutorial 2 Microsoft Office Excel 2003 Tutorial 2 – Working With Formulas and Functions.
Using Basic Formulas and Functions Lesson 8A. Formulas tab.
Pages Appendix B: Review of ExcelChapter 3 Market Trends & Analysis IBM 320 CAL POLY POMONA IBM320 Market Trends and Analysis Maha Ghosn.
Resource Review Excel formula basics Demonstrate how to enter manual formulas Examine some of the available functions and their usage Discuss the.
Working with Formulas and Functions Lesson 5 Part 1 1.
CTS130 Spreadsheet Lesson 6 Working with Math & Trig, Statistical, and Date & Time Functions.
COMPUTER LITERACY NOTES MS-EXCEL. SPREADSHEETS A spreadsheet is a computer equivalent of a paper ledger sheet. Excel allows you to create spreadsheets.
A skills approach © 2012 The McGraw-Hill Companies, Inc. All rights reserved. excel 2010 Chapter 2 Using Formulas and Functions.
Lesson 3: Using Formulas
Lesson 3: Using Formulas
Microsoft Excel 2003 Illustrated Complete
Creating a Workbook Part 2
Working with Formulas and Functions
Lesson 1 Notes Chapter 6.
Lesson 20 Creating Formulas and Charting Data
Excel Lesson 4 Entering Worksheet Formulas
Working with Formulas and Functions
Unit G: Using Complex Formulas, Functions, and Tables
Presentation transcript:

Lesson 3: Using Formulas © CCI Learning Solutions Inc.

Lesson 3 Objectives what formulas are create and edit simple formulas use math operators and understand order of calculations reference other worksheets use common functions use SUBTOTAL function use a conditional function use conditional summary functions use text functions use absolute and relative cell references use mixed absolute and relative cell addresses display and print formulas use data validation Pg 67 The Exam objectives covered in this lesson are: 1.3.8 set data validation 1.4.10 display formulas 4.1.1 demonstrate how to use references (relative, mixed, absolute) 4.1.2 define order of operations 4.1.3 reference cell ranges in formulas 4.2.1 demonstrate how to apply the SUM function 4.2.2 demonstrate how to apply the MIN and MAX functions 4.2.3 demonstrate how to apply the COUNT function 4.2.4 demonstrate how to apply the AVERAGE function 4.3.1 demonstrate how to apply the SUMIF function 4.3.2 demonstrate how to apply the AVERAGEIF function 4.3.3 demonstrate how to apply the COUNTIF function 4.4.1 demonstrate how to apply the RIGHT, LEFT, and MID functions 4.4.2 demonstrate how to apply the TRIM function 4.4.3 demonstrate how to apply the UPPER and LOWER functions 4.4.4 demonstrate how to apply the CONCATENATE function © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Creating and Editing Simple Formulas A formula is a calculation using any combination of: values entered directly values in worksheet cells functions A powerful feature of formulas is ability to get data from other worksheet cells using cell references First character of every formula must be ‘=‘ (equal sign) Formula can have more than one cell reference Formula results automatically update any time data is changed (or added or deleted) Pg 67 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Creating and Editing Simple Formulas Example formulas: If the value in cell A1 is changed, all other formulas that use this value directly or indirectly will also change Cell Formula/Value Results Description A1 10 A constant value B1 =A1 References value in cell A1 C1 =A1*8 80 Multiply value in A1 by 8 D1 =C1/5 16 Divide value in C1 by 5 E1 =SUM(A1:D1) 116 Built-in function that calculates sum of cells A1 to D1 Pg 68 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Creating and Editing Simple Formulas If Excel detects error or inconsistency in formula, displays message with suggestion on how to fix Displays to mark this formula as different from the formulas used in adjacent cells Clicking on the smart tag displays a menu of options: Pg 68 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Cell References Can enter cell references into formula by: typing cell reference directly into cell, or clicking on cells to be referenced Most formulas have one or more cell references Formulas may also use a function that uses a range of cells Example: =SUM(A1:D1) Note use of “:” to separate the two cell addresses Other rules about cell ranges: Can only be used in functions or arrays, not on their own in a formula Can be any rectangular block of multiple rows and columns of cells, or a single column or row Can be an entire row or column, example: =SUM(B:C), =SUM(3:3) Pg 69 Objective 4.1.3 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Mathematical Operators Perform calculations in “natural order” (precedence): 1. Exponents and roots 2. Multiplication and division 3. Addition and subtraction Can be altered by placing components of formula within parentheses Standard mathematical operators: * Multiplication / Division + Addition - Subtraction Pg 70 Objective 4.1.2 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

What-If Analysis Simple arithmetic can be done using paper and a basic calculator Spreadsheets are better when many calculations need to be repeated many times with different numbers What-if describes the trial-and-error method of repeating calculations with different numbers Pg 72 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Referencing Other Worksheets Can reference cells in other worksheets in same workbook General format is: ‘<worksheet name>’!<cell reference> ! indicates cell is located in different worksheet need single quotes if worksheet name has spaces Can use the point-and-click method to enter the cell reference Pg 75 Objective 4.1.3 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Using Common Functions Large library of functions for mathematical and data operations Functions accept values (usually numbers) and cell references as arguments in parentheses General format: =FUNCTION(numbers or values or cell reference) Most commonly used are SUM, MIN, MAX, AVERAGE, and COUNT Pg 76 Objective 4.2.1, 4.2.2, 4.2.3, 4.2.4 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Using Common Functions AutoSum is shortcut method to enter a SUM function: On Formulas tab, in Function Library group, click AutoSum, or on Home tab, in Editing group, click AutoSum, or click Insert Function Always verify you have correct cell range in formula Excel automatically selects range of cells immediately above or to left of selected cell, and displays it to accept or change Arrow for AutoSum displays other common functions Pg 77 Objective 4.2.1, 4.2.2, 4.2.3, 4.2.4 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Using the Subtotal Function Enter as: =SUBTOTAL(function #,cell range) Calculates a variety of common statistics, such as: 1 – Average 4 – Max 2 – Count 5 – Min 3 – CountA 9 - Sum Ignores other SUBTOTAL calculations in the cell range Pg 80 Objective 2.3.7 © CCI Learning Solutions Inc.

=IF(logical test,value if true,value if false) Conditional Function =IF(logical test,value if true,value if false) Logical Test can include comparison operators or qualifiers: = Equal to (or the same as) > Greater than < Less than >= Greater than or equal to <= Less than or equal to <> Not equal to Value if True/False can contain text string, values, or other functions Example: =IF(B10=0,0,C10/B10) Pg 84 © CCI Learning Solutions Inc.

Conditional Function Nesting IF statements =IF(A1=10, “text A”, IF(A1=20, “text B”, “text C”)) If A1 contains Then cell will display 10 text A 20 text B Any other value text C Pg 84 © CCI Learning Solutions Inc.

Using Conditional Summary Functions Conditional versions of AVERAGE, COUNT, and SUM Combines IF function with AVERAGE, COUNT, and SUM Example: =SUMIF(D4:D207,"Visa",F4:F207) Logical test is "Visa" - value to look for Criteria range is D4:D207 – the cell range to look for the test value Sum range is F4:F207 – apply sum to this range if the logical test is true The logical test is applied to every cell in the criteria range If no comparison operator is used, “=“ is assumed Advanced topic - the logical test can be put into a worksheet cell, and a cell reference to it is placed into the function Sum range is optional If not specified, the sum is applied to criteria range Pg 87 Objective 4.3.1, 4.3.2, 4.3.3 © CCI Learning Solutions Inc.

Using Text Functions LEFT Extract the specified number of characters starting from the left side of the text string. RIGHT Extract the specified number of characters starting from the right side of the text string. MID Extract the specified number of characters starting from any position in the text string. UPPER Convert all characters in a text string to uppercase. LOWER Convert all characters in a text string to lowercase. PROPER Convert the first letter of the text string to uppercase. All other characters are set to lowercase. CONCATENATE Join two or more strings together to create one text string. Alternatively, use the & operator to join strings together. Pg 89 Objective 4.4.1, 4.4.2, 4.4.3, 4.4.4 © CCI Learning Solutions Inc.

Using Absolute and Relative Cell References Most formulas use relative addressing when formula is copied, cells automatically adjusts for new location address is not adjusted if formula is moved to another location Absolute addressing - cell addresses are not adjusted when copied elsewhere on worksheet To change to absolute cell address: type dollar sign before row number and/or column letter, or press F4 first time makes both column and row reference absolute second time makes only row references absolute third time makes only column reference absolute fourth time removes absolute references on both column and row Pg 91 Objective 4.1.1 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Using Mixed Absolute and Relative Cell References Select what needs to stay absolute when formula is copied to another cell: Column Data must be from same column =C10*$D2 Row Data must be from same row =C10*D$2 Both Must always be this cell =C10*$D$2 Pg 92 Objective 4.1.1 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Displaying and Printing Formulas To see formula, select cell and examine in formula bar To see all formulas at same time: File tab, click Options, click Advanced, click Show formulas in cells instead of their calculated results Formulas tab, in Formula Auditing group, click Show Formulas Useful for verifying accuracy of spreadsheet Pg 94 Objective 1.4.10 © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Data Validation Prevent errors when data entered Validation check types: Any value No data validation. Whole number Numeric values without decimal digits. Decimal Any numeric value. List Selection only from a defined list of values. Also known as a pick list. Date Date values only. Earliest date is January 1, 1900. Time Time values only. Text length Text only, up to specified number of characters. Custom Enter a formula to validate the data. Result is True or False. Pg 96 Objective 1.3.8 © CCI Learning Solutions Inc.

Data Validation Displays icon and error message when incorrect data is entered Displays helpful message when user selects the cell Pg 96 Objective 1.3.8 © CCI Learning Solutions Inc.

Lesson Summary what formulas are create and edit simple formulas use math operators and understand order of calculations reference other worksheets use common functions use SUBTOTAL function use a conditional function use conditional summary functions use text functions use absolute and relative cell references use mixed absolute and relative cell addresses display and print formulas use data validation Review the objectives as a quick summary so students recognize the skills they are starting to build. © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Review Questions 1. List which standard math operators Excel uses and what is their order of precedence. 2. Give examples of how using formulas to perform a what-if analysis is beneficial to you. 3. Which of the following are invalid? a) =MAX(B5:B15) b) =MAX(B5,B6,B7,B8,B9,B10,B11,B12,B13,B14) c) =MAX(B5:B7,B8:B10,B11:B15) d) =MAX(B1,B5:B8,B9:B15) e) All of the above are invalid formulas f) None – all are valid formulas g) c h) b, c, and d Answers to the Review questions are found in the Instructor Resources and can be used at the end or beginning of a class. Alternatively, you can also assign these for homework and then mark them at the beginning of the next class. © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.

Review Questions 4. Define the different parts of a reference to other worksheets using the reference Tours!B4 as an example. 5. What is the main difference between an IF function and other functions discussed in this lesson such as SUM, AVERAGE, and UPPER? 6. Are the LEFT and MID functions fully interchangeable? In other words, can you always use the LEFT function instead of MID, as well as using MID instead of LEFT. 7. Explain the difference between absolute and relative cell references. 8. Provide examples of when or why it may be beneficial to print the formulas in the worksheet Answers to the Review questions are found in the Instructor Resources and can be used at the end or beginning of a class. Alternatively, you can also assign these for homework and then mark them at the beginning of the next class. © CCI Learning Solutions Inc. © CCI Learning Solutions Inc.