+ Reply to Thread
Results 1 to 3 of 3

Create table with rearranged data

Hybrid View

vikramjangra Create table with rearranged... 06-26-2019, 10:48 PM
Gregb11 Re: Create table with... 06-26-2019, 11:19 PM
vikramjangra Re: Create table with... 06-27-2019, 12:39 AM
  1. #1
    Registered User
    Join Date
    06-26-2019
    Location
    Melbourne
    MS-Off Ver
    Office 2016
    Posts
    2

    Create table with rearranged data

    I have data in a table as the following:

    Deal ID Product A Product B Product C
    10115 1 2
    10967 1
    11267 2 1
    11365 1

    I want to create a table like this: It repeats the deal ID, then product and qty.

    Deal ID Product Qty
    10115 Product A 1
    10115 Product C 2
    10967 Product B 1
    11267 Product A 2
    11267 Product B 1
    11365 Product B 1

    I will really appreciate if anyone can help? Not sure how to add an attachment.

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,199

    Re: Create table with rearranged data

    you should be able to use Power Query (Data tab, "Get and Transform Data") and in Power Query, "Unpivot" the product columns.

  3. #3
    Registered User
    Join Date
    06-26-2019
    Location
    Melbourne
    MS-Off Ver
    Office 2016
    Posts
    2

    Re: Create table with rearranged data

    Excellent mate, that worked. got a slight error, We couldn't convert to Number but converted the data to text and it fixed it. Thank you so much.

+ 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: 6
    Last Post: 01-24-2017, 06:56 PM
  2. Replies: 5
    Last Post: 01-28-2016, 01:43 PM
  3. Replies: 0
    Last Post: 01-19-2015, 11:00 AM
  4. Copying data from a row with many columns and pasting with column rearranged
    By ivector in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 12-03-2014, 07:20 AM
  5. rearranged cells in Excel insert and crash
    By mskumar1512 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 0
    Last Post: 07-29-2014, 08:35 PM
  6. Form stopped working when I rearranged the tab order - please help
    By AndreaHolder in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-03-2012, 02:37 AM
  7. Replies: 3
    Last Post: 04-15-2009, 11:50 PM

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