+ Reply to Thread
Results 1 to 3 of 3

Modify code to transpose a stack of data to rows on to delimit on text hone number field

  1. #1
    Registered User
    Join Date
    03-16-2012
    Location
    nashville
    MS-Off Ver
    Excel 2010
    Posts
    2

    Modify code to transpose a stack of data to rows on to delimit on text hone number field

    Hello,

    I have single stack column that I need to turn in to a group of rows. However, number of rows that make up each group is variable but each group ends with an phone number field.

    So I want to move the data over one column from the previous moved column including the phone number. After the phone number field is placed, I want the loop the begin with the name field in the first column and transpose the next group of data. I understand the the data will not be formatted correctly but I can fix that later.

    I have code for delimiting on blank spaces:


    Example of data in SOD (i.e. Civ):
    Name
    Address
    Address1
    Blah
    Blah
    (555)555-5555
    Name
    Address
    (555)555-5555
    Name
    Address
    Address1
    Blah
    (555)555-5555


    Finish product will be:
    Name Address Address1 Blah Blah (555)555-5555
    Name Address (555)555-5555
    Name Address Address1 Blah (555)555-5555


    I found code here (thank you, watersev!) for delimiting on blanks. How do I modify it to find for my phone number field that is formatted as a text field?

    Code to delimit on blanks below:

    Please Login or Register  to view this content.
    Last edited by davesexcel; 03-16-2012 at 03:30 AM.

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,485

    Re: Modify code to transpose a stack of data to rows on to delimit on text hone number fie

    Try this,
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-16-2012
    Location
    nashville
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Modify code to transpose a stack of data to rows on to delimit on text hone number fie

    Sorry for tardy reply and solved marker! Thank you so much for the help. This code is awesome!

+ 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