Input Really Long Numbers into Excel

Add to Favorites
Author:

How to input any length number in Excel and have it remain visible.

Excel truncates any number longer than 15 characters in length. This means that any number longer than that will have everything after 15 turned into zeros.

If you type: 1234567890123456789

Excel will change that to: 1234567890123450000

To keep your long number, type a single quotation mark/comma in front of the number. The new number would be input like this:

'1234567890123456789

You will only see the single quote when you double-click the cell to edit it.

Once you hit Enter, it will no longer be visible.

Notes

This method effectively changes your number into "text" as far as Excel is concerned. You will still be able to see this number but you won't be able to do much with it as far as mathematical operations are concerned.

Download the attached workbook to see this in Excel.


Downloadable Files: Excel File

Question? Ask it in our Excel Forum


Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons 50+ Hours of Instruction 200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course

Similar Content on TeachExcel
Store Large Numbers in Excel
Tutorial: I will show you how to display large, even huge, numbers in Excel.  In Excel, you can't ...
Keep Leading Zeros in Numbers in Excel - 2 Ways
Tutorial: I'll show you 2 ways to add and keep leading zeros in front of numbers in Excel. These t...
Convert Numbers Stored as Text to Numbers in Excel
Tutorial: I'll show you 4 ways to convert numbers stored as text to numbers in Excel.  This situat...
Basic Web Query in Excel - Import Data from the Web into Excel
Macro: Import data from the web into Excel with this macro. This is a basic web query macro that ...
Format Cells as a Scientific Number in Excel Number Formatting
Macro: This free Excel macro formats selected cells in the Scientific number format in Excel. Thi...
Convert Numbers into True and False in Excel
Tutorial: How to convert numbers into the TRUE and FALSE Boolean values in Excel. This is very impor...
Tutorial Details
Downloadable Files: Excel File
Excel VBA Course
Excel VBA Course - From Beginner to Expert

200+ Video Lessons
50+ Hours of Video
200+ Excel Guides

Become a master of VBA and Macros in Excel and learn how to automate all of your tasks in Excel with this online course. (No VBA experience required.)

View Course