The information in this article applies to:
SUMMARY
Microsoft Excel 97 introduces natural language formulas, which is a method
of referring to a cell range in a table by using row or column labels as
the reference name. Natural language formulas use the intersection feature
that is available in earlier versions of Microsoft Excel.
MORE INFORMATIONIn earlier versions of Microsoft Excel, to refer to an intersection, you must know the ranges of cells in advance, or you must define range names for the cells before you refer to the range. If the ranges change, you must also update the formulas and defined names. With natural language formulas, you must no longer create defined names or determine the cell ranges in advance. Microsoft Excel 97 determines the range based on the row and column labels that you provide in the table on the worksheet. For example, in the table below, the following formula returns the value 100 for "Product A" in the "First Quarter":
Rules for LabelsNatural language formulas analyze the row and column headings of all tables in the current worksheet to determine the validity of the labels. In most instances, you can use any string as a label, but there are some restrictions. These restrictions include the following:
Stacked Column LabelsTables may contain more than one column or row label heading. You can create natural language formulas that refer to multiple headings. To do this, type a space between each of the labels in the formula. The following sample table and formula use a stacked column label in a formula.
The following formula returns the value 105 for the region "North" in
the year 1995 for "Feb":
NOTE: Cells B1:C1 and D1:E1 in the table are merged. To merge cells, select
the range and click Merge And Center on the Formatting toolbar.
Error ValuesThis error means that Microsoft Excel cannot determine the label. For example, in the formula "=First Quarter Sales", Microsoft Excel searches for the label "First Quarter Sales". If no matching label is found, Microsoft Excel searches for the label "First Quarter". If no label is found, Microsoft Excel searches defined names. The #NAME? error is returned if all the searches fail to find the label. This error means that the label is valid but does not refer to a valid intersection. For example, in the formula "=First Quarter Sales", if the label "'First Quarter'" refers to the range A1:A10, and the label "'Sales'" refers to the range B5:E5, the ranges do not intersect. REFERENCESFor more information about natural language formulas, click the Index tab in Microsoft Excel 97 Help, type the following text labels, in formulasand then double-click the selected text to go to the "Learn about labels and names in formulas" topic. Additional query words: 97 XL97 8.00 NLF ELF
Keywords : kbualink97 xlformula |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |