Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default COUNT A YES STATEMENT AGAINST A NAME

Hi, I have sheet with a list of 5 names in and another sheet with the same
names (about 5000) in total and yes or no recorded against each of these
names.

How do I count from the how many times yes is against a particular name?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default COUNT A YES STATEMENT AGAINST A NAME

Suppose you have the 5000 names in Sheet2 Name in ColA and Yes/No in ColB

In sheet1 you have the 5 names in A1:A5. In B1 enter the below formula and
copy that down to A5

A1 = name1
In B1
=SUMPRODUCT(--(Sheet2!$A$1:$A$5000=A1),--(Sheet2!$B$1:$B$5000="Yes"))

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


"Dave" wrote:

Hi, I have sheet with a list of 5 names in and another sheet with the same
names (about 5000) in total and yes or no recorded against each of these
names.

How do I count from the how many times yes is against a particular name?

Thanks

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default COUNT A YES STATEMENT AGAINST A NAME

=SUMPRODUCT((A1:A11="Name")*(B1:B11="Yes")*1)

Change the ranges as needed. Ranges must be equal on both criteria and you
can't just use columns

"Dave" wrote:

Hi, I have sheet with a list of 5 names in and another sheet with the same
names (about 5000) in total and yes or no recorded against each of these
names.

How do I count from the how many times yes is against a particular name?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default COUNT A YES STATEMENT AGAINST A NAME

This is great thanks

"Ethoros" wrote:

=SUMPRODUCT((A1:A11="Name")*(B1:B11="Yes")*1)

Change the ranges as needed. Ranges must be equal on both criteria and you
can't just use columns

"Dave" wrote:

Hi, I have sheet with a list of 5 names in and another sheet with the same
names (about 5000) in total and yes or no recorded against each of these
names.

How do I count from the how many times yes is against a particular name?

Thanks

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,388
Default COUNT A YES STATEMENT AGAINST A NAME

This si great thanks

"Jacob Skaria" wrote:

Suppose you have the 5000 names in Sheet2 Name in ColA and Yes/No in ColB

In sheet1 you have the 5 names in A1:A5. In B1 enter the below formula and
copy that down to A5

A1 = name1
In B1
=SUMPRODUCT(--(Sheet2!$A$1:$A$5000=A1),--(Sheet2!$B$1:$B$5000="Yes"))

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


"Dave" wrote:

Hi, I have sheet with a list of 5 names in and another sheet with the same
names (about 5000) in total and yes or no recorded against each of these
names.

How do I count from the how many times yes is against a particular name?

Thanks

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
Count if statement frankb Excel Worksheet Functions 3 March 11th 09 12:28 PM
If & Count Statement Chris Excel Worksheet Functions 8 August 9th 08 11:21 PM
Count If Statement Using Dates Chris O''''Neill Excel Discussion (Misc queries) 1 August 1st 07 10:06 PM
Help with Count IF Statement [email protected] Excel Discussion (Misc queries) 3 November 3rd 05 09:02 AM
count if statement NYDIA Excel Discussion (Misc queries) 4 February 1st 05 09:30 PM


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

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"