ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Match (https://www.excelbanter.com/excel-discussion-misc-queries/56708-match.html)

Tess

Match
 
I need to match two columns. In this case I would like to find all the
numbers in columns A that also appears in columns B.

For exempel:

A B

1 2
2 3
3 3
4 4
5 7

Rresults:
A B

2 2
3 3
3
4 4


--
Tess

Bob Phillips

Match
 
In C1, add

=IF(COUNTIF(B:B,A1)0,"Match","")

and copy down

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Tess" wrote in message
...
I need to match two columns. In this case I would like to find all the
numbers in columns A that also appears in columns B.

For exempel:

A B

1 2
2 3
3 3
4 4
5 7

Rresults:
A B

2 2
3 3
3
4 4


--
Tess





All times are GMT +1. The time now is 06:54 PM.

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