Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (2024)

  • Article
  • Applies to:
    Excel 2010, Microsoft Office Excel 2007, Microsoft Office Excel 2003

Symptoms

After you enter a long number (such as a credit card number) in an Excel cell, the number is not displayed correctly in Excel. For example,

Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (1)

Workaround

To work around this issue, use one of the following methods.

Method 1: Format the cell as text

To do this, follow these steps:

  1. Right-click target cell, and then click Format Cells.

    Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (2)

  2. On the Number tab, select Text, and then click OK.

    Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (3)

  3. Then type a long number. (Be sure to set the cell format before you type the number)

    Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (4)

  4. If you do not want to see the warning arrows, click the small arrow, and then click Ignore Error.

    Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (5)

    Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (6)

Method 2: Use a single quotation mark

When you enter a long number, type a single quotation mark (') first in the cell, and then type the long number.

For example, type '1234567890123456789 and the quotation mark will not be displayed after you press ENTER.

Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (7)

Related articles

Format numbers as text in Excel for Mac

Your opinion is important to us!Do not hesitate to tell us what you think of this article using the comment field located at the bottom of the document. This will allow us to improve the content. Thank you in advance!

Long numbers are displayed incorrectly in Excel - Microsoft 365 Apps (2024)
Top Articles
Latest Posts
Article information

Author: Jamar Nader

Last Updated:

Views: 5773

Rating: 4.4 / 5 (55 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Jamar Nader

Birthday: 1995-02-28

Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

Phone: +9958384818317

Job: IT Representative

Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.