+ Reply to Thread
Results 1 to 2 of 2

Leading and Trailing Zeros

  1. #1
    Registered User
    Join Date
    12-19-2011
    Location
    NEW YORK
    MS-Off Ver
    Excel 2002
    Posts
    1

    Leading and Trailing Zeros

    I have a list of numbers with varying lengths. I need to format the list of numbers so that they all end up the same.
    The requirements for the numbers are as follows:
    1. They need to be a length of 9-digits.
    2. They need to have one leading zero
    3. If they don't meet the 9 digit requirement, the extra "blanks" need to filled with trailing zeros.

    For example:
    Currently I have,
    508617
    11753
    11868
    35846500
    11886500
    11730501

    I need the list to display,
    050861700
    011753000
    011868000
    035846500
    011886500
    011730501

    Thanks in advance.

  2. #2
    Valued Forum Contributor
    Join Date
    10-06-2008
    Location
    Norway
    MS-Off Ver
    2010
    Posts
    365

    Re: Leading and Trailing Zeros

    Maybe:
    Please Login or Register  to view this content.

+ 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