The information in this article applies to:
SUMMARYThis article describes how to create simple spreadsheets in Microsoft Word, using tables and the Formula (=) field. In these spreadsheets, you can add, subtract, multiply, and divide values entered in cells. MORE INFORMATIONReferencing CellsIndividual cells are referenced by column letter and row number in the form of "A1" where A represents the column and 1 represents the row. For example, A2 refers to the cell located in the first column second row. To select a row only, the syntax would be "2:2," and to select a column the syntax would be "A:A."NOTE: All of the examples in this article refer to the following table and can be placed in any blank cell in the table:
When you use this example, you can enter the sum of column A into the blank
cell A4 by following these steps:
Operations You Can Use to Manipulate Values in CellsAddition:
Subtraction:
Multiplication:
Division:
Referring to CellsSyntax:Unlike earlier versions of Word, individual cell references do not need to be enclosed in brackets and parentheses. However, cell ranges, which are separated with a colon such as (A1:A6), must be enclosed in parentheses. Referencing Cell Ranges: If the cells are in a contiguous block (they cover a rectangular area), you can shorten the reference to them. For instance, the eight-cell area from A1 to D2 can be referenced as A1:D2. Referencing Nonadjacent Cells: When you add or multiply nonadjacent cells, you can refer to each cell individually, or you can separate the references themselves with commas. NOTE: You can use commas only with the Sum and Product functions. For example, these formulas are equivalent:
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:
Relative RererencesRelative references are useful when you want a generic formula that doesn't refer to specific cells. You can add and delete rows and maintain a correct result. Relative references are also useful when you don't want to retype a formula. For instance, if you want each cell in the fifth column to contain the sum of the numbers of the first four columns in the same row, you can use a relative reference. In this example, the field would resemble the following:{=SUM(LEFT)}You can also combine relative references with absolute references (references to a specific cell). Bookmark ReferencesYou can apply a bookmark to the contents of any cell or field and use that bookmark in a calculation. This can often simplify the construction of other fields and can save typing.For example, if you apply a bookmark called "Quantity_Sold" to the contents of cell A3, you can refer to it in another cell. {=Quantity_Sold*.10} References to Avoid: If you refer to an entire row or column and place the field within that range, Word includes the field result in the calculation. Each time you update the calculation, it will include itself in the result. This produces a different result (even if none of the other numbers in the row or column have changed) and yields unreliable results.
For additional information, please see the following articles in the Microsoft Knowledge Base: Q185404 WD97: Incorrect Value/Table Cell Inserted Referencing BookmarkQ185402 WD97: Calculation in Form Field Shows Wrong ResultQ185398 WD97: How to Modify a Calculation Field to Appear Blank Additional query words: display worksheet workbook simulate excel
Keywords : kbdta kbfield word97 kbtable |
Last Reviewed: July 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |