How to stop last number from changing to zero in Excel?
In Excel, generally, the number of entering numbers are limited in 15 characters, if the number string is longer than 15 characters, and the number will be shown as 0 from the 16th character as below screenshot shown. This problem must get many financial staff into trouble because the credit cards’ number they need to enter into sheets are usually longer than 15 numbers. Here I introduce the tricks can help you prevent the number from changing to zero in Excel.
Stop last number from changing to 0 with adding single quotation mark
Stop last number from changing to 0 with Format Cells
Stop last number from changing to 0 with adding single quotation mark
For stopping number from changing to zero, you can add single quotation mark before entering the numbers in cell.
Select a blank cell and enter ' into it, and then enter the numbers, and you can see all numbers are exactly displayed in the cell. See screenshot:\
Stop last number from changing to 0 with Format Cells
Advanced to adding single quotation one by one to stop number from changing to zero, you also can format the cells as text formatting before you entering numbers.
1. Select the cells that you want to enter numbers longer than 15 digits, and then press Ctrl + 1 to display Format Cells dialog.
2. In the popping Format Cells dialog, under Number tab, and select Text from the Category list. See screenshot:
3. Then click OK, and when you entering numbers in the selected cells, the number won’t be changed to zero any longer.
Select Cells/Rows/Columns with one or two criteria in Excel |
The select Specific Cells of Kutools for Excel can quicky select all cells or rows or columns in a range based on one criterion or two criterion. Click for 30 days free trial! |
![]() |
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days. |
The Best Office Productivity Tools
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
- Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
- Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
- Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
- Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
- Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
- Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
- Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
- Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
- More than 300 powerful features. Supports Office / Excel 2007-2021 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
