PC Review


Reply
Thread Tools Rate Thread

Count, Sum, Index,Match or other formula needed

 
 
Nadine
Guest
Posts: n/a
 
      4th May 2010
Using Excel 2003:
One row is a set of numbers. I need to match that to another worksheet and
find certain results in it. Here's the trick. This second worksheet will
have these numbers over and over again with either Yes or No in the column I
want returned. Example, number in cell one is shown 10 times in the second
worksheet sometimes with yes and sometimes with no in the column I want back.


The result need to find the number in the 1st worksheet and return a No if
any of the matching in the 2nd worksheet contain a No in the column I want
returned even if sometimes it has a Yes for this number.

Example:
Worksheet 2:
# Yes/No
123 Yes
456 No
789 No
789 No
789 Yes
123 No
456 No
456 No
123 Yes

Results should be:
123 Yes
456 No
789 Yes

Thanks.
 
Reply With Quote
 
 
 
 
Tom Hutchins
Guest
Posts: n/a
 
      4th May 2010
Not elegant, but this should work
=IF(SUMPRODUCT(--(Sheet2!$A$1:$A$200=Sheet1!A1),--(Sheet2!$B$1:$B$200="No"))>0,"No",IF(SUMPRODUCT(--(Sheet2!$A$1:$A$200=Sheet1!A1),--(Sheet2!$B$1:$B$200="Yes"))>0,"Yes","Not found"))

Adjust ranges as needed. In Excel 2003 you can't use whole columns with
SUMPRODUCT.

BTW, your sample data has at least one NO for each number, so the results
should be No, No, and No.

Hope this helps,

Hutch

"Nadine" wrote:

> Using Excel 2003:
> One row is a set of numbers. I need to match that to another worksheet and
> find certain results in it. Here's the trick. This second worksheet will
> have these numbers over and over again with either Yes or No in the column I
> want returned. Example, number in cell one is shown 10 times in the second
> worksheet sometimes with yes and sometimes with no in the column I want back.
>
>
> The result need to find the number in the 1st worksheet and return a No if
> any of the matching in the 2nd worksheet contain a No in the column I want
> returned even if sometimes it has a Yes for this number.
>
> Example:
> Worksheet 2:
> # Yes/No
> 123 Yes
> 456 No
> 789 No
> 789 No
> 789 Yes
> 123 No
> 456 No
> 456 No
> 123 Yes
>
> Results should be:
> 123 Yes
> 456 No
> 789 Yes
>
> Thanks.

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
concatenate within an Index/Match formula, or is another approach needed? Harold Good Microsoft Excel Worksheet Functions 3 16th Feb 2009 07:16 PM
How do I display more than one match in a Index/Match formula? =?Utf-8?B?VHJpc2g=?= Microsoft Excel Worksheet Functions 0 26th Sep 2005 10:21 PM
Index and Match Help Needed =?Utf-8?B?Y2FybA==?= Microsoft Excel Worksheet Functions 3 26th Sep 2005 09:42 PM
Index and match functions help needed. =?Utf-8?B?WmFr?= Microsoft Excel Worksheet Functions 5 1st Sep 2005 02:08 PM
help needed with index match formula BigDumbRebel Microsoft Excel Misc 3 19th Dec 2003 10:37 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:35 PM.