Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
FJ FJ is offline
external usenet poster
 
Posts: 90
Default Help with MATCH function

Hi, I need help with a MATCH formula. I have three columns, A, B, and C. I
am entering the formula in column D. I want to look up data in column C and
see if there is a match in column A or column B and, if there is a match in
either of those columns, then I want to put the word €œYes€ in column D. If
not, then I want the word €œNo€ to appear. This is the formula I have so far
but it is yielding incorrect results:

=IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82,0)=TRUE),(IS NUMBER(MATCH(C11,$B$11:$B$82,0))=TRUE)),"Yes","No" )

Can anyone help? Thanks in advance for any information.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Help with MATCH function

Try it like this:
=IF(C11="","",IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82 ,0)),ISNUMBER(MATCH(C11,$B$11:$B$82,0))),"Yes","No "))

Works fine? Celebrate your success, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"FJ" wrote:
Hi, I need help with a MATCH formula. I have three columns, A, B, and C. I
am entering the formula in column D. I want to look up data in column C and
see if there is a match in column A or column B and, if there is a match in
either of those columns, then I want to put the word €œYes€ in column D. If
not, then I want the word €œNo€ to appear. This is the formula I have so far
but it is yielding incorrect results:

=IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82,0)=TRUE),(IS NUMBER(MATCH(C11,$B$11:$B$82,0))=TRUE)),"Yes","No" )

Can anyone help? Thanks in advance for any information.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Help with MATCH function

Another way ..use COUNTIF...

in cell D2
=IF(COUNTIF(A:B,C2)=0,"No","Yes")


If this post helps click Yes
---------------
Jacob Skaria


"FJ" wrote:

Hi, I need help with a MATCH formula. I have three columns, A, B, and C. I
am entering the formula in column D. I want to look up data in column C and
see if there is a match in column A or column B and, if there is a match in
either of those columns, then I want to put the word €œYes€ in column D. If
not, then I want the word €œNo€ to appear. This is the formula I have so far
but it is yielding incorrect results:

=IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82,0)=TRUE),(IS NUMBER(MATCH(C11,$B$11:$B$82,0))=TRUE)),"Yes","No" )

Can anyone help? Thanks in advance for any information.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
FJ FJ is offline
external usenet poster
 
Posts: 90
Default Help with MATCH function

Hi, Max, thank you very much for your help. :) Your formula worked great. :)
Just one quick question: what does the part C11="","" mean? I don't think
I've ever seen that before, but then my experience with formulas like these
is very limited.

Thanks again for your help! :)



"Max" wrote:

Try it like this:
=IF(C11="","",IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82 ,0)),ISNUMBER(MATCH(C11,$B$11:$B$82,0))),"Yes","No "))

Works fine? Celebrate your success, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"FJ" wrote:
Hi, I need help with a MATCH formula. I have three columns, A, B, and C. I
am entering the formula in column D. I want to look up data in column C and
see if there is a match in column A or column B and, if there is a match in
either of those columns, then I want to put the word €œYes€ in column D. If
not, then I want the word €œNo€ to appear. This is the formula I have so far
but it is yielding incorrect results:

=IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82,0)=TRUE),(IS NUMBER(MATCH(C11,$B$11:$B$82,0))=TRUE)),"Yes","No" )

Can anyone help? Thanks in advance for any information.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
FJ FJ is offline
external usenet poster
 
Posts: 90
Default Help with MATCH function

Hi, Jacob, thanks for your help. :) Your formula worked great, too. :)



"Jacob Skaria" wrote:

Another way ..use COUNTIF...

in cell D2
=IF(COUNTIF(A:B,C2)=0,"No","Yes")


If this post helps click Yes
---------------
Jacob Skaria


"FJ" wrote:

Hi, I need help with a MATCH formula. I have three columns, A, B, and C. I
am entering the formula in column D. I want to look up data in column C and
see if there is a match in column A or column B and, if there is a match in
either of those columns, then I want to put the word €œYes€ in column D. If
not, then I want the word €œNo€ to appear. This is the formula I have so far
but it is yielding incorrect results:

=IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82,0)=TRUE),(IS NUMBER(MATCH(C11,$B$11:$B$82,0))=TRUE)),"Yes","No" )

Can anyone help? Thanks in advance for any information.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Help with MATCH function

"" denotes blank .

=IF(C11="","",formula)

means

If C11 is blank then return blank or otherwise return the formula result

If this post helps click Yes
---------------
Jacob Skaria


"FJ" wrote:

Hi, Max, thank you very much for your help. :) Your formula worked great. :)
Just one quick question: what does the part C11="","" mean? I don't think
I've ever seen that before, but then my experience with formulas like these
is very limited.

Thanks again for your help! :)



"Max" wrote:

Try it like this:
=IF(C11="","",IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82 ,0)),ISNUMBER(MATCH(C11,$B$11:$B$82,0))),"Yes","No "))

Works fine? Celebrate your success, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"FJ" wrote:
Hi, I need help with a MATCH formula. I have three columns, A, B, and C. I
am entering the formula in column D. I want to look up data in column C and
see if there is a match in column A or column B and, if there is a match in
either of those columns, then I want to put the word €œYes€ in column D. If
not, then I want the word €œNo€ to appear. This is the formula I have so far
but it is yielding incorrect results:

=IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82,0)=TRUE),(IS NUMBER(MATCH(C11,$B$11:$B$82,0))=TRUE)),"Yes","No" )

Can anyone help? Thanks in advance for any information.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
FJ FJ is offline
external usenet poster
 
Posts: 90
Default Help with MATCH function

Hi, Jacob, thanks for the information. :)



"Jacob Skaria" wrote:

"" denotes blank .

=IF(C11="","",formula)

means

If C11 is blank then return blank or otherwise return the formula result

If this post helps click Yes
---------------
Jacob Skaria


"FJ" wrote:

Hi, Max, thank you very much for your help. :) Your formula worked great. :)
Just one quick question: what does the part C11="","" mean? I don't think
I've ever seen that before, but then my experience with formulas like these
is very limited.

Thanks again for your help! :)



"Max" wrote:

Try it like this:
=IF(C11="","",IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82 ,0)),ISNUMBER(MATCH(C11,$B$11:$B$82,0))),"Yes","No "))

Works fine? Celebrate your success, click the YES button below
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:25,000 Files:300 Subscribers:70
xdemechanik
---
"FJ" wrote:
Hi, I need help with a MATCH formula. I have three columns, A, B, and C. I
am entering the formula in column D. I want to look up data in column C and
see if there is a match in column A or column B and, if there is a match in
either of those columns, then I want to put the word €œYes€ in column D. If
not, then I want the word €œNo€ to appear. This is the formula I have so far
but it is yielding incorrect results:

=IF(OR(ISNUMBER(MATCH(C11,$A$11:$A$82,0)=TRUE),(IS NUMBER(MATCH(C11,$B$11:$B$82,0))=TRUE)),"Yes","No" )

Can anyone help? Thanks in advance for any information.

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
find the second match using the match function Ray Excel Worksheet Functions 1 April 6th 09 10:19 PM
how can we get unique values in match function for same match key. Xcel[_2_] Excel Worksheet Functions 11 December 7th 07 08:13 PM
index match array function-returning only first match, need last. Julie Olsen Excel Worksheet Functions 3 December 29th 06 12:50 AM
Match as well as does not match array function Vikram Dhemare Excel Discussion (Misc queries) 7 April 25th 06 09:15 AM
Offset function with nested match function not finding host ss. MKunert Excel Worksheet Functions 1 March 21st 06 10:46 PM


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