# Remove Leading Zeros in Excel – How to Guide!

There are many problems that could manifest in Excel while you’re working on a task.

A common problem that many people come across when using this program is the appearance of leading zeros.

Leading zeros are zeros that appear immediately in front of the value (or multiple values) of a cell.

Zeros can appear when issues with formatting arise – particularly if a numerical value is being formatted as text or cell formatting dictates that a certain amount of digits be shown.

When they’re unwanted, leading zeros can cause a variety of issues to arise and can make getting things done a hassle.

As such, finding a way to get rid of unwanted zeros will be critical if you want to remove them.

Excel usually removes leading zeros automatically, yet sometimes it might not – leaving zeros in front of the values within a cell.

## How to Remove Leading Zeros in Excel

Although leading zeros can make working in Excel more difficult, this problem can be corrected with the right solutions.

Below are a few tips that you can use right away to get rid of leading zeros.

### Change the Formatting Setting to Get Rid of Leading Zeros

Cells may sometimes be formatted to make numerical values such as numbers have a certain amount of digits – resulting in leading zeros in front of them.

Changing the formatting of the cells is a quick way to eliminate zeros that are visible within cell contents.

1. Click and select the cells which contain the leading zeros.
2. Press and click the ‘Home’ tab in the ribbon menu.
3. Select ‘Number Format’ in the dropdown menu near the top right of the ribbon menu.
4. Click on ‘General’.

### Apply the Value Function Method

This method uses the value function, which converts text into a numerical value, such as a number.

The value function is good for a lot of different uses – including taking away zeros where you don’t want them to appear.

This technique can be especially helpful since it can address more causes of leading zeros – making solving this issue easier to accomplish.

1. Identify the cells which contain unwanted zeros in front of the numbers.
2. Apply the formula =VALUE(A1) to the cells that contain the leading zeros.

Upon using the value function as specified above, the zeros in front of the specified values should disappear.

## Implementing the Text to Columns Method

The Text to Columns option is commonly used to separate the contents of a cell and put them into multiple cells.

This feature would be ideal if you have different values within a cell that you would like to split apart.

The Text to Columns method is also among one of the quickest and easiest to use – making it an ideal method to try.

1. Click and drag to select the cells which have leading zeros within them.
2. In the ribbon menu, select and click on ‘Data’.
3. With the ‘Data Tools’ area, select ‘Text to Columns’.

4. When the ‘Convert Text to Columns’ wizard pops up, click ‘Delimited’ then select ‘Next’.
5. Make sure to deselect each delimiter, then select ‘Next’.
6. Select the destination cell(s) then press ‘finish’ to complete the process.

After using the Text to Columns approach, you should easily be able to remove any unwanted leading zeros.

### The Error Checking Method

The error checking option is useful for finding errors involving formulas or other errors that may be hard to catch.

Using the error checking method will work for cells that contain numbers, not text.

It can also be an effective way to turn numbers that have been converted into text back to numbers.

1. Click and select the cells which contain the numbers with leading zeros in front of them. At this point, you might see a yellow icon with an exclamation point pop up next to one or some of the selected cells.
2. Press on this yellow icon.
3. Select the ‘Convert to Number’ option.

After pressing ‘Convert to Number’, the error checking technique should help you to get rid of any leading zeros.

### Use Paste Special to Add Numbers in Cells to 0

Leading zeros can be solved by adding numbers within cells to 0.

This technique will involve using the ‘Paste Special’ option.

Using the ‘Paste Special’ method can be a very simple way to get rid of the leading zeros within a spreadsheet.

1. Click on an empty cell, then right click and select ‘Copy’ or hold CTRL + C.
2. Click and select the range of cells which contain the leading zeros that you want to get rid of.
3. Right click, then select the option ‘Paste Special’.
4. When the ‘Paste Special’ dialog box pops up, select “Add” under “Operation”.
5. Next, click on ‘OK’.

Adding the selected cells by 0 should then remove any leading zeros within them.

Denise is a Financial Controller with experience in Office Software (Excel & Word), Accounting, Bookkeeping, Business Incorporation/LLC, Taxes and IRS Issues and more. She Graduated from Portland State University in Business Management and went onto Seattle University to complete her Graduate (Masters) Degree in Organizational Systems Renewal. She contributes to Computing.net with her knowledge of Business Software, in particularly Microsoft Excel and Google Sheets.