+ Reply to Thread
Results 1 to 3 of 3

Removing leading 0s

Hybrid View

  1. #1
    bnkone
    Guest

    Removing leading 0s

    I have a sheet of 10K+ rows that have entries like this: 000345, 0034567,
    0000067 etc. I am trying to do a vlookup on another table of +10K rows and
    join on the numbers. Unfortunately one of my source tables is missing the
    leading 0's with no hope of fixing it. Can anyone help me with a way to
    remove the leading 0's?

  2. #2
    Niek Otten
    Guest

    Re: Removing leading 0s

    Try this:

    Format an empty cell as Number. Enter the number 1. Edit>Copy.

    Select your "numbers". Edit>Paste Special, check Multiply.

    Make a copy of your workbook before trying!

    --
    Kind regards,

    Niek Otten

    "bnkone" <bnkone@discussions.microsoft.com> wrote in message
    news:4882EFFE-EBDE-428A-B12D-6E9ABC7C8DC4@microsoft.com...
    >I have a sheet of 10K+ rows that have entries like this: 000345, 0034567,
    > 0000067 etc. I am trying to do a vlookup on another table of +10K rows and
    > join on the numbers. Unfortunately one of my source tables is missing the
    > leading 0's with no hope of fixing it. Can anyone help me with a way to
    > remove the leading 0's?




  3. #3
    Sloth
    Guest

    RE: Removing leading 0s

    If they are missing, why do you need to remove them? They are probably
    formatted as text. Follow this procedure to change to remove the zeros.

    Copy a blank cell.
    Select the cells you want to remove the zeros (you can select a whole
    column; it will ignore the blank cells).
    Select Edit->Paste Special
    Select Add
    Click Okay

    "bnkone" wrote:

    > I have a sheet of 10K+ rows that have entries like this: 000345, 0034567,
    > 0000067 etc. I am trying to do a vlookup on another table of +10K rows and
    > join on the numbers. Unfortunately one of my source tables is missing the
    > leading 0's with no hope of fixing it. Can anyone help me with a way to
    > remove the leading 0's?


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1