Article ID: 142507
Article Last Modified on 8/17/2005
Row Column
---- ---------
A B C
-------------
1 | 2 | 5 | 4 |
-------------
2 | 7 | 3 | 6 |
-------------
3 | 8 | 1 | 0 |
-------------
4 | | | |
-------------
When you use this example, you can enter the sum of column A into the blank
cell A4 by following these steps:
Use a formula Result from
To do this similar to this the sample
------------------------------------------------------------
Add a number to a cell =(A1) + 3 5
Add two adjacent cells =SUM(A1:A2) 9
-or-
=(A1+A2)
Add two non-adjacent cells =(A1+A3) 10
Add a range of cells =SUM(B:B) 9
-or-
=SUM(B1:B3)
Subtraction:
Use a formula Result from
To do this similar to this the sample
------------------------------------------------------------
Subtract a number from a cell =(A1)- 3 1
Subtract two cells =(A3-B2) 5
Multiplication:
Use a formula Result from
To do this similar to this the sample
---------------------------------------------------------------
Multiply a number by a cell =(A1)* 3 6
Multiply two adjacent cells =PRODUCT(A1:A2) 14
Multiply two non-adjacent cells =PRODUCT(A1,A3) 16
Multiply a range of cells =PRODUCT(B:B) 15
-or-
=PRODUCT(B1:B2)
Division:
Use a formula Result from
To do this similar to this the sample
------------------------------------------------------------
Divide a number by a cell =(A1)/3 .67
Divide two cells =C2/A1 3
Sum Example
-----------
{=SUM(A1) + SUM(C2) + SUM(B2)}
{=SUM(A1,C2,B2)}
Product Example
---------------
{=PRODUCT(A1) + PRODUCT(C2) + PRODUCT(B2)}
{=PRODUCT(A1,C2,B2)}
When you subtract or divide nonadjacent cells, you must refer to each
cell separately (that is, you cannot use commas), as in the following
examples:
{=SUM(A1) - SUM(C2) - SUM(B3)}
{=SUM(A1) / SUM(C2) / SUM(B3)}
{=SUM(LEFT)}
{=Quantity_Sold*.10}
{=Quantity_Sold*SUM(B2)}
{=Quantity_Sold*Commission}
Examples of the Type of Field to Avoid
--------------------------------------
{=SUM(C:C)} adds the entire column, including the result. Each time
you update this field, the result is the sum of the column plus the
field's previous total. To prevent this behavior, use an absolute
reference instead, and place the field in another column.
For more information, please see the following articles in the
Microsoft Knowledge Base:
Additional query words: calculate noncontiguous discontiguous uncontiguous arithmetic math mathematic mathematical expression
Keywords: kbhowto kbualink97 kbtable kbfield kbformula kbfaq KB142507