Results 1 to 10 of 10

Complex TRANSPOSE problem

Threaded View

  1. #1
    Registered User
    Join Date
    04-26-2024
    Location
    Netherlands
    MS-Off Ver
    O365
    Posts
    4

    Complex TRANSPOSE problem

    Hello,

    I am trying to transpose a table. The table consists of rows of items and columns showing the ordered quantity. The cells then show the unit price that is paid for each quantity. I want to transpose this table into a 3 column table with the item, quantity and price, omitting the blanks.

    Example table before:

    Item 1 2 3 4 5
    aaa 10 9 8
    bbb 15
    ccc 20 18 16 15 14
    ddd 10 8 6 5 4
    eee 30 25 22

    Desired result:

    Item Qty Price
    aaa 1 10
    aaa 2 9
    aaa 3 8
    bbb 1 15
    ccc 1 20
    ccc 2 18
    ccc 3 16
    ccc 4 15
    ccc 5 14
    ddd 1 10
    ddd 2 8
    ddd 3 6
    ddd 4 5
    ddd 5 4
    eee 1 30
    eee 2 25
    eee 3 22

    I know I can use the Excel function to transpose, but it's a lot of lines, so this is a no go. I can do this in VBA. But I prefer to do this in a formula, partly because it's dynamic. I am quite familiar with ARRAY and TRANSPOSE formula's, but I haven't figured this one out yet. Any ideas?

    Example report.xlsx
    Last edited by RubenvanHout; 04-26-2024 at 03:50 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. table transpose complex
    By cane_pluto in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 04-04-2024, 11:43 PM
  2. Complex Transpose question
    By moga in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-27-2023, 12:26 PM
  3. [SOLVED] Transpose of complex(?) data
    By 1411 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-07-2021, 03:15 PM
  4. Complex Transpose
    By Sammysamface in forum Excel General
    Replies: 1
    Last Post: 05-26-2017, 01:10 PM
  5. Complex Transpose Help
    By pip74205 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-22-2015, 10:56 AM
  6. Complex transpose macro
    By kammariarun in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-13-2013, 12:08 PM
  7. conditional transpose complex
    By susriram in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-30-2011, 01: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