Results 1 to 12 of 12

transpose X matching headers X duplicate tables (multiple problems)

Threaded View

  1. #1
    Registered User
    Join Date
    02-11-2019
    Location
    toronto, canada
    MS-Off Ver
    2013
    Posts
    64

    transpose X matching headers X duplicate tables (multiple problems)

    Hi Guys,

    For below PLEASE no macro's! I'm not allowed to use them at work

    I got a very, very tricky (for me at least) problem.

    I wrote it very detailed but its rly not complicated and from the excel its extremely easy to see what the problem/solution is!

    There are 3 things I need to do:

    1. Transpose 10+ columns
    2. Take headers or 10+ columns and put beside values in #1
    3. Copy down all rows/columns before #1 and #2

    Essentially 18 columns will become 10.

    The first tab of the attached is called "original" which is the problem.

    Please note:

    1. Yellow highlights will go in the same column (please disregard the header "values" I was just was showing where it goes)
    2. Orange highlights will go in the same column(please disregard the header "attributes" I was just was showing where it goes)
    3. Green highlights will just duplicate is direct relation with #1 and #2
    4. Headers not highlighted and bolded do not move (with the inclusion of "values" and "attributes")

    The second tab labelled "solution" shows this.

    I was going to use =INDEX($B$8:$D$12,1+INT((ROW(A6)-1)/COLUMNS($B$8:$D$12)),MOD(ROW(A6)-1+COLUMNS($B$8:$D$12),COLUMNS($B$8:$D$12))+1) BUT that only takes care of the yellow and even if i copy the orange beside and do the formula twice is doesn't affect the green.

    Plus the data attached is small, the real data is 1000's of lines so the above would still take an hour or hours!

    Thank you!!
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Transpose rows in column and copy adjacent values and headers multiple times
    By PaulM100 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-29-2020, 09:53 AM
  2. autofilter method of range class failed -header has tables headers and non table headers
    By naveen.acheanz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-16-2016, 08:21 AM
  3. Replies: 4
    Last Post: 05-12-2014, 06:58 PM
  4. [SOLVED] Retrieve Data From Multiple Worksheets By Matching Column Headers And Row IDs
    By Ariff_Chowdhury in forum Excel Programming / VBA / Macros
    Replies: 67
    Last Post: 04-20-2014, 03:18 PM
  5. Capturing headers and data from multiple tables
    By meranamjkr in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-18-2014, 10:24 AM
  6. Replies: 4
    Last Post: 02-08-2014, 02:31 PM
  7. Auto filter multiple columns matching with searched headers
    By gotovamsee in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-08-2011, 03:20 PM

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