#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default function for search

I have an extensive list of phone numbers in both column A and B. In column c
I have entered aprox. 100 phone numbers. Next to each number in coulumn C,
In column D I would like it to output with a yes or no if that number matches
any of the thousands in column A or B exaclty
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 913
Default function for search

On Tue, 5 Aug 2008 13:04:04 -0700, NickySven
wrote:

I have an extensive list of phone numbers in both column A and B. In column c
I have entered aprox. 100 phone numbers. Next to each number in coulumn C,
In column D I would like it to output with a yes or no if that number matches
any of the thousands in column A or B exaclty



Try this formula in cell D1:

=IF(AND(ISERROR(MATCH(C1,A$1:A$10000,0)),ISERROR(M ATCH(C1,B$1:B$10000,0))),"no","yes")

Change the 10000 to be at least as high as you have numbers in column
A and B respectively.
Copy this formula down as many rows as you have phone numbers in
column C.

Hope this helps / Lars-Åke
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default function for search

Try this...

=IF(COUNTIF(A:B,C1),"Yes","No")

Copy down as needed

--
Biff
Microsoft Excel MVP


"NickySven" wrote in message
...
I have an extensive list of phone numbers in both column A and B. In column
c
I have entered aprox. 100 phone numbers. Next to each number in coulumn
C,
In column D I would like it to output with a yes or no if that number
matches
any of the thousands in column A or B exaclty



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
Search / Mid function Landa Excel Worksheet Functions 4 September 30th 06 07:33 AM
Search function Haim Excel Discussion (Misc queries) 1 July 21st 06 08:30 PM
Search function se01rw Excel Discussion (Misc queries) 1 February 13th 06 02:06 PM
How do I add a search function? Jadziah New Users to Excel 3 December 15th 05 08:19 AM
Search function nc Excel Discussion (Misc queries) 7 May 13th 05 03:08 PM


All times are GMT +1. The time now is 03:41 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"