+ Reply to Thread
Results 1 to 2 of 2

Splitting data in one long row into multiple rows

  1. #1
    Registered User
    Join Date
    02-15-2013
    Location
    McHenry, IL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Splitting data in one long row into multiple rows

    Hi --

    I am trying to split the data collected from an online form (in a .csv file which imports into Excel without any problems) from a single long row into multiple rows in a spreadsheet. The data is as follows:

    FirstName, LastName, Address, City, State, ZIP, Event Date, Artwork #1: Title, Artwork #1: Medium, Artwork #1: Size, Artwork #1: Price, Artwork #2: Title, Artwork #2: Medium, Artwork #2: Size, Artwork #2: Price, (and so on through Artwork #10). I would like to have one record for each numbered artwork, so up to 10 records for each person who submits artwork for the event. So, the original record looks something like this:

    John, Doe, 123 Main Street, Chicago, IL, 60606, 02222013, Untitled Self Portrait, Digital Photography, 21"x27", $400, Autumn Beginnings, Digital Photography, 17"x23", $300

    And I would like the end result to look like this:

    John, Doe, 123 Main Street, Chicago, IL, 60606, 02222013, Untitled Self Portrait, Digital Photography, 21"x27", $400
    John, Doe, 123 Main Street, Chicago, IL, 60606, 02222013, Autumn Beginnings, Digital Photography, 17"x23", $300

    I would GREATLY appreciate the code to make this happen. I am trying to get the collected data into a usable format for reporting.
    Thank you so much for your help!
    Kari

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Splitting data in one long row into multiple rows

    Hi Kari

    Welcome to the Form!

    Please post several samples of the Raw Data (a dozen or so would be nice) in a workbook that has the same structure as your actual file. We need to see how consistent the Data is.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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