Spreadsheet Math
Tutorial donated by Wayne Tschirhard
The purpose of this tutorial is to explain how to use math in spreadsheets.
Addition
The + sign is used for addition. To enter the + sign, press the Shift key and the +, ,key.

Click on A6.

Type the number 10, then press Enter. ("10" appears in "A6" and the active cell is "A7".)

Type the number 5, then press Enter. ("5" appears in "A7" and the active cell is "A8".)

Type =A6+A7 (Or click the “Function”, , icon. The “=” appears in “A8'. The “Function”, , icon changes to the “Accept”, , icon. Then type "A6+A7".).
 Press Enter (or click the “Accept”, , icon). The answer, 15, appears in A8.
Sum (Calculate The Total Of A Column)

In A1, type 5, press Enter.

In A2, type 5, press Enter,

In A3, type 5, press Enter,

In A4, type 5, press Enter

In A5, type 5, press Enter.

Click In A6, the last cell in the column of numbers you want to add. ("A6"
has a heavy dark border and is the "Active Cell." )

Click on the Sum, Σ, ("Σ" is the mathematics symbol for sum.) icon on the Formula Toolbar just left of the Input Line The Function, , icon changes to the Accept, , icon.

Click the Accept, , icon (green check mark) or press Enter. The formula, =SUM(A1:A5), appears in the A6 cell.

Press Enter. The sum, 25, will appear in A6. A7 becomes the active cell.
Cell Range
In the section above, the SUM function appears as =SUM(A1:A5). The A1:A5 in the parenthesis is called a Cell Range. It is shorthand for "from A1 to A5".
Subtraction
The  sign is used for subtraction. To enter the – sign, press the key.

Click on A8. To clear cell A8, press the Delete key. (The “Delete Contents” window appears.) Check the Delete all box and click OK.

Type =A6A7 (Or click the “Function”, , icon. The “=” appears in “A8" The “Function”, , icon changes to the “Accept”, , icon. Then type "A6A7".).

Press Enter (Or click the “Accept”, , icon.) The answer, 20, appears in A8.
Multiplication
The star ,*, sign is used for multiplication. To enter the * sign, press the Shift key and the number 8 key.

Click on A8. To clear cell A8, press the Delete key. (The “Delete Contents” window appears.) Check the Delete all box and click OK.

Type =A6*A7 (Or click the “Function”, , icon. The “=” appears in “A8”. The “Function”, , icon changes to the “Accept”, , icon. Then type "A6*A7").

Press Enter (Or click the “Accept”, , icon.) The answer, 125, appears in A8.
Division
The slash, /, sign is used for division. To enter the slash, /, sign, press the key [? And /].

Click on A8. To clear cell A8, press the Delete key. (The “Delete Contents” window appears.) Check the Delete all box and click OK.

Type =A6/A7 (Or click the “Function”, , icon. The “=” appears in “A8'. The “Function”, , icon changes to the “Accept”, , icon. Then type "A6/A7".).

Press Enter (Or click the “Accept”, , icon.) The answer, 5, appears in A8.
Average

In A1, type 5, press Enter.

In A2, type 5, press Enter,

In A3, type 5, press Enter,

In A4, type 5, press Enter

In A5, type 5, press Enter.

In A6, type 25, press Enter.

In A7, type =Average(A1:A6), press Enter. (8.33 appears in A7)
Enter Formulas
When you type in formulas, the order of operations must be correct. The
correct order is: exponentiation, multiplication, division, addition, then
subtraction. Let's pretend we want to perform a calculation using the equation:

and suppose we entered it into Calc as follows:

Select the A column. (Click on the letter "A." The whole "A "column
is selected)

Press Delete. (Make sure the "Delete all" box is checked.)

Press OK.

Click on A1.

Type 20 in A1 and press Tab.

Type 10 in B1 and press Tab. (Cell C1 becomes active)

Type the formula =A1+10/B1 + 20.(Or click the “Function”, , icon which changes to the “Accept”, , icon. Type "A1+10/B1+20").

Press Enter (Or click the “Accept”, , icon. The answer, 41, appears in C1.)
The answer should be 1, using x = 20 and y = 10, but we got 41 for an answer! Why? Because Calc interpreted the equation as:
20 + (10/10) + 20
which equals 41. If you use formulas with equations in the numerator and denominator,
you need to use parenthesis () to force the spreadsheet to calculate them properly. Make the following
changes:

Click on C1.

Click on the Input Line.

Edit the formula to read =(A1+10)/(B1+20). (Click just before the A, then Press the ( key [Shift9]. Click after the 0 in 10, then press the ) key [Shift0]. Click just before the B, then Press the ( key [Shift9]. Click after the 0 in 20, then press the ) key [Shift0]).

Click the Accept, , icon (green check mark.) The correct answer, 1, appears in C1.
Copy Formulas
You can copy a formula so that the formula itself is copied OR that the
answer to the formula is copied.
Copy The Formula Itself

Select (click on) the cell(s) that is to be copied.

Rightclick, then click Copy. (The material is copied to the clipboard)

Select (click on) the cell where the material is to appear.
 Rightclick, then click Paste.
Copy The Answer of a Formula

Select (click on) the cell(s) that has a formula.

Rightclick, then click Copy. (The material is copied to the clipboard)

Select (click on) the cell where the material is to appear.

Rightclick, then click Paste Special. (The “Paste Special” window appears)

Remove the check mark at Paste all.

Remove the check mark at Formulas and add a check mark at Numbers. Click OK.
Exponentiation
The number 10^{2} is written as 10^2. To enter the ^ sign, press the Shift key and the number 6, , key.

Click on A9.

Type =A6^A7 (Or click the “Function”, , icon. The “=” appears in "A9". The “Function”, , icon changes to the “Accept”, , icon. Then type "A6^A7".).

Press Enter (Or click the “Accept”, , icon.) The answer, 100000, appears in A8.
NOTE
Tuorials are improved by input from users. We solicit your constructive
criticism.
Click here to Email your suggestions and comment
Tutorial edited by Sue Barron
Spreadsheet Math 02/03/08
Last modified: 20080430 01:42 UTC
