excelbytes
Active Member
- Joined
- Dec 11, 2014
- Messages
- 251
- Office Version
- 365
- Platform
- Windows
I use this formula structure or a variation of it to extract a dynamic list from a data range or table:
=IFERROR(INDEX($A$2:$A$26,SMALL(IF(($B$2:$B$26=$H$1)*($C$2:$C$26>=$I$1),ROW($A$2:$A$26)),ROW(1:1))-1,1),"")
The question has come up, how to ensure the results have no duplicates. I know we can add a helper column to the data range that would include a COUNTIF function and then add a criteria where the value is only 1, but is there a way to accomplish this within the formula itself?
Thanks.
=IFERROR(INDEX($A$2:$A$26,SMALL(IF(($B$2:$B$26=$H$1)*($C$2:$C$26>=$I$1),ROW($A$2:$A$26)),ROW(1:1))-1,1),"")
The question has come up, how to ensure the results have no duplicates. I know we can add a helper column to the data range that would include a COUNTIF function and then add a criteria where the value is only 1, but is there a way to accomplish this within the formula itself?
Thanks.