Skip to main content

How to remove leading zeros before decimal point in Excel?

For instances, here is a list of decimal numbers, and your job is to remove the leading zeros before the decimal point as below screenshot shown. You can delete the zeros one by one, but if there are hundreds of numbers needed to delete leading zeros, how can you quickly get this job done in Excel?
doc remove leading zeros before decimal 1

Remove leading zeros before decimal by Format Cells

Remove leading zeros from texts by Kutools for Excel with one clickgood idea3


Remove leading zeros before decimal by Format Cells

In Excel, if you want to remove the leading zeros before decimal point, you can apply the Format Cells function.

1. Select the numbers you want to remove the leading zeros before decimal point, and right click to select Format Cells from the context menu. See screenshot:
doc remove leading zeros before decimal 2

2. In the Format Cells dialog, under Number tab, click Custom from the Category list, and enter .00 into the Type textbox in the right section. See screenshot:
doc remove leading zeros before decimal 3

Note: .00 indicates to retain two numbers after decimal point, you can change it to .000 or .0000 as you need.

3. Click OK. Now the leading zeros before decimal point have been from the selected numbers.
doc remove leading zeros before decimal 4


Remove leading zeros from texts by Kutools for Excel with one click

But most of the times, you may want to remove the leading zeros from texts as below screenshot shown, have you any quickly tricks to solve it?
doc remove leading zeros before decimal 5

Here I introduce a handy add in tool – Kutools for Excel, with its Remove Leading Zeros utility, you can remove leading zeros form texts by a click.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

Select the texts you want to remove the leading zeros from, and click Kutools > Text > Remove Leading Zeros. See screenshot:
doc remove leading zeros before decimal 6

Then a dialog pops out to remind you the number of cells which have been removed leading zeros, click OK to close the dialog, then the leading zeros have been remove from selected texts.
doc remove leading zeros before decimal 7

Tip. If you want to have a free trial of the Remove Leading Zeros function, please go to free download Kutools for Excel first, and then go to apply the operation according above steps.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


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!
Comments (2)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
To get the format that people typically write in for numbers, we probably want a format that eliminates leading and trailing zeros.  The above works but when a whole number is entered, I get a decimal point, e.g., "1."  Actually, my format is .#.  I want whole numbers to appear with no leading or trailing zeros and no decimal point and fractions/,mixed numbers to appear with no leading or trailing zeros but with a decimal point.
This comment was minimized by the moderator on the site
Hi, Myke, I do not get your question. Do you want all numbers typed will display as a whole number and with a decimal point followed even the number less than 1? Sucn as 0.12 shown as 12.? Or you just want to show the number like this: 11.2 >>11., 0.3>>.?Please give me more details about your quetion so that I can help you.
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations