+ Reply to Thread
Results 1 to 2 of 2

Transpose or Convert column data set to multiple columns-variable!

  1. #1
    Registered User
    Join Date
    08-31-2017
    Location
    Serbia
    MS-Off Ver
    Office 2016
    Posts
    1

    Transpose or Convert column data set to multiple columns-variable!

    Dear Sirs,

    I'm trying to convert a single column data set to multiple columns.

    There are no spaces or delimiters. As you can see from data set below, fields are starting from First Name and until the next First Name there's sometimes 3 columns, 4 or even 5.

    I have tried to use OFFSET function but it only make sense if you have fixed number of columns between 2 sets that you are comparing.

    This is the column data set example:

    First Name 1
    1 Street
    Town1 State1 1000
    (01) 1234 1234
    First Name 2
    Town2 State2 2000
    (02) 1342 1324
    First Name 3
    Unit3
    3 Street
    Town3 State3 3000
    (03) 1231 1313

    This is how it should look with proper coding:

    First Name 1 1 Street Town1 State1 1000 (01) 1234 123
    First Name 2 Town2 State2 2000 (02) 1342 1324
    First Name 3 Unit3 3 Street Town3 State3 3000 (03) 1231 1313

    Or if not possible, perhaps like this:

    First Name 1 1 Street Town1 State1 1000 (01) 1234 123
    First Name 2 Town2 State2 2000 (02) 1342 1324
    First Name 3 Unit3 3 Street Town3 State3 3000 (03) 1231 1313

    Thank you very much.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,651

    Re: Transpose or Convert column data set to multiple columns-variable!

    This uses the phone number as the delimiter.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] How to transpose / convert columns and rows into single column?
    By chief_abound in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-09-2015, 08:04 PM
  2. [SOLVED] Convert column B as multiple column titles and move data in column C into new columns?
    By princesscathryn in forum Excel - New Users/Basics
    Replies: 8
    Last Post: 06-30-2014, 07:31 PM
  3. Replies: 1
    Last Post: 06-30-2014, 07:23 PM
  4. Help needed for a MACRO to transpose data from multiple variable columns into rows.
    By excel_starter in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-30-2014, 02:30 PM
  5. How to transpose variable data from column A to multiple rows
    By Davidko19 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 01:31 PM
  6. Transpose Variable Data from Column A to Multiple Rows
    By downthesun in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-24-2013, 06:45 AM
  7. Replies: 4
    Last Post: 01-14-2011, 09:30 PM

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