Microsoft Knowledge Base

XL: AutoFormat Does Not Apply Currency Format to All Rows

Last reviewed: March 27, 1997
Article ID: Q119258
4.00 4.00a 5.00 5.00c 7.00 | 4.00 5.00
WINDOWS                    | MACINTOSH
kbother

The information in this article applies to:

  • Microsoft Excel for Windows, versions 4.0, 4.0a, 5.0, 5.0c
  • Microsoft Excel for Windows 95, version 7.0
  • Microsoft Excel for the Macintosh, versions 4.0, 5.0

SYMPTOMS

In Microsoft Excel, when you apply one of the Accounting (versions 5.x and 7.0) or Finance (version 4.0) formats using the AutoFormat feature, the currency number format ($) is applied only to the first row and the Total row in the data range.

CAUSE

This behavior is by design in Microsoft Excel. There is no documentation that states that an Accounting or Financial format must have a currency format applied to all of the cells.

WORKAROUND

To work around this behavior, you must apply the desired currency format to all of the cells that do not have this format applied by the AutoFormat feature.

Note that when you apply one of the Accounting autoformats in Microsoft Excel version 5.x or 7.0, the following Accounting category format code is applied:

   _($* #,##0.00_);_($* (#,##0.00);_($* "-"??_);_(@_)

When you apply one of the Finance autoformats in Microsoft Excel version 4.0, the following Currency category format code is applied:

   $#,##0.00_);[Red]($#,##0.00)

REFERENCES

For more information about Applying An Autoformat To A Range, choose the Search button in Help and type:

   autoformats, applying

In Microsoft Excel 7.0, click Answer Wizard on the Help menu, click on the Index tab, and type in "AutoFormat".


KBCategory:
KBSubcategory:

Additional reference words: 4.00 4.00a 5.00 5.00c 7.00
KBCategory: kbother
KBSubcategory:
Version : 4.00 4.00a 5.00 5.00c 7.00 | 4.0
Platform : MACINTOSH WINDOWS


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: March 27, 1997
©1997 Microsoft Corporation. All rights reserved. Legal Notices.