XL5: GP Fault or Strange Results Using CHOOSE FunctionLast reviewed: September 12, 1996Article ID: Q120408 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you use the CHOOSE function, if the first value argument contains an operator, such as the plus sign (+), one or more of the following symptoms occur:
CAUSEThis problem occurs if the first value argument in the CHOOSE function contains an operator, such as the plus sign (+), and you include a space between the index_num argument, and this first value argument. For example, when you enter the following formula on a MS Excel 4.0 macro sheet, you receive a GP fault:
=CHOOSE(1, 2+3)Note that there is a space following the comma. If you enter the above formula on a worksheet, the #VALUE! error value is returned, and the formula bar contains extended characters. Additionally, when you exit Microsoft Excel, you may receive a GP fault. This behavior also occurs if you use a defined name in the formula, as in the following example
=CHOOSE(i, i+1) WORKAROUNDSTo avoid receiving a GP fault when you use the CHOOSE function, do the following:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel version 5.0c for Windows.
REFERENCESFor more information about CHOOSE, choose the Search button in Help and type:
CHOOSE function |
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |