Match

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

Guest

Hi

I've got 2 columns of data and want to find out if a value in col A exists
anywhere in column B - I thought the match function might do this but I can't
work it out.

Thanks

Anita
 
=ISNUMBER(MATCH(A2,B:B,0))

will return TRUE or FALSE

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Hi Anita,

You can do this by using COUNTIF function, Please find the below example:

ColA ColB ColC

RAJ RAJ 1
RAM KUMAR 1
KUMAR RAJ 1
JOHN MIKE 0

Forumula used in cell C1 is as follows

=COUNTIF($A$1:$A$4,B1)

If a value in Col A is also there in Col B then it will display value '1' in
ColC, otherwise (i.e value in col B is not in col A) it will display value
'0' in column C.

Hope this will clear your doubt.

Regards,
Soundar.
 

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

Similar Threads

Index Match to add employee number 2
With F1 value, look at A, if match or partial match return B 5
Wild Card Search 2
match-up formula 3
lookup/match mult values 3
Match? 5
Index and Match 8
index/match error 2

Back
Top