ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Delete leading zeros (https://www.excelbanter.com/excel-discussion-misc-queries/46486-delete-leading-zeros.html)

lunker55

Delete leading zeros
 
Could someone please help me. I have forgotten how to delete the zeros
infront of numbers.
I havea column of numbers.
ie:
0015L
000043
I want to delete all the zeros on the left of the number.
Thanks,
Joe



RogerN

See my reply under "Serial Number List". Use Data/Text to columns. Wizard is
fairly explicit.

Roger


"lunker55" wrote:

Could someone please help me. I have forgotten how to delete the zeros
infront of numbers.
I havea column of numbers.
ie:
0015L
000043
I want to delete all the zeros on the left of the number.
Thanks,
Joe




David Billigmeier

Copy an empty cell, Select the range of numbers you have, and Paste
Special-Add

--
Regards,
Dave
<!--


"lunker55" wrote:

Could someone please help me. I have forgotten how to delete the zeros
infront of numbers.
I havea column of numbers.
ie:
0015L
000043
I want to delete all the zeros on the left of the number.
Thanks,
Joe




lunker55

Roger,
That won't work because I have a different number of zeros in each cell.

Joe

"RogerN" wrote in message
...
See my reply under "Serial Number List". Use Data/Text to columns. Wizard
is
fairly explicit.

Roger


"lunker55" wrote:

Could someone please help me. I have forgotten how to delete the zeros
infront of numbers.
I havea column of numbers.
ie:
0015L
000043
I want to delete all the zeros on the left of the number.
Thanks,
Joe






RogerN

Dave

I would have suggested the formula =value() in next available column, as
Excel would then strip the leading zeros but I do like your solution . Very
neat, thanks.

Roger

"David Billigmeier" wrote:

Copy an empty cell, Select the range of numbers you have, and Paste
Special-Add

--
Regards,
Dave
<!--


"lunker55" wrote:

Could someone please help me. I have forgotten how to delete the zeros
infront of numbers.
I havea column of numbers.
ie:
0015L
000043
I want to delete all the zeros on the left of the number.
Thanks,
Joe





All times are GMT +1. The time now is 07:53 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com