Hi
Row 1 has my headers. Starting in A1 and working to the right, we have "Names", "Gender", "Language", "Talks", "Demonstrations" respectively.
Suppose I have a list of 100 names in column A, then column B will be either male or female, Column C will be English or Portuguese, Columns D & E will have either a Yes or No.
Each range of info (rows 2-101) will be named ranges according to the header.
So far so good.
Let's say that in Column G1:G4 I have "Gender", "Language", "Talks", "Demonstrations" respectively. and in H1:H4 The I have validation lists to allow the user to select his options.
I want in Column J (say 2 to 101) to put formulae that will return only the names that match the criteria the user has input in H1:H4, without leaving gaps for the people whose names don't match.
Example: A2 = Benny, A3 = John, A4= Betty, A5 = Harold,
So lets say Benny speaks Portuguese, is male and can do demonstrations
John is English and can do talks and demonstrations
Betty is English and can only do talks
Harold is English and can only do talks
So if the user selects "Male", "English" and "Demonstrations", The formula in J2 will return "John", because he is the first person in the list that matches all of my criteria. J3-J102 would be blank in my example as none of the other students match the criteria.
If the user selects "Male", "English" and "Talks", The formula in J2 will return "John", and J3 would return Harold because he also matched the criteria.
How do I do this? What formula would I need in J2 (which I could copy down)?
I appreciate it could be done with a pivot table. but that is not an option for my in this instance.
Many thanks
Row 1 has my headers. Starting in A1 and working to the right, we have "Names", "Gender", "Language", "Talks", "Demonstrations" respectively.
Suppose I have a list of 100 names in column A, then column B will be either male or female, Column C will be English or Portuguese, Columns D & E will have either a Yes or No.
Each range of info (rows 2-101) will be named ranges according to the header.
So far so good.
Let's say that in Column G1:G4 I have "Gender", "Language", "Talks", "Demonstrations" respectively. and in H1:H4 The I have validation lists to allow the user to select his options.
I want in Column J (say 2 to 101) to put formulae that will return only the names that match the criteria the user has input in H1:H4, without leaving gaps for the people whose names don't match.
Example: A2 = Benny, A3 = John, A4= Betty, A5 = Harold,
So lets say Benny speaks Portuguese, is male and can do demonstrations
John is English and can do talks and demonstrations
Betty is English and can only do talks
Harold is English and can only do talks
So if the user selects "Male", "English" and "Demonstrations", The formula in J2 will return "John", because he is the first person in the list that matches all of my criteria. J3-J102 would be blank in my example as none of the other students match the criteria.
If the user selects "Male", "English" and "Talks", The formula in J2 will return "John", and J3 would return Harold because he also matched the criteria.
How do I do this? What formula would I need in J2 (which I could copy down)?
I appreciate it could be done with a pivot table. but that is not an option for my in this instance.
Many thanks