+ Reply to Thread
Results 1 to 4 of 4

Creating new rows from a single row of data

  1. #1
    Registered User
    Join Date
    05-22-2020
    Location
    Dublin, Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    5

    Creating new rows from a single row of data

    Hi all

    I am new to this forum and while I am very successful achieving what I need by googling, trial and error, and Kutools, this one has be beat.

    I have rows of data that begin with a unique identifier, a student number, and each row contains a set of 3 columns with student provided information on educational modules they are taking of which there are up to 8 modules in the one row. However, I will need to address the issue with each module for each student and sort them by module.

    I am trying to transpose each of these 3 cells onto a new row with the student identifier so each module can be dealt with row by row for each student. I would really appreciate a signpost or two to the best approach this and have exhausted everything I can think of.

    I man manage the opposite just fine.

    Any assistance is appreciated.

    Kind regards

    Gregori Meakin

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Creating new rows from a single row of data

    Welcome to the forum.

    Very simple with PowerQuery - just use Unpivot Other Columns on the Transform Tab.

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    G
    H
    1
    ID Module 1 Module 2 Module 3 ID Attribute Value
    2
    7777
    X Y Z
    7777
    Module 1 X
    3
    2222
    Y Z
    7777
    Module 2 Y
    4
    9999
    X Z Y
    7777
    Module 3 Z
    5
    2222
    Module 1 Y
    6
    2222
    Module 2 Z
    7
    9999
    Module 1 X
    8
    9999
    Module 2 Z
    9
    9999
    Module 3 Y
    Sheet: Sheet1
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-22-2020
    Location
    Dublin, Ireland
    MS-Off Ver
    Microsoft 365
    Posts
    5

    Re: Creating new rows from a single row of data

    Thanks for this and sorry for the delay - it put me on the road to PowerQuery and I am amazed and what I am achieving.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Creating new rows from a single row of data

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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] Creating a single tab with data from multiple tabs
    By hack4u in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-12-2016, 08:02 AM
  2. Replies: 1
    Last Post: 04-06-2016, 07:02 AM
  3. [SOLVED] Creating multiple rows from single row of data
    By RaydenUK in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-25-2015, 04:08 PM
  4. Creating separate sheets based on single rows in list?
    By Taxster in forum Excel General
    Replies: 3
    Last Post: 12-16-2014, 04:24 PM
  5. Need help creating rows from a single value in a cell
    By tekzunited in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2013, 03:45 PM
  6. Replies: 6
    Last Post: 08-18-2012, 05:00 AM
  7. Creating Single row by cobining data from two coloumns
    By gaju_3112 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-15-2007, 05:13 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