+ Reply to Thread
Results 1 to 3 of 3

Delimited Numbers

  1. #1
    Valued Forum Contributor mohan.r1980's Avatar
    Join Date
    09-18-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2010 (windows7)
    Posts
    729

    Delimited Numbers

    Hi Friends,

    i have large numbers in Column A and i delimited it by column B To H.
    eg. 1452689 will be delimited 7 columns 1 4 5 2 6 8 9

    maximum digit will be 7 in column A
    if a number like 456 comes in Column A the it will be delimited like this 4 5 6 in column F to G
    means right alignment

    Please see the attached file for more details
    Attached Files Attached Files
    Last edited by mohan.r1980; 04-26-2012 at 03:45 AM.

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Delimited Numbers

    Hi check such code

    Please Login or Register  to view this content.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Delimited Numbers

    Or this formula (which doesn't use the delimiting) - J6 copied over and down:

    =MID(TEXT($A2,"0000000"),COLUMNS($J:J),1)*1

    you can suppress the leading zero results (if they are not wanted) with this version (also in J6 and copied over and down):

    =IF(LEN($A2)>=COLUMNS(J:$P),MID(TEXT($A2,"0000000"),COLUMNS($J:J),1)*1,"")
    or
    =IF(LEN($A2)<COLUMNS(J:$P),"",MID(TEXT($A2,"0000000"),COLUMNS($J:J),1)*1)
    Last edited by Cutter; 04-26-2012 at 11:24 AM. Reason: Added second formulas

+ 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