Trim leading zeros

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I trim leading zeros from a cells?

000000023
000000003
000000010

Thanks!
 
Hi
one way:
- format the cells with a number format
- select an empty cell and copy this cell
- select your range of data
- goto 'Edit - Paste Special' and choose 'Add'
 
If your data is in column A and if you only have integers,
type in cell B1: =TEXT(VALUE(A1),"0") and copy this down
(if you need text, if you need values, omit the text
function).

Regards,
sulprobil
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top