Forum Discussion
Create a unique list of names based on multiple criteria
- May 18, 2021
Thank you! The values in columns C and D are numbers, not text values, so you shouldn't use quotes around values such as 1. The formula in M4 should be
=UNIQUE(FILTER($A$2:$A$5,($B$2:$B$5=M3)*($C$2:$C$5=1)))
This can be filled to the right to N4. Note that I made the references to A2:A5, B2:B5 and C2:C5 absolute so that they don't change when you fill to the right.
Could you attach a small sample workbook (without sensitive information)?
- Sarah SmithMay 18, 2021Copper ContributorHansVogelaar I just updated the post with a sample excel file so you can see what type of a document I was working with and how I set up the formula as well.
- HansVogelaarMay 18, 2021MVP
Thank you! The values in columns C and D are numbers, not text values, so you shouldn't use quotes around values such as 1. The formula in M4 should be
=UNIQUE(FILTER($A$2:$A$5,($B$2:$B$5=M3)*($C$2:$C$5=1)))
This can be filled to the right to N4. Note that I made the references to A2:A5, B2:B5 and C2:C5 absolute so that they don't change when you fill to the right.
- Sarah SmithJul 13, 2021Copper ContributorThank you soooo much! This was exactly what I needed.