Forum Discussion

IF's avatar
IF
Post Prodigy
3 years ago
Solved

Filter by another field

Hi,

 

I have two tables. Table 1:

NameType

AX1
AX1
BX2
BX3
BX4
CX2
CX3
CX3
CX1
DX1

 

Table2:

NameQty

A2
B3
C5
D7
E8

 

I want to connect the tables with the "name" column. If the name has X1 type value, I want to filter that name. In table 1, I have X1 value for A, C, D. Only Name:B doesn't have X1 type. Based on this I want to have a table, that shows Name and Qty, which should be B and the qty should be 3.

how can i a filter in 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi IF ,

     

    I got this:

     

    First you have to group Type by Name all rows, you would get this table:

    Then you have to get the column of Type from this column table as list, you can do it with this formula:

     

    Then you have to expand the list with "," delimited for example and remove the column table, you would have your table like this:

    Then you just have to merge with the other table by Name column, and filer the column of Types by Text Contain, and i get that i think you need:

     

1 Reply

  • Anonymous's avatar
    Anonymous
    Not applicable

    Hi IF ,

     

    I got this:

     

    First you have to group Type by Name all rows, you would get this table:

    Then you have to get the column of Type from this column table as list, you can do it with this formula:

     

    Then you have to expand the list with "," delimited for example and remove the column table, you would have your table like this:

    Then you just have to merge with the other table by Name column, and filer the column of Types by Text Contain, and i get that i think you need: