+ Reply to Thread
Results 1 to 3 of 3

Complicated Transpose Macro

  1. #1
    Registered User
    Join Date
    09-17-2012
    Location
    Connecticut
    MS-Off Ver
    Excel for Mac 2011
    Posts
    15

    Complicated Transpose Macro

    Hello Geniuses,

    I have a set of data that is set up like a matrix, I want that data to be converted with a macro so I can make a proper pivot table.

    Please see attachment, this is just a sample, the real file has 300 dealers and 50 item numbers roughly, so I need to be able to manipulate the macro.

    Any help would be greatly appreciated!
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Complicated Transpose Macro

    Here is a description of how to do it ( don't know if it works for MAc)

    As for translating it to VBA, maybe recording a macro will do?

    1) Start the wizard -- Data/PivotTable & PivotChart Report...
    If you have Excel Version 2007+ use alt+D P to activate the PT Wisard

    2) Step 1 of 3 - Select Option Button: Multiple Consolidation Ranges -- [Next]

    3) Step 2a of 3 - Select Option Button: I will create the page fields -- [Next]

    4) Step 2b of 3 - With your cursor in the Range Textbox, select the data range on your sheet that you want to normalize -- [Add] -- [Next]

    5) Step 3 of 3 - [Finish]

    6) Drag the Row and Column buttons OFF the Layout -- [OK] -- [Finish]

    7) Mysteriously, you are on another sheet that has a 4-cell pivot table. Double click the BOTTOM RIGHT CELL

    8) Again, on another sheet -- This is you data normalized, or at least closer to it. You'll need to change headings at least.

  3. #3
    Registered User
    Join Date
    09-17-2012
    Location
    Connecticut
    MS-Off Ver
    Excel for Mac 2011
    Posts
    15

    Re: Complicated Transpose Macro

    Sorry this is a respost, found the solution here

    http://www.excelforum.com/excel-gene...se-format.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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