Forum Discussion
AliMosayyebi
Mar 16, 2021Copper Contributor
Call a certain name in a cell IF certain conditions are met
Hello, I have three columns of data, name, gender and age. In a separate cell, I want to call show a name based on conditions on certain age and gender. For instance showing me the name of the pe...
- Mar 16, 2021
SergeiBaklan
Mar 16, 2021Diamond Contributor
Depends on version of Excel you use.
As variant, you may have 3 cells, with drop-down lists if desired, for min age, max age and gender. Based on them you FILTER() the names and wrap result by TEXTJOIN() for the case if more than one of such names.
AliMosayyebi
Mar 16, 2021Copper Contributor
I use Excel (office 365). Could you be able to share an example with me, please?
- SergeiBaklanMar 16, 2021Diamond Contributor
- AliMosayyebiMar 16, 2021Copper ContributorThanks very much, that works.
- SergeiBaklanMar 17, 2021Diamond Contributor
You are welcome, glad it helped