+ Reply to Thread
Results 1 to 3 of 3

Transposing Row Variables into Columns - part #2

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    49

    Transposing Row Variables into Columns - part #2

    I had an earlier thread on this topic -- thank you to AB33 for the help with that one! Here, the format is slightly different -- my existing macro just needs to be altered a little bit and I tried to do it on my own but something didn't compute just right. In the attached file, I have 19 columns of data per employee vacancy. There is also room for data for up to five vacancies. The problem is that vacancy #2-5 I want stacked underneath #1 so all the data is in Columns A through S, and nothing is in Columns T through CQ.

    So ideally in this attached file, "buyer" would be moved from T2 to A3, and "tax dude" would be moved downward from A3 to A4 to make room for it. "Analyst" would be underneath "tax dude," etc.

    Below is the macro I have, which is not perfect but needs some tweaks:

    Please Login or Register  to view this content.
    Thanks for any help that anyone can offer!
    www.stayingsharpasasenior.com

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Transposing Row Variables into Columns - part #2

    Bhammy,
    The code does as you want it. The buyer is stack underneath row 1. The reason the buyer goes to row 4 is that you have empty columns as the code loops to the last column steeping at 19.
    I have changed the code to loop twice but hard coded the last column to 38.
    I am not sure this what you want. Please attach your desired result. I will adjust it provided the site does not go on siesta mode.

  3. #3
    Registered User
    Join Date
    09-04-2012
    Location
    California
    MS-Off Ver
    Excel 2010
    Posts
    49

    Re: Transposing Row Variables into Columns - part #2

    Thank you -- this created what I was looking for with putting it all into columns. This will make it a lot easier to do my analysis on these vacancies!

+ 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. Transposing data from multiple columns to selected columns
    By rrajnish in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2013, 02:49 PM
  2. [SOLVED] Transposing Row Variables into Columns
    By BHammy in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-14-2013, 02:28 PM
  3. Replies: 2
    Last Post: 02-17-2013, 04:06 AM
  4. Replies: 8
    Last Post: 11-02-2011, 02:45 PM
  5. Replies: 0
    Last Post: 07-26-2006, 10:00 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