I have the following data collected:
persnum: Person number within the household Age:age of the person, htval: height of the person
I have highlighted them in the screenshot.
I am looking for a formula that tells how many people does the tallest female in the survey live with.
I know that I need to use the max function, the IF function but I am missing the function that returns the persnum as I don't know which to use for this.
This is my formula so far (missing the persnum part)
=ROWS(@FILTER(data!D11:D9291,data!T11:T9291=MAXIFS(data!T11:T9291,data!G11:G9291,2)))-1
EDIT: It should be comptible with 2019 Excel version Thank you for your help