+ Reply to Thread
Results 1 to 3 of 3

Add a Zero (0) to the beginning of a long list of numbers in a cell

  1. #1
    Registered User
    Join Date
    05-05-2008
    Posts
    45

    Add a Zero (0) to the beginning of a long list of numbers in a cell

    I have a column that contains 1021 cells that all have numeric values. I need to add a ZERO (0) to the front of each of these values so that my custom format will work correctly.

    These numbers vary in length from 10 to 14 characters. Ultimately I need number "333954623578" to look like "00333-954623578" and I have a custom format of "00000-000000000" to make it work, but for some reason "333954623578" won't format correctly but "0333954623578" will work like a charm...? Any ideas?

    Thanks in advance!

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Add a Zero (0) to the beginning of a long list of numbers in a cell

    I just tried this 00000-000000000 and it worked for me..... gave me...00333-954623578 after entering 333954623578
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-05-2008
    Posts
    45

    Re: Add a Zero (0) to the beginning of a long list of numbers in a cell

    Quote Originally Posted by NBVC View Post
    I just tried this 00000-000000000 and it worked for me..... gave me...00333-954623578 after entering 333954623578
    Here is a small sampling of what I'm trying to do... Even if I copy/paste special the values of my formula I still have to add a ZERO to get the formatting to work.
    Attached Files Attached Files

+ 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