As explained in another concept, the three types of data in a spreadsheet are text, numbers, and formulas (or functions). This concept defines what a formula is, and how formulas are different from the other two types of data found in a spreadsheet.
Formulas allow you to specify the value of one cell in terms of the value of other cells. For example, the following spreadsheet uses a formula to compute the distance in miles given the distance in kilometers in another cell:
The formula in cell B2 computes the distance in miles from the value in cell B1 and the constant 0.62.
There is a very precise mathematical definition for what a formula is, but in the context of spreadsheets a formula is an equation for computing a value. Formulas are composed of operands and operators. Operands are usually constant numbers and cell references, and operators are mathematical operators and builtin functoins. |
If you are going to write formulas with more than one operation (a likely situation) you will need to understand the standard order of evaluation and how parentheses effect the order of evaluation. For example, given the formula =1+2*3, which operation is done first? There are three possibilities:
The correct answer is #2. The rules that govern the order of evaluation are:
|
|
Copyright 1996 by the Curators of the University of Missouri