Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Joe Gieder
 
Posts: n/a
Default Finding a value within two rows

First, thank you for your help.
Is there a way to take a value from one cell say A1 and look within two
other rows say B1:B1000 and C1:C1000 and if there's a match say "Yes"?

Thank you
Joe
  #2   Report Post  
Domenic
 
Posts: n/a
Default Finding a value within two rows

Try...

=IF(COUNTIF(B1:C1000,A1),"Yes","")

Hope this helps!

In article ,
"Joe Gieder" wrote:

First, thank you for your help.
Is there a way to take a value from one cell say A1 and look within two
other rows say B1:B1000 and C1:C1000 and if there's a match say "Yes"?

Thank you
Joe

  #3   Report Post  
Search33
 
Posts: n/a
Default Finding a value within two rows

I'm sure there is a better way to do this, and I'm sure someone else will
come up with it. But in the meantime, this should work for your situation

=IF(ISERROR(MATCH(A1,B1:B1000,0)),IF(ISERROR(MATCH (A1,C1:C1000,0)),"No","Yes"),"Yes")

Of course you can put what you want to show up in the cell in place of "Yes"
and "No"

- Search

"Joe Gieder" wrote:

First, thank you for your help.
Is there a way to take a value from one cell say A1 and look within two
other rows say B1:B1000 and C1:C1000 and if there's a match say "Yes"?

Thank you
Joe

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default Finding a value within two rows

=IF(OR(ISNUMBER(MATCH(A1,B1:B1000,0)),ISNUMBER(MAT CH(A1,C1:C1000,0))),"Yes",
"")

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Joe Gieder" wrote in message
...
First, thank you for your help.
Is there a way to take a value from one cell say A1 and look within two
other rows say B1:B1000 and C1:C1000 and if there's a match say "Yes"?

Thank you
Joe



  #5   Report Post  
Ashish Mathur
 
Posts: n/a
Default Finding a value within two rows

Hi,

You may also try the following array formula (Ctrl+Shift+Enter)

=or(exact(A1,B1:C1000))

Regards,

Ashish Mathur


"Joe Gieder" wrote:

First, thank you for your help.
Is there a way to take a value from one cell say A1 and look within two
other rows say B1:B1000 and C1:C1000 and if there's a match say "Yes"?

Thank you
Joe



  #6   Report Post  
Joe Gieder
 
Posts: n/a
Default Finding a value within two rows

Thank you all for the help.

"Joe Gieder" wrote:

First, thank you for your help.
Is there a way to take a value from one cell say A1 and look within two
other rows say B1:B1000 and C1:C1000 and if there's a match say "Yes"?

Thank you
Joe

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
Finding the minimum in a selected number of rows of the same colum Mark Rugers Excel Worksheet Functions 5 July 20th 05 10:37 PM
finding the no. of rows in a COL filled with numbers, zeros and bl z.entropic Excel Worksheet Functions 14 May 21st 05 11:05 PM
Finding minimum value across selected rows of an array Dazed and confused about min, max Excel Worksheet Functions 2 February 25th 05 11:11 PM
Finding min,max in an array using selected rows from a table Dazed and confused about min, max Excel Worksheet Functions 1 February 25th 05 09:02 PM
Finding common data in multiple columns and rows in Excel sparham Excel Worksheet Functions 3 February 12th 05 04:11 AM


All times are GMT +1. The time now is 02:59 PM.

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

About Us

"It's about Microsoft Excel"