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.

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

MS EXCEL is a spreadsheet application Excel covers: Calculation Graphic tools Pivot tables Macro programming language called VBA EXCEL is a part of MS.
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.
About Functions SUM, AVERAGE, MIN, MAX, COUNT, ROUND
Microsoft Excel Presented by ShoWorks Fair Software and Online Entries
G042 Task 4  Understand how to use a range of different functions in excel.  Used a range of functions within your excel spreadsheet.
EXCEL.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 1Advanced Formatting, Formulas, and Data Management Chapter 2Advanced Functions and Formulas.
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.
Excel – Study Guide #2.
Maths & Trig, Statistical functions. ABS Returns the absolute value of a number The absolute value of a number is the number without its sign Syntax ◦
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.
33 CHAPTER BASIC APPLICATION SOFTWARE. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 1-2 Announcement: QUIZ#02 In Lecture Session # 9 (5.
Excel Objects, User Interface, and Data Entry. ◦ Application Window  Title Bar  Menu Bar  Toolbars  Status Bar  Worksheet Window  Worksheet Input.
3-dimensional formula A formula that refers to cells in other worksheets.
Tutorial 7: Using Advanced Functions and Conditional Formatting
Spreadsheets Objective 6.02
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.
2 Explain advanced spreadsheet concepts and functions Advanced Calculations 1 Sabbir Saleh_Lecture_17_Computer Application_BBA.
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.
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.
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.
LOGO Chapter VI Advanced Functions 1. LOGO Overview  INTRODUCTION  NESTED FUNCTIONS  LOOKUP  VLOOKUP  COUNTIF  SUMIF  IF  ROUND  THE PMT, IPMT.
1. Common Functions 2.
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.
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.
Computer Science & Engineering 2111 Lecture 2 Basic Functions, Common Excel Errors, Cell Addressing 1 CSE 2111 Lecture 2-Basic Functions and Cell Addressing.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® Excel 2010 © 2011 The McGraw-Hill Companies,
Data Analysis: Spreadsheets ICT iGCSE. 14.1: Creating a data model.
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.
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.
EXCEL Study Guide #2 Spreadsheet Terms  Input Collection of information – the data to be typed into the spreadsheet.  Output Worksheet results.
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.
International Computer Driving Licence Syllabus version 5.0
Using Advanced Functions and Conditional Formatting
Excel Functions.
CIS300 Test Review REACH - CRC Fall 2010
Excel Formulas & Functions.
Excel 2013 Formulas & Functions.
Excel 2013 Formulas & Functions.
EXCEL Study Guide #2.
Excel Functions.
Excel 2013 Formulas & Functions.
Excel Functions.
Spreadsheets 2 Explain advanced spreadsheet concepts and functions
Lesson 4: Introduction to Functions
REACH CRC Professor Manni
Spreadsheets Objective 6.02
GO! with Microsoft® Excel 2010
REACH Computer Resource Center
Spreadsheets Objective 6.02
Using Complex Formulas, Functions, and Tables
Microsoft Office Illustrated Fundamentals
Presentation transcript:

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

CS&E 1111 Exfunctions A Function is a predefined worksheet formula The advantage of using a function: l Saves time writing l Simplifies complex calculations l Faster execution l Less chance of typographical errors l Fewer characters in the formula bar Example: instead of =C5+C6+C7+C8 use =SUM(C5:C8)

CS&E 1111 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 1111 Exfunctions The SUM Function l Syntax: SUM(range) or SUM(num1, num2, …) 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 1111 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 1111 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 1111 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 1111 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. SUM(number1,[number2],…) Adds the numbers in a range of cells AVERAGE(SUM(number1,[number2],) Calculates the arithmetic mean of a list of values MIN(SUM(number1,[number2],…) Returns the smallest number of a range of values MAX(SUM(number1,[number2],…) Returns the largest number of a range of values COUNT(value1,[value2],…) Determines the number of cells in a range that contain numbers COUNTA(value1, [value2],…) Counts non-blank cells

CS&E 1111 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:A4)? Blank cells are ignored  the resulting value is 20

CS&E 1111 Exfunctions How many Honor students are there? Use =COUNTA(B5:B8)  2 The COUNT function ignores blank cells and text  the resulting value is 0 =COUNT(B5:B8)?

CS&E 1111 Exfunctions If scores should only be reported as integers.. How can we fix this in Excel? Use the ROUND function to change the precision of a value The Increase/Decrease decimal buttons do NOT change a value only how the value is displayed.

CS&E 1111 Exfunctions Syntax: Round (number, num_digits) l = Round (24.44,1) results in the value 24.4 l The ROUND function can be part of a larger formula: l What value results: =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 1111 Exfunctions The num_digits argument l Positive num_digits round to the specified number of decimal places l A zero results in a whole number l Negative num_digits round values to tens, hundreds etc.

CS&E 1111 Exfunctions Notice the Σ SUM gives different results when adding rounded values The formula in cell C2 is =B2 – copied down The formula in cell D2 is =Round(B2,0) – copied down The formula in Cell B5 is =SUM(B2:B4) - copied across

CS&E 1111 Exfunctions Counting the number of honor students How can we count the number of honor students if regular students have the letter R in the honor’s column? Before we used a COUNTA and ignored blanks but counted text.

CS&E 1111 Exfunctions Use the COUNTIF Function The COUNTIF function counts the number of values that meet a specified criteria: =COUNTIF(B5:B8, “H”)

CS&E 1111 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. * The comma tells the computer the next argument is the criteria – so you cannot list individual cells separated by a comma for the range

CS&E 1111 Exfunctions How many people scored above 6 points on either lab? =COUNTIF(C5:D8, “>6”) √ =COUNTIF(C5:C8,D5:D8, “>6”) X

CS&E 1111 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 the 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 1111 Exfunctions Write a formula in cell C9, which can be copied down the column, to summarize the number of courses being taken by students in this college =SUMIF(B$2:B$6,A9, C$2:C$6) Sumif Function

CS&E 1111 Exfunctions Use the AVERAGEIF function to average values that meet a specified criteria – average number of courses taken by students in each college =AVERAGEIF(B$2:B$6,A9, C$2:C$6) AVERAGEIF(range, criteria, averagif-range) – works identically to the SUMIF function except it averages the specified range.

CS&E 1111 Exfunctions A little harder..calculate the average cum for students by college by year =AVERAGEIF($B$3:$B$9,$B13,C$3:C$9) Is this equivalent to a sumif/countif?

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