Comma Functions Improperly in Functions with Canadian Layout

Last reviewed: November 1, 1994
Article ID: Q68007
The information in this article applies to:
  • Microsoft Excel for Windows, versions 2.x, 3.0, 4.0, 4.0a, 5.0

SUMMARY

If you have Country set to Canada (English) in the International section of the Control Panel in Microsoft Windows version 3.0 or 3.1, the comma will function improperly as a list separator in all Microsoft Excel functions that take multiple arguments. For example, =IF(TRUE,1,0) will return an "Error in Formula" message. However, =IF(TRUE.(1).(0)) will function correctly.

To make the Microsoft Excel functions work correctly, from the Control Panel, choose International, then type a period in the List Separator box, i.e. type over the comma.

Setting Country to Canada causes the default value for the list separator to be a period. All other English-speaking countries use the comma as a list separator. Because the only Canadian version of Microsoft Excel is French, the English-speaking Canadians use the International English version which defaults to a comma as a list separator.

MORE INFORMATION

Microsoft Excel detects that fact that the list and decimal separators are the same. If this is the case, the following error message will be displayed:

The list and decimal separators specified by the system are identical. Substituting ',' for the list separator.

As noted in the message, Microsoft Excel substitutes the comma in this case.


KBCategory: kbenv
KBSubcategory:

Additional reference words: 5.00 2.0 2.00 2.01 2.1 2.10 3.0 3.00 4.0 4.00
4.0a 4.00a


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 1, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.