Hi there,
I'm struggling to return 1st, 2nd highest value from table using multiple conditions.
In my examle attached, I would want H4 to return 'Cow' instead of 'Pig' which is already in H3
In essence, I am trying to add a condition to avoid cells already present in range to be returned.
=INDEX(B:B,MATCH(1,($F$2=A:A)*(0=D:D)*(LARGE(FILTER(C:C,(A:A=$F$2)*(D:D=0)),$G4)=C:C),0))
I'm struggling to return 1st, 2nd highest value from table using multiple conditions.
In my examle attached, I would want H4 to return 'Cow' instead of 'Pig' which is already in H3
In essence, I am trying to add a condition to avoid cells already present in range to be returned.
=INDEX(B:B,MATCH(1,($F$2=A:A)*(0=D:D)*(LARGE(FILTER(C:C,(A:A=$F$2)*(D:D=0)),$G4)=C:C),0))