CS&E 200 Exfunctions Using Functions in Excel Objectives: Using Excel functions l Sum, Min, Max, Average, Count l Large, Small, Rank l Round l Countif.

Slides:



Advertisements
Similar presentations
1. 2 File 1-Excel Training Part 1 Where number1, number2 are 1 to 30 numeric arguments. Arguments can either be numbers, ranged names or ranges of cell.
Advertisements

Lesson 3 Working with Formulas.
Formulas, Ranges, and Functions. Formulas n Formulas perform operations such as addition, multiplication, and comparison on worksheet values. n Formulas.
CS&E 1111 Exfunctions Using Functions in Excel Objectives: Using Excel functions l SUM, MIN, MAX, AVERAGE, COUNT, COUNTA l ROUND l COUNTIF, SUMIF, AVERAGEIF.
Excel Features That Would Help You Prepare Class Result.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
Excel – Study Guide #2.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
Introduction to Excel Formulas, Functions and References.
Computer Science & Engineering 2111 CONDITIONAL STATISTICAL FUNCTIONS 1 CSE 2111 Lecture Conditional Statistical Functions.
Microsoft Office Illustrated Fundamentals Unit H: Using Complex Formulas, Functions, and Tables.
Excel Objects, User Interface, and Data Entry. ◦ Application Window  Title Bar  Menu Bar  Toolbars  Status Bar  Worksheet Window  Worksheet Input.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010: Chapter1.
Tutorial 7: Using Advanced Functions and Conditional Formatting
Copyright 2003, Paradigm Publishing Inc. CHAPTER 3 BACKNEXTEND 3-1 LINKS TO OBJECTIVES AutoSum Button Mathematical Operators Mathematical Operators Formula.
Using Microsoft Excel for Marketing Research By William G. Zikmund.
Tutorial 8: Working with Advanced Functions
XP Copyright 2003 Peter McDevitt 1 Microsoft Excel 2002 Lecture 2 – Working With Formulas and Functions.
1CP102_module 3: spreadsheet2 More features in Excel Selection: a cell, a range, multiple ranges Name a range: to give name to a selected range or multiple.
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.
Computer Literacy BASICS
CIS300 TEST REVIEW EXAM 1- PROF. ZURADA & PROF. GUAN REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010.
REACH-CRC © 2013 REACH-CRC. All Rights Reserved.Spring 2013.
ACOT Intro/Copyright Succeeding in Business with Microsoft Excel 2010: Chapter1.
Microsoft Excel Diane M. Coyle Spring 2009 CS 105.
Syntax MROUND(number,multiple) Number is the value to round. Multiple is the multiple to which you want to round number. Remark MROUND rounds up, away.
STATISTICS Microsoft Excel “Frequency Distribution”
Excel Projects 5 & 6 Notes Mr. Ursone. Excel Project 5: Sorting a List  Sorting: Arranging records in a specific sequence  The Sort command is on the.
1. Common Functions 2.
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.
Copyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall. 1 by Mary Anne Poatsy, Keith Mulbery, Lynn Hogan, Amy Rutledge, Cyndi Krebs, Eric.
MS Excel Management Information Systems 1. Contents 2  Functions  IF Function and nested IF  Sorting Data.  Filtering Data.  Data Form.  Data Validation.
Microsoft® Excel Use Insert Function. 1 Key and point to enter functions. 2 Navigate with and create named ranges. 3 Use range names in functions.
 What is a formula in Excel?  A formula is statement written by the user to be calculated. Formulas can be as simple or as complex as the user wants.
Revision Function in Spreadsheet. AVERAGE Returns the average (arithmetic mean) of the arguments. Syntax AVERAGE(number1,number2,...) Number1, number2,...
Chapter 11 Creating Formulas that Count and Sum Microsoft Excel 2003.
Chapter 19 Managing Worksheet Lists. Creating Lists ► Microsoft Office Excel 2003 is inarguably the most powerful electronic spreadsheet available. ►
Using Advanced Formatting and Analysis Tools. 2 Working with Grouped Worksheets: Grouping Worksheets  Data is entered simultaneously on all worksheets.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Copyright © 2008 Prentice-Hall. All rights reserved. What Can I Do with a Spreadsheet.
INTRODUCTION TO FORMULAS AND FUNCTIONS 1 Nolan Tomboulian Tomboulian.wikispaces.com.
Computer Science & Engineering 2111 Lecture 2 Basic Functions, Common Excel Errors, Cell Addressing 1 CSE 2111 Lecture 2-Basic Functions and Cell Addressing.
Chapter 6 Creating, Sorting, and Querying a Table
Working with Formulas Formula – An expression that returns a value – Written using operators that combine different values, resulting in a single displayed.
Computer Science & Engineering 2111 Lecture 4 COUNTIF(s)/SUMIF(s)/SUMPRODUCT/ AVERAGEIF(s)/LARGE/SMALL/RANK 1.
PERFORMING CALCULATIONS Microsoft Excel. Excel Formulas A formula is a set of mathematical instructions that can be used in Excel to perform calculations.
Excel Review By Mr. Griffin Elmira Business Institute.
CIS300 Test Review REACH - CRC © 2010 REACH All Rights Reserved.Fall 2010.
Intermediate Excel 2013 Gareth Johns IT Skills Development Advisor.
Resource Review Excel formula basics Demonstrate how to enter manual formulas Examine some of the available functions and their usage Discuss the.
FUNCTIONS The parts of a function In order to work correctly, a function must be written a specific way, which is called the syntax. The basic syntax for.
CTS130 Spreadsheet Lesson 6 Working with Math & Trig, Statistical, and Date & Time Functions.
BUSINESS MATHEMATICS & STATISTICS. LECTURE 4 Review Lecture 3 Calculating simple or weighted averages Using Microsoft Excel.
CIS300 Test Review REACH-CRC © 2012 REACH-CRC. All Rights Reserved.FALL 2012.
Ms. Hall Spring Functions. Excel – Lesson 4 Summarizing Data with Functions A function is a predefined formula that performs a calculation. When.
CSE111 Introduction to Computer Applications
Functions and formulas In MS Excel.
Using Advanced Functions and Conditional Formatting
Excel Functions.
CIS300 Test Review REACH - CRC Fall 2010
Creating a Workbook Part 2
EXCEL Study Guide #2.
Excel Functions.
Excel Functions.
Lesson 4: Introduction to Functions
Using Microsoft Excel for Marketing Research
REACH CRC Professor Manni
Using Complex Formulas, Functions, and Tables
Mathematical Formulas and Excel
in Excel Instructor: Zhe He Department of Computer Science
Microsoft Office Illustrated Fundamentals
Presentation transcript:

CS&E 200 Exfunctions Using Functions in Excel Objectives: Using Excel functions l Sum, Min, Max, Average, Count l Large, Small, Rank l Round l Countif & Sumif

CS&E 200 Exfunctions A Function is a predefined worksheet formula The advantage of using a function: l Saves time l Simplifies complex calculations l Faster l Less chance of typographical errors l Fewer characters in the formula bar Example: instead of =A1+A2+A3+A4+A5 use =SUM(A1:A5)

CS&E 200 Exfunctions The general format of a function is - Functionname(arguments) l Arguments – argument variables are used by the function to calculate the result. Arguments appear in a specific order. l Syntax – specific format required to use a function its name and order of arguments l Result – the value calculated by the function l Algorithm – a step-by-step procedure for accomplishing some end task. Functions take arguments and return a result

CS&E 200 Exfunctions The SUM Function l Syntax: SUM(number1,number2) Can type into cell, use AutoSum toolbar button or function wizard l Argument: Value or Range of cells to be summed l Algorithm: Arithmetic sum of all values listed in the range argument Example: In the formula =SUM(B2:B8) * 3 Excel will add the values in cells B2 through B8 and then multiple the result by 3.

CS&E 200 Exfunctions Function Wizard l Function wizard: A short-cut to all the functions in excel (use fx toolbar button) that walks you through building a function

CS&E 200 Exfunctions Using functions What formula is written in cell G5 and copied down the column to determine the total points earned by the corresponding student? (grades.xls) =SUM(C5:F5)

CS&E 200 Exfunctions Valid Range Arguments for a SUM function l A1:A4 - Range along a column l A1:D1 - Range along a row l A1:D4 - A two-dimensional range (Block) l A1, D3:D5, 7 - non-contiguous cells* * not all range arguments of functions can be used with non-contiguous cells Arguments of a SUM function

CS&E 200 Exfunctions Common Functions- with only a range argument Where number1, number2 are 1 to 255 numeric arguments. Arguments can either be numbers, ranged names or ranges of cell references which contain numbers.

CS&E 200 Exfunctions Inserting Rows/Columns into the Data What would happen to the value in cell B6 if we insert a row between 3 and 4 and add the order# 301 with the quantity of 1000? (1)Assume the formula in cell B6 is originally =A2+A3+A4+A5 (2)Assume the formula in cell B6 is originally =SUM(A2:A5) Cell references are modified but the new row is not included with ‘+’. The new row is included with the SUM.

CS&E 200 Exfunctions How a function’s algorithm can affect the resulting value l How does the Average function algorithm treat blank cells? l What value will result in cell A5 if it contains the formula =AVERAGE(A1:B4)? Blank cells are ignored  the resulting value is 20

CS&E 200 Exfunctions Many functions consist of several argument types l LARGE(array, k)  Large(B2:B5,2) will return the 2 nd highest value in the range B2 to B5 l SMALL(array,k)  Small(B2:B5,2) will return the 2 nd lowest value in the range B2 to B5 l What would happen if you tried to use a non- continuous range in these functions  =Large(B2:B5,E2:E5,2)? =Large(B2:B5,E2:E5,2) -- The comma tells the computer the next argument is the criteria – so the range E2:E5 is interpreted as the k value and an error will result.

CS&E 200 Exfunctions Use the Large function to Calculate the total lab score dropping the lowest score l The following formula with count only the 4 highest scores: =LARGE(C3:G3,1) + LARGE(C3:G3,2)+ LARGE(C3:G3,3) + LARGE(C3:G3,4) l Is this formula always equivalent to =SUM(C3:G3)-SMALL(C3:G3,1)?

CS&E 200 Exfunctions Setting up a Ranking Table using the LARGE/SMALL Functions =LARGE(A$2:A$5,C2) =SMALL(A$2:A$5,C2)

CS&E 200 Exfunctions Ranking a List: RANK(Number, Ref, Order) The rank function will give you the rank order of a specific value from a list of values. l Cell I3: =RANK(H3,H$3:H$6,1) – 83 is the third lowest value l Cell J3: =RANK(H3,H$3:H$6,0) – 83 is the second highest value Notice Lee’s Rank is also 3 and there is no Rank 4

CS&E 200 Exfunctions Syntax: Round (number, num_digits) l = Round (24.44,1) results in the value 24.4 l What value will result if you write the formula =Round (B2,0)*10 if cell B2 contains the value 81.3? l How would your write a formula to round the average value in cells Cl:C10 to the nearest ten? The Round Function changes the precise value of a number, not just its display  810  ROUND(AVERAGE(C1:C10),-1)

CS&E 200 Exfunctions COUNTIF (range*, criteria) – Range - a continuous cell range Criteria Syntax: - A number 6 =COUNTIF(B2:B7,6) - Text “USA” =COUNTIF(A1:A50,“USA”) - A cell reference B2 =COUNTIF(C3:C10,B2) - A Boolean expression “>5” =COUNTIF(A1:A10, “>5”) The COUNTIF Function counts the number of items in a range that meet a specific criteria.

CS&E 200 Exfunctions How many people scored above 70 points on Midterm 1? Using the COUNTIF Function =COUNTIF(B4:B6, “>70”)

CS&E 200 Exfunctions SUMIF(range, criteria, sum-range) Range – Continuous range used to compare the criteria Criteria – Comparison Criteria Sum-Range - If criteria is met, the computer will sum corresponding entry in this range The syntax of the criteria is the same as the syntax of the COUNTIF function: - a number such as 6 - text such as “Honor” - a Boolean value such as “<2” - a cell reference such as A1 The SUMIF Function sums the values in a range that meet a specific criteria

CS&E 200 Exfunctions Simple Examples of Using SUMIF =SUMIF(B2:B8, "BUS", D2:D8) Write a formula to determine the total value of all scholarships for BUS majors: Write a formula to determine the total value of all scholarship awards that are over $3000: = SUMIF(D2:D8,">3000")

CS&E 200 Exfunctions What formula can be written in cell C13 to determine the average freshman GPA for Graduating Seniors in BUS? How can we make the formula work when copied both down and across? = SUMIF ($B$3:$B$9,$B13,C$3:C$9)/ COUNTIF ($B$3:$B$9,$B13 )

CS&E 200 Exfunctions Other Categories of Functions Statistics: Mean, Median, Standard deviation Financial: Present value, Future value Logical: NOT, AND, OR Trigonometric: COS, TAN,

CS&E 200 Exfunctions What we’ve learned about functions l Functions are formula “shortcuts” – to use a function you need the function name and to enter the function arguments in the correct order and observe the specified rules. l Functions can be input into the worksheet either by directly typing them, in some cases using the AutoSum button on the toolbar or by using the function wizard. l The functions SUM, MIN, MAX, AVERAGE, & COUNT all have a single argument – a range and ignore blank cells and text. l More complex functions covered include LARGE, SMALL, ROUND, COUNTIF and SUMIF.