I got a formula from this forum to eliminate duplicate records in a array from 1 column in database. Now I would like to take it one step further and filter out records in the array that do not meet the criteria of being in a particular "Zone" selected by the user by clicking on a ComboBox from cell "AA18".
The first formula is copied to cell "C7":
=INDEX(Data!E3:E119,MATCH(0,-ISBLANK(Data!E3:E119),0))
The next forumla is copied to cell "C8" and below:
=IF(COUNT(MATCH(Data!E$3:E$119,C$7:C7,0))<COUNT(1/(Data!E$3:E$119<>"")),INDEX(Data!E$3:E$119,MATCH(0,(Data!E$3:E$119<>"")-ISNA(MATCH(Data!E$3:E$119,C$7:C7,0)),0)))
Bookmarks