Article ID: 94202 - Last Review: August 15, 2005 - Revision: 1.3 #VALUE! Error When Concatenating CellsThis article was previously published under Q94202 On This PageSYMPTOMS
In Microsoft Excel, when you concatenate cells, you receive a #VALUE! error
if the Transition Formula Evaluation (TFE) option in version 5.0 or the
Alternate Expression Evaluation (AEE) option in version 4.0 is enabled and
one of the concatenated cells is blank or contains a number.
This behavior also occurs with the INDIRECT function when you use concatenated cells. For example, the formula =INDIRECT("A"&B1) returns A6 if B1 has a value of six and TFE or AEE is not selected. The formula returns the #VALUE! error if TFE or AEE is selected. WORKAROUND
To avoid receiving the #VALUE! error, do either of the following.
Disable the TFE or AEE option.NOTE: Make a backup copy of your worksheet. (If you disable alternate expression evaluation, the values calculated on your worksheet may change. If you have a backup copy of your worksheet, you can compare the earlier version of your worksheet with the updated version and make sure that your calculations are correct.)Microsoft Excel 98 Macintosh EditionTo disable the TFE or AEE option, follow these steps:
Microsoft Excel Version 5.0To disable the TFE or AEE option, follow these steps:
Microsoft Excel Version 4.0To disable the TFE or AEE option, follow these steps:
Use the TEXT FunctionTo concatenate cells while TFE or AEE is enabled, use the TEXT function in any concatenation formulas with cells that contain numeric values or are blank, as in the following example:=A1&TEXT(A2,IF(A2="","","0")) The above formula combines the contents of cell A1 with the contents of cell A2, and uses the TEXT function to ensure that the contents of cell A2 are interpreted as text. The IF statement ensures that the cell is formatted correctly based on whether cell A2 is blank or contains a number. MORE INFORMATION
If Transition Formula Evaluation or Alternate Expression Evaluation is
selected, the worksheet is calculated based on the Lotus 1-2-3 rules for
evaluating expressions instead of the Microsoft Excel rules. This option is
automatically selected when you open a Lotus 1-2-3 worksheet in Microsoft
Excel.
REFERENCES
"User's Guide 1," version 4.0, page 57
"User's Guide 2," version 4.0, page 237 "Function Reference," version 4.0, page 431 | Article Translations
|


Back to the top
