Matching values in two columns

R

Rob

Hi,

I have two columns of numbers of about 5,000 rows. EG:
1 8
2 3
6 2
3 5
In this example I just want the numbers 2 and 3 to be left showing in the
left column.

I would like to show only the numbers in the first column that don't have a
corresponding matching number anywhere in the second column. (Or highlighted
in colour.)

Is there a way to do this?

Rob
 
G

Guest

One way, where your first column of number is in B1:B5000 and the second is
in C1:C5000, enter in A1

=ISNUMBER(MATCH(B1, C$1:C$5000,0))

and copy/fill down column A. Then use the autofilter on column A to filter
for TRUE values.
 
R

Rob

Thanks JMB, worked great!!

Rob

JMB said:
One way, where your first column of number is in B1:B5000 and the second
is
in C1:C5000, enter in A1

=ISNUMBER(MATCH(B1, C$1:C$5000,0))

and copy/fill down column A. Then use the autofilter on column A to
filter
for TRUE values.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top