+ Reply to Thread
Results 1 to 4 of 4

Advanced data transposing

  1. #1
    Registered User
    Join Date
    05-14-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    5

    Advanced data transposing

    First day at my first job, I have been assigned the work to transpose excel data, my senior gave me instructions to do them by hand ... but that would be an absolute pain in the ***. I bet there are smarter solutions out there. Upon some investigation I realize that this job can be made a lot easier by a bit of VBA, but unfortunately I'm not VBA literate. Any help would be greatly appreciated!

    my data looks like this:
    type 1 type 2 type 3
    Company A | Jewel A |2% |8% |10%
    Jewel B |4% |0% |0%
    Company B | Jewel A |2% |8% |10%
    Jewel C |4% |0% |0%

    (the different types are discounts)

    and I need it to look like this:
    Jewel A Jewel B Jewel C
    type 1 type 2 type 3 | type 1 type 2 type 3 | type 1 type 2 type 3
    Company A | 2% |8% |10% |4% |0% |0%
    Company B | 2% |8% |10% |4% |0% |0%

    I've also included a sample of the data that I need to transpose, from the BnW file to the Color file. It's a little messy that might take a little time to decipher, but I sincerely appreciate any help available. Even if you just tell me that "your data is not salvageable you're doomed to do it manually" would be helpful.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Advanced data transposing

    it would be easy if all the companies have the same number of entries, I think you have to start manually
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    05-14-2013
    Location
    Hong Kong
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Advanced data transposing

    Thanks for your reply.

    I did some cleaning up with the data and now every company has equal number of categories.

    So now the transposing is to be done with these rules, from "CleanedRawData" to "Color":
    1. purple figures --> on credit note, green figures --> on invoice
    2. combined --> under each category

    Any insight?

    Thanks a lot! Really appreciate your help.

  4. #4
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Advanced data transposing

    I was wrong, it's not easy, data are too messy for me, I can help you only if the Color column order is the same as Cleaned row order with this code
    Please Login or Register  to view this content.
    but you have to change columns order on sheet 2
    Last edited by patel45; 05-20-2013 at 05:47 AM.

+ 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