Using Formulas
|
|
Site Navigation
|
FormulasExcel can perform a wide variety of calculations using formulas. Formulas can be stored in worksheet and will perform calculations as constant values are entered into the worksheet.
As constant values change in a worksheet, formulas automatically recalculate results.
Formulas can be created in one part of workbook and copied to other parts of the workbook. Excel will automatically adjust the copied formulas so they work in the new locations.
To create simple formulas: Select the cell that will display the results of the formula’s calculation.
Order of OperationsExcel will perform calculations using mathematical order of precedence rules. If several operators are combined in a formula, Excel performs the operations in the order shown in the following table, reprinted from Excel Help. If a formula contains operators with the same precedence, Excel performs the operations from left to right. To be sure your formula calculates correctly, enclose in parentheses the cell addresses and operators you want calculated first.
For example: The formula =5+10/2 will yield a result of 10 because Excel will perform the division operation first. The formula =(5+10)/2 will yield a result of 7.5 because the addition operation enclosed in parentheses will be performed first.
Formulas and Decimal Place FormattingIn Excel it is possible to apply formats to cells that will increase or decrease the number of decimal places displayed. For example, the value 1.6 can be entered into a cell. If that cell is formatted to display 0 decimal places, Excel will display the value in the cell as 2. However, the actual value stored in the cell remains 1.6. (Actual value of the cell will be displayed in the formula bar when the cell is selected.) If that cell is referenced in a formula, Excel will perform the calculation using the cell’s actual value (1.6) not the formatted value (2).
Formulas with Cell References and FunctionsThe most common use of formulas in Excel include cell references, not just numerical equations. Many Excel formulas all contain FUNCTIONS, which are the capitalized letters behind the equal size. Functions tell the formula how to process the cell range data. Some common examples:
|
|
Curriculum developed by WyzGuys Computer Tutors All Rights Reserved - updated 12/07/2006 Hosted by WyzHost.com contact support@wyzhost.com |