210 likes | 333 Views
In this chapter, we explore essential Excel functions and their syntax, crucial for managing and analyzing data effectively. Learn about function basics, including the syntax rules, arguments, and categories of functions. We cover vital functions like SUM, AVERAGE, and VLOOKUP, providing examples and explanations of their usage in calculations. Understand how to insert functions using the Insert Function dialog box and the importance of logical functions and nested functions in complex calculations. This guide will enhance your Excel skills and improve your data handling capabilities.
E N D
Upcoming Deadlines • MyITLab Lesson 1 is due today (11:59 pm) • Homework #1 is due on September 12
Function basics • Function - predefined formula that performs a calculation. • Syntax - set of rules that govern the structure and components for properly entering a function. • Argument - input, such as a cell or range. • Function begins with the equal sign (=) followed by the function name and arguments in parentheses • E.g. =SUM(A1:A3)
Inserting a function • Formula AutoComplete displays a list of functions and defined names as you enter a function. Function ScreenTip gives you syntax • Use the Insert Function dialog box to search for a function or select one from a list. The Function Arguments dialog box offers help on each argument
Sum function • 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)
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 • COUNTA number of nonempty cells • COUNTBLANK number of empty cells
Date/time functions E.g. Serial number = 5/17/2006
Logical functions • IF function, syntax: • IF(logical_test/condition, value_if_true, value_if_false) • Logical operators
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
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
Lookuptable is a range that contains data for the basis of the lookup and data to be retrieved. • Breakpoint is the lowest value for a specific category or series in a lookup table. • VLOOKUP AND HLOOKUP
Syntax =VLOOKUP(lookup value , lookup table , column index number ) • The lookup value ─ value to look up in a reference table • The lookup table ─ a range of cells containing the lookup table • The column index number ─ the column number in the lookup table that contains return values
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
Pmt function • Calculates payments for a loan with a fixed amount with a fixed periodic rate for a fixed time period. • Syntax : PMT(rate, nper, pv, [fv],[type]) • Rate- periodic interest rate • Nper- total number of payments periods • Pv- present value of the loan / principal. • Fv- future value of loan / cash balance you want to attain after the last payment is made. • Type- when payments are due.
Rank Function RANK(number,ref,[order]) • Returns the rank of a number in a list of numbers. • Syntax : • The RANK function syntax has the following arguments: • Number Required. The number whose rank you want to find. • Ref Required. An array of, or a reference to, a list of numbers. Nonnumeric values in ref are ignored. • Order Optional. A number specifying how to rank number. • If order is 0 (zero) or omitted, Microsoft Excel ranks number as if ref were a list sorted in descending order. • If order is any nonzero value, Microsoft Excel ranks number as if ref were a list sorted in ascending order.
Displaying Cell Formulas • Press the Ctrl key plus the tilde (~) key to display formulas in a worksheet