Results 1 to 2 of 2

Thread: Transpose rows to column and join table

  1. #1
    Junior Member
    Join Date
    Apr 2019
    Posts
    1
    Rep Power
    0

    Lightbulb Transpose rows to column and join table

    Hi there, i have some table like this:

    id | Date | key_info | value_info
    2 | 13 May | amount | 1009
    2 | 13 May | currency | USD
    2 | 13 May | Level | Level 5
    3 | 14 May | amount | 2017
    3 | 14 May | currency | CAD

    I need VBA code to automaticaly make new table like this:

    id | Date | amount | currrency | level | status
    2 | 13 May | 1009 | USD | Level 5 | Pending
    3 | 14 May | 2017 | CAD | | Approved

    Anyone cnn help? or give me example for VBA that do something that. Thanks.

  2. #2
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    Welcome to ExcelFox.

    Not a VBA solution, but a simple directional example which you can expand. If you need more handholding, please revert.

    Have used a simple pivot and an array formula, but fairly simple, if this is not a repetitive process which requires automation.
    Attached Files Attached Files
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

Similar Threads

  1. Replies: 3
    Last Post: 08-18-2013, 08:59 PM
  2. Transpose A Column Of Data In To A Table
    By gunjan.nasit in forum Excel Help
    Replies: 4
    Last Post: 05-20-2013, 12:33 AM
  3. Replies: 4
    Last Post: 05-01-2013, 09:49 PM
  4. Replies: 2
    Last Post: 06-14-2012, 04:10 AM
  5. Transpose data into Rows
    By vikash200418 in forum Excel Help
    Replies: 2
    Last Post: 04-10-2012, 11:02 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •