

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Working with Formulas and Functions March 8, 2007 Introduction to Formulas: o Remember that formulas are one of the most useful features in Excel because they enable you to calculate values based on data entered into the workbook (EX 53). o A function is a pre-defined formula that performs calculations using specific values. An example would be the AutoSum function that we discussed in our last lecture (EX 53). There are 350 different functions in Excel divided into ten broad categories. o Every function has syntax. Syntax is the rule that specifies how a function may or not be used (EX 53). o Excel functions require arguments. An argument is a number, text, or cell reference used by the function to calculate a value. Some arguments are required and some arguments are optional (EX 53). o The AVERAGE function calculates the average value of a group of numbers. Its syntax is shown below (EX 54): AVERAGE(number1, [number2, number3, …]) The arguments number1, number2, number3 can be either actual numeric data or cell references. The arguments number2 , number3 , and so forth are optional. You can tell that they are optional because they are shown within [ ]. You can tell that this function can accept limitless optional arguments because of the ellipses (…). If you wanted to average the numbers 3, 5, 6, and 8, you could do so with a formula such as this: AVERAGE(3,5,6,8) If you wanted to average the numbers within the cells B3, C3, D3, and E3, you could do so with a formula such as this: AVERAGE(B3:E3) Would the formula, AVERAGE() , be valid? Why or why not?
o The SUM function calculates adds together a group of numbers. Its syntax is shown below (EX 54): SUM(number1, [number2, number3, …]) The arguments number1, number2, number3 can be either actual numeric data or cell references. The arguments number2 , number3 , and so forth are optional. You can tell that they are optional because they are shown within [ ]. You can tell that this function can accept limitless optional arguments because of the ellipses (…). If you wanted to add the numbers 3, 5, 6, and 8, you could do so with a formula such as this: SUM(3,5,6,8) If you wanted to add the numbers within the cells B3, C3, D3, and E3, you could do so with a formula such as this: SUM(B3:E3) Would the formula, SUM() , be valid? Why or why not? o Here is a different example, a function with no optional arguments. The ROUND function rounds a number to a specified number of digits. Its syntax is shown below (EX 54): ROUND(number, num_digits) The argument number is a required argument and is the number or cell reference you want to round. The argument num_digits is a required argument that specifies the number of digits to which you want to round the number. If you wanted to round the value in cell in G3 to the first decimal place, you could do so with a formula such as this: ROUND(G3,1) Would the formula, ROUND(G3) , be valid? Why or why not? Would the formula, ROUND(G3,4,1) , be valid? Why or why not? Copying and Pasting Functions: o You can copy from one cell (or cell range) to another cell (or cell range) (EX 56).