SOLVED

Dynamic Lists

Copper Contributor

I have a spreadsheet that has all off the manufacturers we represent as row headings. So all manufacturers are listed in Column A.  All of the Customers we sell to are Column Heading.  Customers are listed in row 1.  Not all customers are available to sell to a manufacturer, so there is an "X" in the the cells at the intersection of available customers and manufacturers.

                Cust 1    Cust 2    Cust 3   Cust 4

Manuf 1                     x                          x

Manuf 2       x

Manuf 3       x            x            x            x

Manuf 4                                  x            x

 

I want to be able to select either a manufacturer or a customer and see a list of available Manufacturers if I choose a customer or a list of Customers if I select a Manufacturer.  It seems like a pivot table should work but I can't figure it out.

 

5 Replies

@jimszabo4663 

Not sure in which form you'd like to receive the data, as variant

image.png

with

=FILTER(Table1[#Headers],XLOOKUP(I4,Table1[M/C],Table1)="x")

and

=TRANSPOSE(FILTER(Table1[M/C],XLOOKUP(I6,Table1[#Headers],Table1)="x"))

@Sergei Baklan 

 

I just don't understand the Table1[M/C]  I assume it refers to manufacturers and customers but it's not named anywhere in the sheet and I can figure out how to use it when I copy formulas to my sheet.

best response confirmed by allyreckerman (Microsoft)
Solution

@jimszabo4663 

If you stay on the table on ribbon Table Design tab appears, name of the table is here

image.png

M/C is just the name of the column.

 

If you use range you may transform it into table by clicking Ctrl+L on any cell within range. Or select the range and Insert->Table.

 

Thank you, I did figure that out. Not sure how I missed the M/C column heading. I appreciate your help. It's working great.

@jimszabo4663 , glad it helped

1 best response

Accepted Solutions
best response confirmed by allyreckerman (Microsoft)
Solution

@jimszabo4663 

If you stay on the table on ribbon Table Design tab appears, name of the table is here

image.png

M/C is just the name of the column.

 

If you use range you may transform it into table by clicking Ctrl+L on any cell within range. Or select the range and Insert->Table.

 

View solution in original post