Excel: Numbers Not Formatting, Functions Will Not Work

Last reviewed: November 29, 1994
Article ID: Q26967
The information in this article applies to:
  • Microsoft Excel for the Macintosh, versions 1.x, 2.2, 3.0, 4.0

SUMMARY

When you import information into Microsoft Excel, numbers may not format correctly and formulas may not calculate properly if the file was saved in TEXT format, rather than SYLK format, because the numbers are being read as text.

To see if this is the problem, click in a cell that contains a number. Position the insertion point in front of the number and press the BACKSPACE key. If you were able to delete a space, the number was text. That particular number should now format correctly and any functions that reference that cell should now work.

The VALUE(text) function can be used to convert the text string to numbers, as follows:

  1. Insert a blank column to the right of the text.

  2. In the first cell on the blank column, enter the formula

          =VALUE(cell reference)
    

    where "cell reference" is the reference to the cell containing the text.

  3. Highlight the rest of the column, including the cell in which the formula was entered.

  4. From the Edit menu, choose Fill Down.

The column will now contain numbers, not text, and these numbers can be formatted.

Another way to convert numbers that have been entered as text into values is to use the Paste Special command on the Edit menu, as follows:

  1. Enter the number 1 in a blank cell on the worksheet.

  2. Select the cell containing the 1 and choose Copy from the Edit menu.

  3. Select the range of cells that contain numbers that have been entered as text.

  4. From the Edit menu, choose Paste Special.

  5. Select Multiply and click OK.


KBCategory: kbusage
KBSubcategory:

Additional words: 1.0 1.00 1.03 1.04 1.06 1.5 1.50 2.2
2.20 3.0 3.00 4.0 4.00


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