ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Find if there is a matching number in another column (https://www.excelbanter.com/excel-discussion-misc-queries/196168-find-if-there-matching-number-another-column.html)

Xhawk57

Find if there is a matching number in another column
 
is there a way to take two sets of data and mark a third column when the
number from the fist column has a match anywhere in the set (range) of data
for the other column?

for instance i have 3 columns

A B C
1 9
3
9
4

is there a formula that would return a marker in column C by asking the
question "if B1 = any number in column A return an "X""?

Mike H

Find if there is a matching number in another column
 
Maaybe

=IF(COUNTIF($A$1:$A$50,B1)0,"X","")

Drag down as required

Mike

"Xhawk57" wrote:

is there a way to take two sets of data and mark a third column when the
number from the fist column has a match anywhere in the set (range) of data
for the other column?

for instance i have 3 columns

A B C
1 9
3
9
4

is there a formula that would return a marker in column C by asking the
question "if B1 = any number in column A return an "X""?



All times are GMT +1. The time now is 01:24 PM.

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