ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   compare and find similar numbers in two columns (https://www.excelbanter.com/new-users-excel/116042-compare-find-similar-numbers-two-columns.html)

New User

compare and find similar numbers in two columns
 
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?

Bernie Deitrick

compare and find similar numbers in two columns
 
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(othercolu mn,2),FALSE)))

HTH,
Bernie
MS Excel MVP


"New User" <New wrote in message
...
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?





All times are GMT +1. The time now is 07:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com