+ Reply to Thread
Results 1 to 8 of 8

Help compiling vertical list from mulitple columns of data

  1. #1
    Registered User
    Join Date
    06-20-2014
    Location
    North Wales, UK
    MS-Off Ver
    Microsoft Office 2011 Mac
    Posts
    12

    Help compiling vertical list from mulitple columns of data

    Hi there

    I'm doing a group purchase of metal coins and I have a horizontal list requests that I want to output into lists on another sheet.

    So for example in row 9 I've marked a 2 in column O and 1 in column Q

    What I would like to do is on another sheet be able to write a name of the buyer and then a list is generated of the set names and how many he wants of each

    So if I type Person 10 it would return
    Seven Wonders 1
    Seven wonders duel 1
    Seven Wonders Armada 1
    Seven wonders leaders 1
    Seven wonders cities 1



    I've set it all up myself and done a lot of basic formulas, but this next step is befuddling me.

    If I need to adjust the title or explain details clearer, please let me know.

    Thank you in advance for anyhelp you are able to give.
    Attached Files Attached Files
    Last edited by MrJuggles; 12-15-2021 at 12:37 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Help compiling vertical list from mulitple columns of data

    Please read the yellow banner (top) and post a sample sheet.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,724

    Re: Help compiling vertical list from mulitple columns of data

    It would help if you attached a sample Excel workbook - the yellow banner at the top of the screen explains how to do this.

    Pete

  4. #4
    Registered User
    Join Date
    06-20-2014
    Location
    North Wales, UK
    MS-Off Ver
    Microsoft Office 2011 Mac
    Posts
    12

    Re: Help compiling vertical list from mulitple columns of data

    Thankyou for your replies, I've added an example now. I didn't think I could add anything as a new user. But it should be more clearer now I've uploaded an example file.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Help compiling vertical list from mulitple columns of data

    Maybe this to return the header:
    =IFERROR(INDEX(TEST!$C$1:$H$1,AGGREGATE(15,6,COLUMN(TEST!$C$1:$H$1)-COLUMN(TEST!$C$1)+1/(INDEX(TEST!$C$4:$H$13,MATCH($A5,TEST!$A$4:$A$13,0),)>0),COLUMNS($B4:B4))),"")

    and this to return the value:
    =IFERROR(INDEX(INDEX(TEST!$C$4:$H$13,MATCH($A5,TEST!$A$4:$A$13,0),),AGGREGATE(15,6,COLUMN(TEST!$C$1:$H$1)-COLUMN(TEST!$C$1)+1/(INDEX(TEST!$C$4:$H$13,MATCH($A5,TEST!$A$4:$A$13,0),)>0),COLUMNS($B5:B5))),"")

    both copied across. But... it's a guess as you did not shiow us your expected answers... as requested.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    06-20-2014
    Location
    North Wales, UK
    MS-Off Ver
    Microsoft Office 2011 Mac
    Posts
    12

    Re: Help compiling vertical list from mulitple columns of data

    Quote Originally Posted by Glenn Kennedy View Post
    Maybe this to return the header:
    =IFERROR(INDEX(TEST!$C$1:$H$1,AGGREGATE(15,6,COLUMN(TEST!$C$1:$H$1)-COLUMN(TEST!$C$1)+1/(INDEX(TEST!$C$4:$H$13,MATCH($A5,TEST!$A$4:$A$13,0),)>0),COLUMNS($B4:B4))),"")

    and this to return the value:
    =IFERROR(INDEX(INDEX(TEST!$C$4:$H$13,MATCH($A5,TEST!$A$4:$A$13,0),),AGGREGATE(15,6,COLUMN(TEST!$C$1:$H$1)-COLUMN(TEST!$C$1)+1/(INDEX(TEST!$C$4:$H$13,MATCH($A5,TEST!$A$4:$A$13,0),)>0),COLUMNS($B5:B5))),"")

    both copied across. But... it's a guess as you did not shiow us your expected answers... as requested.
    Sorry for not being clear on what output I was after. I was hoping to type (on a seperate sheet) a name of the buyer (the one unblurred is me) and it return below, the name of the game and the amount of sets that have been ordered. There are 150 different names (starting at 9) and the columns range from C to BM

    Cleaer.jpg

    Attachment 759528
    Attached Images Attached Images
    Last edited by MrJuggles; 12-15-2021 at 12:47 PM.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,023

    Re: Help compiling vertical list from mulitple columns of data

    Same formula, oriented in columns.
    Attached Files Attached Files

  8. #8
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Help compiling vertical list from mulitple columns of data

    Are you still using Excel 2011 and are you still operating on a MAC? These are important as they may offer alternative solutions based upon which version you are using and which operating system. Not all versions of Excel are the same. Newer versions offer more functionality.

    Attached is a Windows version that includes Power Query which is not available in a MAC operating environment. I created this solution without looking at the version you had posted.
    Attached Files Attached Files
    Last edited by alansidman; 12-15-2021 at 01:07 PM.
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] Macro that transposes Vertical Data to Horizontal for Mulitple rows
    By Jbets44 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-27-2014, 05:29 PM
  2. Compiling a list from a column of data.
    By nostrum in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-10-2014, 04:35 AM
  3. [SOLVED] Using Index & Match to search 2 vertical columns and return data to a vertical set
    By QuietLife in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-08-2013, 09:59 AM
  4. sumifs with mulitple columns and mulitple criteria in each column
    By bkaufman in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 07-18-2012, 05:11 PM
  5. Compiling a list from a data-set
    By Aesynil in forum Excel General
    Replies: 1
    Last Post: 01-09-2011, 05:40 AM
  6. Compiling a list of data into one cell
    By jinx412 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2007, 03:12 PM
  7. Compiling a list from a long set of data
    By dbs179 in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 03-30-2007, 02:15 PM

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