XL97: Natural Language Formulas Return ErrorLast reviewed: March 13, 1998Article ID: Q157095 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel 97, if you enter a natural language formula (NLF), you may receive the following error message:
That name is not valid.or the cell containing the formula may contain the #NULL! error value. Or, if you click the Edit Formula button to the left of the formula bar, part of the formula may be converted into a function. For example, the formula "=Col Row" may be converted to "=Col ROW()".
CAUSEThese problems may occur if any of the following conditions are true:
WORKAROUNDTo prevent these problems from occurring, enclose labels in your formulas within apostrophes ('). For example, instead of this formula
=Charlie Tangouse this formula:
='Charlie' 'Tango'Enclosing labels within apostrophes prevents them from conflicting with subroutines, functions, and defined names whose names are identical to the label(s) within your formula. This allows you to retain your subroutine names, function names, and defined names in any of your workbooks.
MORE INFORMATIONIn Microsoft Excel 97, natural language formulas allow you to refer to values in tables of information without having to define names or use bulky INDEX-MATCH style formulas. Below is an example that demonstrates how natural language formulas work:
A1: B1: Romeo C1: Sierra D1: Tango E1: Uniform A2: Alpha B2: 1 C2: 2 D2: 3 E2: 4 A3: Bravo B3: 5 C3: 6 D3: 7 E3: 8 A4: Charlie B4: 9 C4: 10 D4: 11 E4: 12 A5: Echo B5: 13 C5: 14 D5: 15 E5: 16If you enter the above information into a new worksheet, you can find values within the table, or perform actions on parts of the table, by using a natural language formula. For example, the following formula:
=Charlie Tangoreturns the value at the intersection of the Charlie-row and the Tango- column. In this case, the result is 11. Or, you could enter this formula:
=SUM(Sierra)to get the sum of the Sierra-column, 32. However, natural language formulas will not work correctly if certain conditions are true. For example, if you have the following formula:
=Charlie TangoThe formula will fail to work if any of the following conditions are true:
|
Additional query words: XL97 natural-language
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |