+ Reply to Thread
Results 1 to 6 of 6

How to re-organize data being returned from a dynamic form?

  1. #1
    Registered User
    Join Date
    12-26-2011
    Location
    Shropshire; UK
    MS-Off Ver
    365 Excel for Mac V16.28
    Posts
    28

    How to re-organize data being returned from a dynamic form?

    I receive weekly returns from a dynamic form which are collated into an excel (2007) worksheet. The returned data from each form consists of 5 daily returns (Mon - Fri) of 6 lots of data i.e. 30 items of data per form, and after collection on the worksheet this data is presented as 30 column entries per line - each line being returned from a different source.

    In order for me to analyze the data, I need to have the '6 lots of data' organised underneath each other, so that analysis of each column (heading) is easier.

    Is there any way in which this re-organization of data can be done other than manually selecting each 5 cell section and dragging it to the required position underneath each other?

  2. #2
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: How to re-organize data being returned from a dynamic form?

    Try this:-
    Data starts Sheet1 "A1"
    Results start "Sheet2 "A1"
    Please Login or Register  to view this content.
    Regards Mick

  3. #3
    Registered User
    Join Date
    12-26-2011
    Location
    Shropshire; UK
    MS-Off Ver
    365 Excel for Mac V16.28
    Posts
    28

    Re: How to re-organize data being returned from a dynamic form?

    Hi Mick, and thanks for the reply. Unfortunately you're dealing with a someone who is only knowledgeable on excel basics, for which I apologise, and would appreciate if you wouldn't mind explaining how to use this.

    Regards Barry

  4. #4
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: How to re-organize data being returned from a dynamic form?

    I assumed you data is in sheet (1) start at "A1" and consists of a number of row with each rows consisting of 30 cells, each rows needs to be split into groups of 5 cells , so if you have 3 rows, you will end up with 18 rows.
    Right click your data sheet tab, select "View Code" , Vb window appears.
    On the VB window toolbar, Select "Insert", "Module", new Vbwindow appears.
    Paste the code into this VbWindow, Close Vbwindow.
    Click "Alt + F8" Macro dialog Box appears, Fom the list select Your code "MG12Jan50", On the right hand side of the dialog box Clik "Run".
    The code should now have run and you data Copied to sheet (2) and modified as required.
    Regrds Mick

  5. #5
    Registered User
    Join Date
    12-26-2011
    Location
    Shropshire; UK
    MS-Off Ver
    365 Excel for Mac V16.28
    Posts
    28

    Re: How to re-organize data being returned from a dynamic form?

    Thanks so much for that Mick, just what I was after and really appreciate it. Presumably, if there were more than 30 column entries would I just change the 30 in 'For n = 1 To 30 Step 5' ?

    Regards Barry

  6. #6
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    Re: How to re-organize data being returned from a dynamic form?

    Yes, You will get groups of 5 based on that "1 to Number".
    Regrds Mick

+ 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