Forum Discussion
Issue with retrieving names based on criteria + max, tried FILTER, INDEX, VLOOKUP
- Jul 06, 2024
See the suggestions with VLOOKUP, INDEX and MATCH and FILTER in the attached file.
=VLOOKUP(1,CHOOSE({1.2},(MAXIFS(CharacterProfs[Vanilla], CharacterProfs[Profession], F10)= CharacterProfs[Vanilla])*(CharacterProfs[Profession]=F10),CharacterProfs[Character]),2,FALSE)
=INDEX(CharacterProfs[Character], MATCH(1,(MAXIFS(CharacterProfs[Vanilla], CharacterProfs[Profession], F10)= CharacterProfs[Vanilla])*(CharacterProfs[Profession]=F10), 0))
=FILTER(CharacterProfs[Character],(MAXIFS(CharacterProfs[Vanilla], CharacterProfs[Profession], F10)= CharacterProfs[Vanilla])*(CharacterProfs[Profession]=F10))
here was the index formula I was using
=VLOOKUP(MAXIFS(CP[Vanilla], CP[Profession], "Enchanting"), CP[[Character]:[Vanilla]], 2, FALSE)
here was the vlookup formula i was using
See the suggestions with VLOOKUP, INDEX and MATCH and FILTER in the attached file.
=VLOOKUP(1,CHOOSE({1.2},(MAXIFS(CharacterProfs[Vanilla], CharacterProfs[Profession], F10)= CharacterProfs[Vanilla])*(CharacterProfs[Profession]=F10),CharacterProfs[Character]),2,FALSE)
=INDEX(CharacterProfs[Character], MATCH(1,(MAXIFS(CharacterProfs[Vanilla], CharacterProfs[Profession], F10)= CharacterProfs[Vanilla])*(CharacterProfs[Profession]=F10), 0))
=FILTER(CharacterProfs[Character],(MAXIFS(CharacterProfs[Vanilla], CharacterProfs[Profession], F10)= CharacterProfs[Vanilla])*(CharacterProfs[Profession]=F10))