It could certainly be done with a user defined formula which sorted an
array of values from the two columns and compared as many as the value
of n.
--
mrice
------------------------------------------------------------------------
mrice's Profile:
http://www.excelforum.com/member.php...o&userid=10931
View this thread:
http://www.excelforum.com/showthread...hreadid=532751