Presentation is loading. Please wait.

Presentation is loading. Please wait.

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.

Similar presentations


Presentation on theme: "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."— Presentation transcript:

1 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 a function is an equals sign (=), the function name (SUM, for example), and one or more arguments. Arguments contain the information you want to calculate. The function in the example below would add the values of the cell range A1:A20. Insert function – Shift + F3

2 There are a variety of functions. Here are some of the most common functions you'll use: SUM: This function adds all the values of the cells in the argument. AVERAGE: This function determines the average of the values included in the argument. It calculates the sum of the cells and then divides that value by the number of cells in the argument. COUNT: This function counts the number of cells with numerical data in the argument. This function is useful for quickly counting items in a cell range. MAX: This function determines the highest cell value included in the argument. MIN: This function determines the lowest cell value included in the argument. IF: Use the IF function, one of the logical functions, to return one value if a condition is true and another value if it's false. Syntax IF(logical_test, value_if_true, [value_if_false])

3 AND function Returns TRUE if all its arguments evaluate to TRUE; returns FALSE if one or more arguments evaluate to FALSE.

4 OR function Return a TRUE if any argument is TRUE; returns FALSE if all arguments are FALSE. NOT function

5 COUNTA function The COUNTA function counts the number of cells that are not empty in a range. COUNTIF function Counts the number of cells within a range that meet the given condition. Syntax COUNTIF(range, criteria) PRODUCT function Multiplies all the numbers given as arguments. For example, the formula=PRODUCT(A1:A3, C1:C3) is equivalent to =A1 * A2 * A3 * C1 * C2 * C3. SUMIF function Adds the cells specified by a given condition or criteria.

6 You use the SUMIF function to sum the values in a range that meet criteria that you specify. For example, suppose that in a column that contains numbers, you want to sum only the values that are larger than 5. You can use the following formula: =SUMIF(B2:B25,">5") ABS function Returns the absolute value of a number, a number without its sign. POWER function Returns the result of a number raised to a power. FACT function Returns the factorial of a number, equal to 1*2*3*….* Number. SQRT function Returns the square root of a number.


Download ppt "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."

Similar presentations


Ads by Google