WD2002: Formula Calculates to Zero When You Use Currency Symbol (274004)



The information in this article applies to:

  • Microsoft Word 2002

This article was previously published under Q274004

For a Microsoft Word 97 version of this article, see 264874.
For a Microsoft Word 2000 version of this article, see 243403.

SYMPTOMS

When you attempt to add, subtract, or multiply currency values, the result is incorrectly calculated as zero. For example, if you have the following data in a table, and the currency symbol follows the value, the result may be zero:

12.50$
10.00$
{=SUM(ABOVE)}

However, the reverse is also true. If the currency symbol precedes the value, which is the default currency format for English (United States), the result may also be calculated as zero.

NOTE: When you try to use a formula to divide currency values, the result is returned in the form of the following error message:
!Zero Divide

CAUSE

This problem occurs when the currency symbol format that is specified in the Regional Options (Microsoft Windows 2000) or Regional Settings (Microsoft Windows 98 or Microsoft Windows Millennium Edition [Me]) in Control Panel is different from the format that you are using in your document. By default, Windows uses a format in which the currency symbol, in most cases, precedes the value (for example, $1.1).

Most likely, you see this behavior if you do not modify the currency symbol format when you change the language that you want to use. For example, you change the regional settings to another country/region, such as Germany or France (whose currency symbol follows the value by default), but you do not use the same currency symbol format in both your document and the Windows Regional Options (Windows 2000) or Regional Settings (Windows 98 or Windows Me).

RESOLUTION

Set the currency symbol format in the Regional Options (Windows 2000) or Regional Settings (Windows 98 or Windows Me) in Control Panel. To do this, follow these steps:

Microsoft Windows 2000:
  1. Click Start, point to Settings, and then click Control Panel.
  2. Double-click Regional Options.
  3. Click the General tab.
  4. Change the Your locale (location) box to the appropriate country/region.

    For example, change the Your locale (location) box to English (United States).
  5. Click the Currency tab.
  6. In the Currency symbol box, type or select the currency symbol that you want to use.

    For example, type or select $.
  7. In the Positive Currency Format box, select the format that you want for positive values. For example, do one of the following:
    • If you want the currency symbol after the value (as in the example shown in the "Symptoms" section of this article), select 1.1$.

      -or-
    • If you want the currency symbol before the value, select $1.1.
  8. In the Negative Currency Format box, select the format that you want for negative values. For example, do one of the following:
    • If you want the currency symbol after the value (as in the example shown in the "Symptoms" section of this article), select (1.1$).

      -or-
    • If you want the currency symbol before the value, select ($1.1).
  9. Click Apply.
  10. Click OK.
Microsoft Windows 98 or Microsoft Windows Me:
  1. Click Start, point to Settings, and then click Control Panel.
  2. Double-click Regional Settings.
  3. Change the Regional Settings to the appropriate country/region.

    For example, change the Regional Settings to English (United States).
  4. Click the Currency tab.
  5. In the Currency symbol box, type or select the currency symbol that you want to use.

    For example, type or select $.
  6. In the Position of currency symbol box, select the format that you want. For example, if you want to place the currency symbol before the value, select 1.1 or 1.1.
  7. In the Negative Format box, select the format that you want. For example, if you want to place the currency symbol before the value, select - 1.1 or -1.1.
  8. Click Apply.
  9. Click OK.

Modification Type:MinorLast Reviewed:7/27/2006
Keywords:kbformula kbnofix kbprb KB274004