+ Reply to Thread
Results 1 to 1 of 1

Create Multiple datasets based on a few columns & Transpose some of data into Line listing

  1. #1
    Registered User
    Join Date
    03-19-2014
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    1

    Lightbulb Create Multiple datasets based on a few columns & Transpose some of data into Line listing

    I cannot post Images or Links yet because this is my first post. Once I am allowed to post these I will return with the complete Post. I really need help here

    This may be too complex of a question to ask.. I am going to give it a shot anyway , because I am stuck trying to balance a 360,000 + row linear dataset against time to deliverable, computational resource with formulas, the time it takes to process with queries and formulas ... and I kind of just want to throw my laptop in front of a moving train

    Hopefully there is some function to achieve this. Otherwise it is all manual work for thousands of repetitive processes.

    I have database I need to restructure and split multiple times based on a few key parameters.

    I have attached a representation of the dataset (Truncated & deidentified, lol)

    ** My goal here is to achieve TABLE2 from TABLE1 SUB-Goals: Efficiency, CPU load minimum, Time to refresh = minimum **


    Table 1 (Source data) and Table 2 (Resulting Tables)


    There are 17 Columns in the Table 1 example, but since this data is linear, and the number of QUESTEXT can vary in number, the resulting Table 2.1, 2.2, etc's number of columns (Bottom 2 tables) will vary, so it is not important to conform to any set # of columns in the resulting tables.

    Basics Idea:

    I want to take TABLE1 & separate the subset datasets into their own tables, without having to do this manually thousands of times.

    I was thinking of using some advanced grouping in Power Query, but I am not certain this is the most efficient method & I am not very proficient in "Group-Pivot" process. Plus, Grouping and then Pivoting usually ends up in a single table with varying # of rows. So, I would then have to separate them manually or use a named range manually, which I would like to avoid

    The datasets would be identified, separated & Sorted by the following (BLUE) by PAGENAME, adding a single line per SUBNUM. Oh, and there are 30 additional VISNAME as well, so "Screening" is not the only one, it is 1 of 30.

    So a single table will have a single line per VISNAME & SUBNUM (Attachment 2)

    The data under (GREEN) COLNAME become the headers (in order of CTRL ID)

    The Headers in (ORANGE) become the values under their respective SUBNUM & Headers

    Then for URL (PURPLE), basically copy down to the next URL, as it will repeat for each combination of (SUBNUM, VISNAM, PAGENAM)

    Thanks to anyone who has any good ideas. I am in need of something that doesn't crash "regular" company laptops.
    Attached Images Attached Images

+ 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] Transpose data in six columns into unique and multiple rows based on unique club name
    By JimmyB11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-04-2021, 09:12 AM
  2. [SOLVED] Create rows according to columns with values / transpose data ?
    By Sybille in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-27-2019, 03:19 PM
  3. Replies: 8
    Last Post: 02-03-2015, 03:42 PM
  4. Trying to create a line/scatter plot of multiple columns (no rows)
    By exoscoriae in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-04-2014, 04:32 PM
  5. Replies: 10
    Last Post: 01-30-2014, 04:42 PM
  6. How to create graph with frequency plots of multiple datasets?
    By jeroenv in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-21-2013, 04:27 PM
  7. Replies: 1
    Last Post: 12-31-2012, 05:31 AM

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