Formulas and Functions
Excel Formuals and Functions Topics Covered
Three Rules for Successful Formulas
Formulas always start with an "=" sign
Never use numbers in a formula; use cell references
Remember PEMIDAS (Order of Operations)
Cell References:
Ranges of cells or a cell within a worksheet are useful to recognize data for use in formulas to calculate results based on the data. The cell reference is identified by viewing the intersection of the row and column headings.
Example: (image to right) The cell reference is B3
A range of cells on a worksheet is represented by: B2:B4
Absolute Cell Reference
Categorized by a $, absolute cell reference points to an exact location on a worksheet, no matter where the formula is moved.
Absolute cell referencing involves nothing more than placing a dollar symbol ($) before each reference value (letter and number).
In your formula insert a dollar symbol before each letter and number to insure absolute (lock) cell reference.
Example: =A1+A2 for absolute cell reference should be written =$A$1 + $A$2
Absolute Reference Shortcut = F4
Formula Bar
Inserting a Formula
Select the cell that will contain the formula results.
Enter the formula using the Formula Bar or the cell and press Enter. Remember all formulas and functions begin with an equals sign.
Functions
Pre-defined formulas simplify the process of adding common and/or complex calculations to worksheets.
Frequently Used Functions:
AVERAGE- calculates average =AVERAGE(A1:A20)
COUNTA – counts # of cells containing data =COUNTA(A1:A85)
SUM- calculates sum total =SUM(A1:A20)
MAX-returns the highest value =MAX(B11:G11)
MIN-returns the lowest value =MIN(B11:G11)
Insert a Function
With the cell selected that will contain the function result, from the formula bar, click on the Insert Function icon, select a function from the Insert Function dialog box and click OK.
Or
From the Formulas tab browse through the categories drop-down menu.
Troubleshooting Formulas & Functions
If the worksheet contains an error from the Formulas tab, within the Formula Auditing group, click on the Error Checking command and the Error Checking dialog box will open.
Using the Next and Previous buttons to view errors or options, editing within the Formula Bar to make changes to the broken function or formula.
TechRepublic - 10 tips for troubleshooting Excel formulas and functions