+ Reply to Thread
Results 1 to 7 of 7

How to Achieve a Particular Data Layout

  1. #1
    Registered User
    Join Date
    07-10-2019
    Location
    Philippines
    MS-Off Ver
    excel 2016
    Posts
    3

    How to Achieve a Particular Data Layout

    Hello Excel Experts!

    I would like to ask your help on how to approach/ start this project.
    I have attached an excel file (Data.xlsx) and it contains input.
    I would like to know on what methods should I use in order for me to achieve the "output".

    Thank you!
    Attached Files Attached Files
    Last edited by AliGW; 07-10-2019 at 05:23 AM.

  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
    79,369

    Re: How to Achieve a Particular Data Layout

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however the thread title does not really convey what your request is about.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new I have done it for you this time.)
    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
    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
    79,369

    Re: How to Achieve a Particular Data Layout

    It can be done with PowerQuery:

    1. Select the source table D4:H9.
    2. With this range selected, click on From Table ... on the Data ribbon (Get & Transform section).
    3. In the PQ window, select Column1 by clicking on its header, then go to the Transform ribbon and choose Unpivot Other from the Unpivot Columns drop-down.
    4. Select the Attribute column by clicking on its header and hit Delete.
    5. On the Home ribbon, from the Close & Load drop-down, choose Close & Load To ... and select a cell on your sheet.

    All done.

    Excel 2016 (Windows) 32 bit
    H
    I
    14
    Column1 Value
    15
    AA
    1
    16
    AA
    2
    17
    AA
    3
    18
    AA
    4
    19
    AB
    5
    20
    AB
    6
    21
    AC
    7
    22
    AD
    8
    23
    AE
    9
    24
    AE
    10
    Sheet: Sheet1

    M Code:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    07-10-2019
    Location
    Philippines
    MS-Off Ver
    excel 2016
    Posts
    3

    Re: How to Achieve a Particular Data Layout

    Ali,
    Thanks a lot for your help!
    Unfortunately my excel here crash when attempting to do step #2
    Anyways, this section of excel is new to me and I'll be researching the wonders of this function.

    Thank you once again and I appreaciate your help!

  5. #5
    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
    79,369

    Re: How to Achieve a Particular Data Layout

    How large is the table you are attempting to load? It shouldn't crash.

  6. #6
    Registered User
    Join Date
    07-10-2019
    Location
    Philippines
    MS-Off Ver
    excel 2016
    Posts
    3

    Re: How to Achieve a Particular Data Layout

    I think the problem is in my PC only. (gonna request IT for fix)
    I tried the method on a different PC and it works.
    Attached Images Attached Images

  7. #7
    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
    79,369

    Re: How to Achieve a Particular Data Layout

    Great! Yes, it looks like an issue with your PC. I hope they fix it for you - PowerQuery is a real Pandora's Box - loads you can do with it.

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

+ 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. Replies: 2
    Last Post: 04-30-2017, 08:28 PM
  2. Replies: 11
    Last Post: 12-23-2014, 01:01 PM
  3. Replies: 2
    Last Post: 04-19-2014, 10:06 PM
  4. Replies: 34
    Last Post: 01-21-2014, 03:07 PM
  5. [SOLVED] Copy Data from one sheet and paste the consolidated data into another (Data Range Varies)
    By kittu55 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-13-2013, 10:02 PM
  6. Replies: 4
    Last Post: 02-01-2013, 10:18 AM
  7. Replies: 2
    Last Post: 07-18-2012, 09:11 AM

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