A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

count if question



 
 
Thread Tools Display Modes
  #1  
Old November 11th, 2008, 01:37 AM posted to microsoft.public.excel.worksheet.functions
gurmy77
external usenet poster
 
Posts: 2
Default count if question

I am trying to help out the office at work with this one but I seem to be
missing something. First off they are using excel 2003. I know the first
answer is pivot table but that seems over thier heads.

3 name1 yes
3 name2 no yes
4 name3 no no no
4 name4
5 name5 yes

Ok the numbers in the A column are a referance to what group these are in.
the names in "B" are indifferent and are there just for informational purposes
there are 3 "C" "D" "E" columns in which a "yes" "no" or nothing is entered
I need to referance group "3" and count how many yeses they have and so on
for each group.

I keep getting errors when doing countif statements. Another challenge is
that I haven't used 03 since 07 came out so I am a bit rusty on the functions
of 03. and there are 60+ groups with at least 10 in each group.
  #2  
Old November 11th, 2008, 02:24 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default count if question

Hi,

Try this. I am assuming that data below is in range A1:E5

SUMPRODUCT((A1:A5=3)*(C1:E5="yes"))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"gurmy77" wrote in message
...
I am trying to help out the office at work with this one but I seem to be
missing something. First off they are using excel 2003. I know the first
answer is pivot table but that seems over thier heads.

3 name1 yes
3 name2 no yes
4 name3 no no no
4 name4
5 name5 yes

Ok the numbers in the A column are a referance to what group these are in.
the names in "B" are indifferent and are there just for informational
purposes
there are 3 "C" "D" "E" columns in which a "yes" "no" or nothing is
entered
I need to referance group "3" and count how many yeses they have and so on
for each group.

I keep getting errors when doing countif statements. Another challenge is
that I haven't used 03 since 07 came out so I am a bit rusty on the
functions
of 03. and there are 60+ groups with at least 10 in each group.


  #3  
Old November 11th, 2008, 02:31 AM posted to microsoft.public.excel.worksheet.functions
gurmy77
external usenet poster
 
Posts: 2
Default count if question

That was it thank you. I must say in my years of working with 03 in my
accounting classes I never had to use sumproduct. Thank you again.

"Ashish Mathur" wrote:

Hi,

Try this. I am assuming that data below is in range A1:E5

SUMPRODUCT((A1:A5=3)*(C1:E5="yes"))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"gurmy77" wrote in message
...
I am trying to help out the office at work with this one but I seem to be
missing something. First off they are using excel 2003. I know the first
answer is pivot table but that seems over thier heads.

3 name1 yes
3 name2 no yes
4 name3 no no no
4 name4
5 name5 yes

Ok the numbers in the A column are a referance to what group these are in.
the names in "B" are indifferent and are there just for informational
purposes
there are 3 "C" "D" "E" columns in which a "yes" "no" or nothing is
entered
I need to referance group "3" and count how many yeses they have and so on
for each group.

I keep getting errors when doing countif statements. Another challenge is
that I haven't used 03 since 07 came out so I am a bit rusty on the
functions
of 03. and there are 60+ groups with at least 10 in each group.


  #4  
Old November 11th, 2008, 02:38 AM posted to microsoft.public.excel.worksheet.functions
Ashish Mathur[_2_]
external usenet poster
 
Posts: 1,764
Default count if question

Thank you for your feedback

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"gurmy77" wrote in message
...
That was it thank you. I must say in my years of working with 03 in my
accounting classes I never had to use sumproduct. Thank you again.

"Ashish Mathur" wrote:

Hi,

Try this. I am assuming that data below is in range A1:E5

SUMPRODUCT((A1:A5=3)*(C1:E5="yes"))

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"gurmy77" wrote in message
...
I am trying to help out the office at work with this one but I seem to
be
missing something. First off they are using excel 2003. I know the
first
answer is pivot table but that seems over thier heads.

3 name1 yes
3 name2 no yes
4 name3 no no no
4 name4
5 name5 yes

Ok the numbers in the A column are a referance to what group these are
in.
the names in "B" are indifferent and are there just for informational
purposes
there are 3 "C" "D" "E" columns in which a "yes" "no" or nothing is
entered
I need to referance group "3" and count how many yeses they have and so
on
for each group.

I keep getting errors when doing countif statements. Another challenge
is
that I haven't used 03 since 07 came out so I am a bit rusty on the
functions
of 03. and there are 60+ groups with at least 10 in each group.


 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.