"Biff" wrote...
Tried your formula on the OP's sample data and it worked except for the
entry:
4 | 5 | 5................... _ | 4 | 5
Already dealt with in my revised formula.
When I tried it on larger random sets of numbers it didn't fare too well.
One thing that happened is when there were no matches in either range the
formula returned #DIV/0!
....
OK, I need to revise my revised formula.
F2:
=IF(AND(ABS(COUNTIF($I2:$K2,C2)/MAX(1,
SUMPRODUCT(COUNTIF($I2:$K2,$C2:$E2)))-0.5)<0.5,
COUNTIF($C2:C2,C2)<=COUNTIF($I2:$K2,C2)),C2,"")
|