+ Reply to Thread
Results 1 to 3 of 3

Problem with Reshaping Excel data for Stata use.

  1. #1
    Registered User
    Join Date
    04-07-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2007
    Posts
    4

    Problem with Reshaping Excel data for Stata use.

    Hello,

    I always search in forums for my answer, but in this case I don't know how to search for it, so I might ask for something that is elaborately discussed. What I need is a VBA macro or something that can reshape my table.

    If it works on this sheet, it will work on mine.

    Your help is greatly appreciated as I really need this to fix my thesis (and deadline is running towards me!)
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Problem with Reshaping Excel data for Stata use.

    Try:
    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    04-07-2014
    Location
    Brussels, Belgium
    MS-Off Ver
    Excel 2007
    Posts
    4

    Re: Problem with Reshaping Excel data for Stata use.

    Thanks for the quick response!
    When I run it, it keeps saying: object required.
    I'm not exactly an excel expert so probably doing something wrong here. Would very much appreciate helping me out!

+ 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. Creating PANEL data for STATA
    By powsuarez in forum Excel General
    Replies: 0
    Last Post: 08-09-2012, 07:18 AM
  2. Reshaping Data
    By GQuinn in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-21-2010, 11:41 PM
  3. Replies: 1
    Last Post: 07-14-2010, 04:34 PM
  4. Reshaping a matrix/text array
    By jesiotr in forum Excel General
    Replies: 1
    Last Post: 01-31-2008, 08:19 AM
  5. How to reshape data sets between long and short form as in stata?
    By Phillip Killicoat in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2005, 11:05 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