Forum Discussion
AriBouaniche
Sep 09, 2023Copper Contributor
Filter array based on other filtered array as a lookup value
Hi, I am trying to achieve something I have never done before. I want to filter a huge array, based on the result of another filtered array, in an OR manner. Let me explain... I have a list o...
AriBouaniche
Sep 09, 2023Copper Contributor
AND IT WORKS!!!
=FILTER(Teacher_table,ISNUMBER(XMATCH(School_IDs_in_Teacher_table,FILTER(School_IDs,School_groups=1),0)))SergeiBaklan
Sep 09, 2023Diamond Contributor
As variant
=LET(
isGroup, School_Groups = group,
schools, FILTER(School_IDs, isGroup),
isTeacher, MMULT(
--(schools_in_teacher_table = TRANSPOSE(schools)),
TOCOL(1 / isGroup, 2) ),
FILTER( teacher, isTeacher)
)- AriBouanicheSep 11, 2023Copper Contributor
PeterBartholomew1 and SergeiBaklan : thank you both so much for those additional possibilities! Whenever work lets up, I'll investigate those functions I do not know...
You guys have a great day!
--Ari.
- SergeiBaklanSep 11, 2023Diamond Contributor
AriBouaniche , you too, thank you for the feedback.