I have the following set of data in excel that has transactions grouped by Set ID. I want to only view Set IDs that have at least one status1 of "Active" in the group. How do I identify these sets and remove the others that don't have at least one status1 of Active?
This is a possible solution when using Office 365:
=LET(data,A1:C11,
a,INDEX(data,,1),
c,INDEX(data,,3),
f,FILTER(a,(c="a")+(ROW(c)=1)),
m,SIGN(MMULT(--(TRANSPOSE(f)=a),SEQUENCE(ROWS(f),,1,0))),
FILTER(data,m))
(Drop the +(ROW(c)=1)
if you don't want the header included)