Hi, there's rows A and B as follows:

A B
1 9
6 7
21 30
1 9
9 1
21 30
I am trying to display
C D
1 9
as the resolution .

By using the formula
"=IFERROR(INDEX(A$1:A$5,SMALL(IF(FREQUENCY($A$1:$A$7*$B$1:$B$7/

($A$1:$A$7+$B$1:$B$7),

$A$1:$A$7*$B$1:$B$7/($A$1:$A$7+$B$1:$B$7))>1,ROW($A$1:$A$7)-

MIN(ROW($A$1:$A$7))+1),ROWS($1:1))),"") "

the resolution is
C D
1 9
21 30
As there are duplicates in upper example however desired answer is supposed to be only 1 and 9 in Rows C and D excluding 21 and 30 because they have occurred only twice not thrice.

Is there a way to achieve the desired resolution by editing or entering an entirely new formula or way?

thanks