Using Functions in Excel - PowerPoint PPT Presentation

1 / 17
About This Presentation
Title:

Using Functions in Excel

Description:

How would your write a formula to round the average value in cells Cl:C10 to the ... Present value, Future value. Logical: NOT, AND, OR. Trigonometric: COS, TAN, ... – PowerPoint PPT presentation

Number of Views:460
Avg rating:3.0/5.0
Slides: 18
Provided by: margogarc
Category:

less

Transcript and Presenter's Notes

Title: Using Functions in Excel


1
Using Functions in Excel
  • Objectives Using Excel functions
  • SUM, MIN, MAX, AVERAGE, COUNT
  • ROUND
  • COUNTIF SUMIF

2
A Function is a predefined worksheet formula
  • The advantage of using a function
  • Saves time
  • Simplifies complex calculations
  • Faster
  • Less chance of typographical errors
  • Fewer characters in the formula bar
  • Example instead of A1A2A3A4A5
  • use SUM(A1A5)

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

4
The SUM Function
  • Syntax SUM(range) or SUM(num1, num2, )
  • Can type into cell, use AutoSum toolbar button
    or function wizard
  • Argument Value or Range of cells to be summed
  • Algorithm Arithmetic sum of all values listed in
    the range argument
  • Example In the formula SUM(B2B8) 3 Excel
    will add the values in cells B2 through B8 and
    then multiply the result by 3.

5
Arguments of a SUM function
  • Valid Range Arguments for a SUM function
  • A1A4 - Range along a column
  • A1D1 - Range along a row
  • A1D4 - A two-dimensional range (Block)
  • A1, D3D5, 7 - non-contiguous cells
  • not all range arguments of functions can be
    used with non-contiguous cells

6
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(C5F5)
7
Common Functions- with only a range argument
Where number1, number2 are 1 to 30 numeric
arguments. Arguments can either be numbers,
ranged names or ranges of cell references which
contain numbers.
8
How a functions algorithm can affect the
resulting value
  • How does the Average function algorithm treat
    blank cells?
  • What value will result in cell A5 if it contains
    the formula AVERAGE(A1B4)?

Blank cells are ignored ? the resulting value is
20
9
The Round Function changes the precise value of a
number, not just its display
  • Syntax Round (number, num_digits)
  • Round (24.44,1) results in the value 24.4
  • What value will result if you write the formula
    Round (B2,0)10 if cell B2 contains the value
    81.3?
  • How would your write a formula to round the
    average value in cells ClC10 to the nearest ten?

? 810
? ROUND(AVERAGE(C1C10),-1)
10
An Example of Rounding
The formula in cell C2 is B2 copied down The
formula in cell D2 is Round(B2,0) copied
down The formula in cell C5 is C2C3C4 copied
across
11
The COUNTIF Function counts the number of items
in a range that meet a specific criteria.
  • COUNTIF (range, criteria)
  • Range - a continuous cell range
  • Criteria Syntax
  • A number 6 COUNTIF(B2B7,6)
  • Text USA COUNTIF(A1A50,USA)
  • A cell reference B2 COUNTIF(C3C10,B2)
  • A Boolean expression gt5 COUNTIF(A1A10,gt5)

The comma tells the computer the next argument
is the criteria so you cannot list individual
cells separated by a comma for the range
12
Using the COUNTIF Function
How many people scored above 70 points on Midterm
1?
COUNTIF(B4B6, gt70)
13
The SUMIF Function sums the values in a range
that meet a specific criteria
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
lt2 - a cell reference such as A1
14
Sumif Function
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(B2B6,A9, C2C6)
15
Other Categories of Functions
  • Statistics
  • Mean, Median, Standard deviation
  • Financial
  • Present value, Future value
  • Logical
  • NOT, AND, OR
  • Trigonometric
  • COS, TAN,

16
Function Wizard
  • Function wizard A short-cut to all the functions
    in excel (use fx toolbar button)
  • Walks you through building a function
  • Useful when you dont know which function to use
    and how to use it

17
Function Wizard
  • Function wizard A short-cut to all the functions
    in excel (use fx toolbar button) that walks you
    through building a function
Write a Comment
User Comments (0)
About PowerShow.com