#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 71
Default Match

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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Match

=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)

"Anita" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Match

Anita,

Lots of methods fo duplicates he-

http://www.cpearson.com/excel/Duplicates.aspx

Mike

"Anita" wrote:

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

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Match

=IF(ISNA(MATCH(A1,B:B,0)),"Not found","Found")
--
David Biddulph

"Anita" wrote in message
...
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



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 43
Default Match

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.

"Anita" wrote:

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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MATCH Multiple Criteria & Return Previous / Penultimate Match Sam via OfficeKB.com Excel Worksheet Functions 27 October 6th 07 01:39 AM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Lookup? Match? pulling rows from one spreadsheet to match a text f cjax Excel Worksheet Functions 3 July 21st 06 02:51 PM
Any way for 2 column vlookups. i.e match last name then match firs CraigS Excel Worksheet Functions 5 March 7th 06 12:30 AM
When MATCH and v/hLOOKUP functions *FAIL* to match (but they should)... [email protected] Excel Worksheet Functions 2 April 6th 05 09:59 PM


All times are GMT +1. The time now is 07:12 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"