How to Remove Leading or Trailing Zeros in Excel
This wikiHow teaches you how to remove zeros from the beginning (Leading) or end (Trailing) of numbers in Excel. Highlight the cells with leading zeros. If you're working with numbers in a column, you can highlight the whole column by...
Table of Contents
Method 1 of 2:
Removing Leading Zeros
- Highlight the cells with leading zeros. If you're working with numbers in a column, you can highlight the whole column by clicking the column letter.
-
Right-click the highlighted cells. If your computer doesn't have a right mouse button, press Ctrl as you click with the left. A menu will appear. -
Click Format Cells. The Format Cells dialog will appear. -
Select Number from the left column. -
Type a '0' (zero) into the 'Decimal Places' box. -
Click OK. It's at the bottom-right corner of the screen. This brings you back to your spreadsheet, where you should no longer see zeros before your numbers.- If you still see leading zeros, double-click the cells, then press ↵ Enter or ⏎ Return.
Method 2 of 2:
Removing Trailing Zeros
-
Highlight the cells with trailing zeros. If you're working with numbers in a column, you can highlight the whole column by clicking the column letter. -
Right-click the highlighted cells. If your computer doesn't have a right mouse button, press Ctrl as you click with the left. A menu will appear. -
Click Format Cells. The Format Cells dialog will appear. -
Select Custom from the left column. -
Type a code into the box under 'Type.' If any text is in the box, delete it now. Then, type 0.### into the box. -
Click OK. You will no longer see extraneous zeros at the ends of your numbers.
4.1 ★ | 8 Vote
Read More
- How to add leading zeros to numbers in Excel
- How to add zeros to phone numbers in Excel
- The leading zero format in Excel number ranges is easy
- 3 Quick ways to fix the problem of Excel losing leading zeros
- Some experience in Excel spreadsheets
- Instructions on how to remove table formatting in Excel
- How to display 0 in front of a number in Excel
- Add-ins in Excel: How to install and remove
- How to remove spaces in Excel
- Write a program to move zeros in Python
- How to remove duplicates in excel
- How to delete dots in a series of numbers on Excel
- 6 Microsoft Excel formatting habits to break
- Excel can't remove marks? Why and how to fix it?