Hi
I am using Office 365 with Dynamic Arrays and find it amazing especially the FILTER function but I am struggling to filter a table based on multiple values. I would like to include all rows of the table based on any of the values in another table.
The following example illustrates the expected result:
Table1: Table to filter
Table2: The values to filter on
The expected result. I cannot get this result using FILTER, XMATCH, XLOOKUP or IF
Can someone please give me some guidance how to achieve this?
Regards
I am using Office 365 with Dynamic Arrays and find it amazing especially the FILTER function but I am struggling to filter a table based on multiple values. I would like to include all rows of the table based on any of the values in another table.
The following example illustrates the expected result:
Table1: Table to filter
No | A |
Row1 | a1 |
Row2 | a2 |
Row3 | a3 |
Row4 | a2 |
Row5 | a5 |
Row6 | a4 |
Row7 | a6 |
Row8 | a8 |
Row9 | a6 |
Row10 | a3 |
Row11 | a9 |
Row12 | a1 |
Row13 | a0 |
Row14 | a3 |
Row15 | a6 |
Row16 | a4 |
Row17 | a8 |
Row18 | a5 |
Row19 | a9 |
Row20 | a2 |
Row21 | a8 |
Row22 | a4 |
Row23 | a6 |
Row24 | a1 |
Row25 | a2 |
Row26 | a0 |
Table2: The values to filter on
B |
a5 |
a6 |
a7 |
The expected result. I cannot get this result using FILTER, XMATCH, XLOOKUP or IF
No | A |
Row5 | a5 |
Row18 | a5 |
Row7 | a6 |
Row9 | a6 |
Row15 | a6 |
Row23 | a6 |
Can someone please give me some guidance how to achieve this?
Regards