+ Reply to Thread
Results 1 to 3 of 3

Rearranging data from multiple rows to columns

  1. #1
    Registered User
    Join Date
    10-14-2008
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    67

    Rearranging data from multiple rows to columns

    Hi guys,

    I have datasets converted from PDF to Excel as in the attached workbook. Worksheet "ZOTA" contains an example of the data as converted. I need to rearrange the data in this spreadsheet to provide the results as depicted in sheet "Final". Important to remember is that a "member" may have any number of vehicles registered. Is there an easy way to do this? I have approximately 8000 lines of the data as in "ZOTA" and need a easy way to rearrange this data as soon as possible.

    Your assistance will be appreciated.

    Regards

    Danie
    Attached Files Attached Files
    Last edited by tessda; 09-17-2011 at 01:07 AM.

  2. #2
    Registered User
    Join Date
    04-18-2011
    Location
    Surrey, UK
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Rearranging data from multiple rows to columns

    Hi Danie,

    1) In your workbook, make sure that your sheets are named exactly as per the one you attached - i.e. one called "ZOTA" and one called "final".

    2) Make sure that your ZOTA sheet data starts in cell A1 and that your first blank row in "final" is row 3.

    3) Go to Tools ---> Macro ---> visual basic editor. Paste the following code either into a new module or into the sheet called ZOTA in the VB editor.

    Please Login or Register  to view this content.
    4) Close the VB editor.

    5) Run your code by going to Tools ---> Macro ---> macros....

    You should see a macro called process data listed. Select it and click "run". You should see the macro flick to the "final" sheet and start writing data.

    6) Let me know how you get on!

    Kind regards,

    Paul

  3. #3
    Registered User
    Join Date
    10-14-2008
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    67

    Re: Rearranging data from multiple rows to columns

    Hi Paul,

    Sorry for only responding now. Was away on leave a bit!

    Yes this is exactly what I wanted! Thanks for the effort.

    Regards

    Danie

+ 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