compare and find similar numbers in two columns

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I compare two dissimilar sets of numbers in two columns (random order
) and check if any of those numbers in the two columns are similar?
 
If you want SAME (not similar) then

=NOT(ISERROR(MATCH(number,othercolumn,FALSE)))

will return Truewhen the nubmer appears in the second (other) column.

For similar numbers (ones that round the same) then array enter (enter using Ctrl-Shift-Enter):

=NOT(ISERROR(MATCH(ROUND(number,2),ROUND(othercolumn,2),FALSE)))

HTH,
Bernie
MS Excel MVP
 
Back
Top