+ Reply to Thread
Results 1 to 4 of 4

Possibly using pivot table to sort this matrix?

  1. #1
    Forum Contributor
    Join Date
    04-19-2016
    Location
    Michigan
    MS-Off Ver
    15.0
    Posts
    130

    Possibly using pivot table to sort this matrix?

    Good morning,

    I have a matrix of hundreds of columns and rows, thow:

    Column A: list of our phones
    Row 1: List of microprocessors that are compatible with these phones

    If there is an "X" where the row and column intersects, that means that this phone and that microprocessor are compatible.

    For the mock-up sheet, Phone 1 is compatible with Microprocessor C, Phone 2 with A,C,and Z, and so on an so forth.

    While this is graphically easy for people to look and learn about compatibility, but since we have hundreds of rows and columns, is there anyway we can:

    a. Filter and generate a list of which phones are compatible with any given microprocessor?
    b. Filter and generate a list of which microprocessors are compatible with any phone?

    The user will come in, and query, let's say "Micro C", then Phone 1,2 and 1000 will show up

    or "Phone 1000", and a list of Micro C and Z will be populated.

    Would a pivot table help with this case?

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Possibly using pivot table to sort this matrix?

    Hi,

    It would be much simpler if you had just two columns in the data. You could then create a simple pivot table with slicers for each field.
    Attached Files Attached Files
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Possibly using pivot table to sort this matrix?

    With your matrix in A1:D5, and "Phone 2" in F2, try these:

    G2 =IFERROR(INDEX(B$1:D$1,SMALL(IF((A$2:A$5=F$2)*(B$2:D$5="X"),COLUMN(B$1:D$1)-(COLUMN(B$1)-1)),ROWS(A$1:A1))),"") Ctrl Shift Enter

    With "Micro C" in I2:

    J2 =IFERROR(INDEX(A$2:A$5,SMALL(IF((B$1:D$1=I$2)*(B$2:D$5="X"),ROW(A$2:A$5)-(ROW(A$2)-1)),ROWS(A$1:A1))),"") Ctrl Shift Enter

    Drag both formulas down as far as needed. Adjust the ranges to match your data.

    See attachment for clarification.
    Attached Files Attached Files

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Possibly using pivot table to sort this matrix?

    Hi
    You can use anoter approach.

    Use a list of Micros (from F11 to F...) and use in G11 the following formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Filter the table with 1 in column G

    See the file (@63falcondude base)
    Attached Files Attached Files

+ 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. Should I use a pivot table to create a matrix?
    By dazbear in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 03-13-2015, 02:47 PM
  2. Convert a Matrix into a List. Can I use Pivot Table for that?
    By klebergreco in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-22-2014, 08:28 AM
  3. Replies: 1
    Last Post: 05-16-2014, 07:34 PM
  4. Pivot Table Skills Matrix Trouble
    By ramjet in forum Excel General
    Replies: 0
    Last Post: 06-05-2012, 11:14 AM
  5. trying to display a pivot table in a matrix form
    By nmss18 in forum Excel General
    Replies: 0
    Last Post: 07-19-2011, 01:59 PM
  6. Pivot table as matrix
    By Shadmani in forum Excel General
    Replies: 0
    Last Post: 12-20-2010, 05:50 AM
  7. Formula Question possibly involving a pivot table
    By talk show host in forum Excel General
    Replies: 9
    Last Post: 11-06-2007, 06:04 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