+ Reply to Thread
Results 1 to 10 of 10

How to covert a Matrix to a List in Columns?

  1. #1
    Forum Contributor
    Join Date
    10-23-2004
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    253

    Question How to covert a Matrix to a List in Columns?

    I have attached my Excel Spreadsheet.The sheet Matrix is from A1:M31... 30 rows of data with headers. How can I convert this data into the result seen on the second sheet called List?

    Also, the sheet Matrix is a living file, so whenever I ADD or REMOVE an "X" or "SME" or "ASME", the next sheet automatically updates. Is this possible? If not, I am ok with simply clicking a button that is assigned to a Macro so that I can rerun the list and have it up to date.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: How to covert a Matrix to a List in Columns?

    In B2 of "List"

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Copy across and down

    If you are on later version of Excel, please update your profile as there may alternative solutions: certainly with Excel 365.
    Last edited by JohnTopley; 09-15-2023 at 01:52 PM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    10-23-2004
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    253

    Re: How to covert a Matrix to a List in Columns?

    I get the same name on WHICHEVER cell i populate that answer too... "Ryan Kevin".... whether it's B2, B1, A5, C4, whether Row 1 has titles or not. Once i copy across and down, it gets glitchy. I do get the right amount of names, but for some reason, RYAN KEVIN is ALWAYS the first name.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: How to covert a Matrix to a List in Columns?

    See attached: and it should be A2! my error.
    Attached Files Attached Files

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: How to covert a Matrix to a List in Columns?

    MatrixData =Matrix!$B$2:$M$31
    MatrixHeaders =Matrix!$B$1:$M$1
    MatrixNames =Matrix!$A$2:$A$31


    Please Login or Register  to view this content.
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Ben Van Johnson

  6. #6
    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,887

    Re: How to covert a Matrix to a List in Columns?

    Here is an alternative means to the end with Power Query. If you make any changes to the source document, then all you need to do is click on refresh all to update.

    Power Query is a free AddIn for Excel 2010 and 2013, and is built-in functionality from Excel 2016 onwards (where it is referred to as "Get & Transform Data").

    It is a powerful yet simple way of getting, changing and using data from a broad variety of sources, creating steps which may be easily repeated and refreshed. I strongly recommend learning how to use Power Query - it's among the most powerful functionalities of Excel.

    - Follow this link to learn how to install Power Query in Excel 2010 / 2013.

    - Follow this link for an introduction to Power Query functionality.

    - Follow this link for a video which demonstrates how to use Power Query code provided.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    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

  7. #7
    Forum Contributor
    Join Date
    10-23-2004
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    253

    Re: How to covert a Matrix to a List in Columns?

    Quote Originally Posted by protonLeah View Post
    MatrixData =Matrix!$B$2:$M$31
    MatrixHeaders =Matrix!$B$1:$M$1
    MatrixNames =Matrix!$A$2:$A$31


    Please Login or Register  to view this content.
    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    To which cell(s) do these 4 different formulas go to?

  8. #8
    Forum Contributor
    Join Date
    10-23-2004
    Location
    Los Angeles
    MS-Off Ver
    2010
    Posts
    253

    Re: How to covert a Matrix to a List in Columns?

    Thanks Alan.

    I have a few questions.

    1) If i add a new X or remove an X, how do i refresh the data so that my column lists are updated?

    2) Can these columns of list of people be instead on a different tab? Or will it mess up the coding?

  9. #9
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,612

    Re: How to covert a Matrix to a List in Columns?

    I'm sorry. The first three, "Matrix...", are named ranges you must create: Formula menu, define name, ...
    The formula goes into the results sheet A2 and copied down and across.
    Attached Files Attached Files

  10. #10
    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,887

    Re: How to covert a Matrix to a List in Columns?

    to refresh your query, on the Data Tab, click on Refresh All
    2) Can these columns of list of people be instead on a different tab? Or will it mess up the coding?
    Are you referring to source information or data output.

+ 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] Turn matrix list to csv friendly list
    By Khaazh in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-27-2023, 03:26 AM
  2. Covert Spam List for use in Outlook
    By Witzker in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-02-2020, 07:48 PM
  3. Replies: 2
    Last Post: 02-11-2014, 05:05 AM
  4. Convert Matrix to List (excluding blank cells from list)
    By cameron.rumball in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-02-2013, 12:35 AM
  5. [SOLVED] How to covert lower triangle of a matrix to a single row?
    By mythili1807 in forum Excel General
    Replies: 5
    Last Post: 03-29-2013, 09:25 AM
  6. Replies: 0
    Last Post: 10-02-2012, 09:09 AM
  7. covert columns into rows
    By balsrin in forum Excel General
    Replies: 2
    Last Post: 08-18-2006, 05:40 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