Excel: Placing Quotation Marks in Number Formats

Last reviewed: November 2, 1994
Article ID: Q67476

SUMMARY

To have a quotation mark appear in a number format, the backslash (\) character must be used.

For example, to create a format to display 654 as follows

   The Number is "654"

the following number format should be created in Format Number as follows:

   "The Number is "\"#\"

MORE INFORMATION

The backslash character tells Excel to display the following character, rather than use it as a command. Normally, the quotation mark is used as a method of containing text strings (for example, "The Number is").

For more information on number formats, see pages 178 to 182 of the "Microsoft Excel User's Guide" for version 3.0 and pages 305 to 308 of the "Microsoft Excel Reference" manual for version 2.2.


KBCategory: kbother
KBSubcategory:



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 2, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.