Professional Documents
Culture Documents
ˆSelect the cell that the sum will appear in that is outside the cluster of
cells whose values will be added.
Click the Autosum button (Greek letter sigma, Σ).
ˆHighlight the group of cells that will be summed.
ˆPress the Enter key on the keyboard or click the green check mark on the
formula bar.
Function Wizard
You can access all of the available functions in Excel using the Function
Wizard.
ˆSelect the cell where the function will be placed and click the Function
Wizard button on the standard
toolbar.
ˆOther ways of starting the Function Wizard are:
– Select Function from the Insert drop menu.
– Click on the drop down arrow next to the Autosum icon button.
* You will first see the commonly used functions in Excel, and at the
bottom of the menu, the
More Functions option.
* Clicking on More Functions will give you an alphabetical and categorical
listing of all available
functions in Excel.
Excel Formulas
A formula is a set of mathematical instructions that can be used
in Excel to perform calculations. Formulas are started in the formula
box with an = (equal) sign.
4
Function Library
The function library is a large group of functions on the Formula Tab of the
Ribbon. These functions include:
Calling cells by just their column and row labels (such as "A1") is
called relative referencing. When a formula contains relative
referencing and it is copied from one cell to another, Excel does not
create an exact copy of the formula. It will change cell addresses relative
to the row and column they are moved to. For example, if a simple
addition formula in cell C1"=(A1+B1)" is copied to cell C2, the formula
would change to"=(A2+B2)" to reflect the new row. To prevent this
change, cells must be called by absolute referencing and this is
accomplished by placing dollar signs "$" within the cell addresses in the
formula. Continuing the previous example, the formula in cell C1 would
read "=($A$1+$B$1)" if the value of cell C2 should be the sum of cells
A1 and B1. Both the column and row of both cells are absolute and will
not change when copied. Mixed referencing can also be used where
only the row or column fixed. For example, in the formula"=(A$1+$B2)",
the row of cell A1 is fixed and the column of cell B2 is fixed.
Linking Worksheets
You may want to use the value from a cell in
another worksheet within the same workbook in a
formula. For example, the value of cell A1 in the
current worksheet and cell A2 in the second
worksheet can be added using the format
"sheetname!cell address". The formula for this
example would be"=A1+Sheet2!A2" where the
value of cell A1 in the current worksheet is added
to the value of cell A2 in the worksheet named
"Sheet2".
List of functions
1. IF Functions
Specifically , in
many cases, a function will simplify formulas that you can type in manually, such as average or sum.
ˆEXAMPLE: If you wanted to add the values of cells D1 through D10, you could type the formula
The following table contains the definitions and examples of several other available functions:
Function Example Description
SUM =SUM(A1:A100) Finds the sum of cells A1 through A100.
AVERAGE =AVERAGE(B1:B10) Finds the average of the cells B1 through B10.
MAX =MAX(C1:C100) Returns the highest number from cells C1 through C100.
MIN =MIN(D1:D100) Returns the lowest number from cells D1 through D100.
SQRT =SQRT(D10) Finds the square root of the value in D10.
TODAY =TODAY() Returns the current date (leave the parentheses empty).
Copying Formulas/Functions and Cell
References
As we’ve seen, the best way to construct a formula or a function is to use cell references (i.e., use the cell
addresses) instead of typing actual numbers. In turn, this enables Excel to automatically update the results
of the formulas and functions when you change the values in the cells referenced.
Using cell references in formulas and functions is also important when you copy a formula or function. When
you copy the formula or function, the cell addresses will be copied in a particular way depending on how
the cells are referenced. Specifically, Excel records cell addresses in formulas and functions in three different
ways:
formulas or functions contain relative cell referencing and they are copied from one cell to another, Excel
does not create an exact copy of the formula or function. Instead, Excel changes the cell addresses relative
EXAMPLE: If a simple addition formula of ’=A1+B1’ in cell C1 is copied to cell C2, the formula would
EXAMPLE: If a simple average function of ’=AVERAGE(B2:B5)’ in cell B6 is copied to cell C6, the
An absolute cell reference refers to the same cell, no matter where the formula or function is copied. In other
words, when a formula or function containing an absolute cell reference is copied to a new location, the cell
To create an absolute cell reference, you will need to add dollar signs (’$’) in front of both the column
and row identifiers for the cell referenced – this fixes the row AND column.
– You can add the dollar signs (’$’) automatically by using the F4 keyboard shortcut – press the
F4 key once after entering the cell address into the formula or function by typing or by using the
point mode.
EXAMPLE: When the formula ’=B7*$C$1’ is copied from cell C7 to cell C8, the relative cell reference
changes ’B7’ to ’B8’, but the ’$C$1’ absolute cell reference remains unchanged.
An absolute cell reference is most often used when
you want to use a constant in a formula or
function.
When you are working with a large spreadsheet you can name a
range of cells and use the name in formulas
or functions.
ˆTo name a range, select the cells to be included in the range, and
then type a name in the Name Box located above the worksheet.
ˆRecall, the Name Box normally contains the address if the current
cell.
Linking Worksheets
You may want to use the value from a cell in
another worksheet within the same workbook
in a formula.
Use the format ’sheetname!celladdress’.
ˆEXAMPLE: The value of cell A1 in the current
worksheet and cell A2 in the second worksheet
can be
added using the formula ’=A1+Sheet2!A2’.
The IF Function in Excel 2007
The IF function can be quite useful in a spreadsheet. It is used when you
want to test for more than one value.
IF(logical_test, value_if_true, value_if_false)
The thing to note here is the three items between the round brackets of
the word IF. These are the arguments that the IF function needs. Here's what
they mean:
: (colon) Range. Produces one reference to all the cells between two
references. (Reference Operator)
, (comma) Union. Combines multiple cell or range references into
one reference. (Reference Operator)
VLOOKUP Function in Excel 2007
Searches for a value in the first column of a table array and returns a
value in the same row from another column in the table array. The V in
VLOOKUP stands for vertical.
VLOOKUP(lookup_value,table_array,col_index_num,range_lookup)
Lookup_value The value to search in the first column of the table array.
Table_array Two or more columns of data. Use a reference to a range or a
range name. The values in the first column of table_array are the values
searched by lookup_value. These values can be text, numbers, or logical
values. Uppercase and lowercase text are equivalent.
Col_index_num The column number in table_array from which the
matching value must be returned. A col_index_num of 1 returns the value in
the first column in table_array; a col_index_num of 2 returns the value in the
second column in table_array, and so on.
Range_lookup A logical value that specifies whether you want VLOOKUP to
find an exact match or an approximate match. (TRUE/FALSE)
COUNT Function in Excel 2007
COUNT(value1,value2,…)
COUNTIF Function in Excel 2007
COUNTIF(range,criteria)
Range – is the range of cells from which you want to count nonblock cells.
Criteria – is the condition in the form of number, expression, or text that
defines which cells will be counted.
RANK Function in Excel 2007
Number – is the number for which you want to find the rank.
Reference – is an array of, or a reference to, a list of numbers. Nonnumeric
values are ignored.
Order – (0 – descending order; 1 – ascending order)