Apr 05 2022 01:49 PM
Hi All,
Can you help me with below please?
company | Platform |
abc co | 123 |
abc co | 456 |
xyz co | 123 |
xyz co | 456 |
yyy co | 456 |
i made up above data since i cannot share my actual data. i am looking to filter out company names with 456 platform only. for example, abc co has both 123 and 456 so i want a false value next to it. where as i want true value for yyy
Apr 05 2022 02:07 PM - edited Apr 05 2022 02:21 PM
Solution
=LET(A,A2:A10,
e,UNIQUE(A),
ok,COUNTIFS(A,e,$B$2:$B$10,456),
company,COUNTIF(A,e),
result,FILTER(e,ok=company),
result)
Is this what you want to do?
If you don't work with Office365 or 2021 you can try this formula:
=NOT(COUNTIFS($A$2:$A$14,A2,$B$2:$B$14,456)<COUNTIF($A$2:$A$14,A2))
Apr 06 2022 12:43 PM
Apr 06 2022 01:12 PM
=NOT(SUM(COUNTIFS($A$2:$A$12,A2,$B$2:$B$12,{456,789}))<COUNTIF($A$2:$A$12,A2))
Is this what you want to do? Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.
Apr 05 2022 02:07 PM - edited Apr 05 2022 02:21 PM
Solution
=LET(A,A2:A10,
e,UNIQUE(A),
ok,COUNTIFS(A,e,$B$2:$B$10,456),
company,COUNTIF(A,e),
result,FILTER(e,ok=company),
result)
Is this what you want to do?
If you don't work with Office365 or 2021 you can try this formula:
=NOT(COUNTIFS($A$2:$A$14,A2,$B$2:$B$14,456)<COUNTIF($A$2:$A$14,A2))