#1   Report Post  
Steve Kay
 
Posts: n/a
Default Count IF

HI Everyone, Can you help.
Column A has several countries listed. Column B has Y
(for Yes) or N (for No). There are over 4000 lines.
How can I count the number of "Y" under one country? I
would like to be able to see the totals of "Y" for each
country.
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
I'd use a pivot table for this. See:
http://www.cpearson.com/excel/pivots.htm
http://peltiertech.com/Excel/Pivots/pivotstart.htm
http://www.contextures.com/xlPivot02.html
http://www.ozgrid.com/Excel/excel-pivot-tables.htm
http://www.techonthenet.com/excel/pivottbls/index.htm

--
Regards
Frank Kabel
Frankfurt, Germany

"Steve Kay" schrieb im
Newsbeitrag ...
HI Everyone, Can you help.
Column A has several countries listed. Column B has Y
(for Yes) or N (for No). There are over 4000 lines.
How can I count the number of "Y" under one country? I
would like to be able to see the totals of "Y" for each
country.


  #3   Report Post  
 
Posts: n/a
Default

Hi, Pivot will not be adequate. Its a worksheet which is
always being updated.. ie the numbers always change. I
was looking to put a formual at the bottom.



-----Original Message-----
HI Everyone, Can you help.
Column A has several countries listed. Column B has Y
(for Yes) or N (for No). There are over 4000 lines.
How can I count the number of "Y" under one country? I
would like to be able to see the totals of "Y" for each
country.
.

  #4   Report Post  
Dave R.
 
Posts: n/a
Default

try this;

=sumproduct(--(a1:a4000="africa"),--(b1:b4000="Y"))


wrote in message
...
Hi, Pivot will not be adequate. Its a worksheet which is
always being updated.. ie the numbers always change. I
was looking to put a formual at the bottom.



-----Original Message-----
HI Everyone, Can you help.
Column A has several countries listed. Column B has Y
(for Yes) or N (for No). There are over 4000 lines.
How can I count the number of "Y" under one country? I
would like to be able to see the totals of "Y" for each
country.
.



  #5   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
the use SUMPRODUCT. e.g.
=SUMPRODUCT(--(A1:A100="country_1"),--(B1:B100="Y"))

--
Regards
Frank Kabel
Frankfurt, Germany

schrieb im Newsbeitrag
...
Hi, Pivot will not be adequate. Its a worksheet which is
always being updated.. ie the numbers always change. I
was looking to put a formual at the bottom.



-----Original Message-----
HI Everyone, Can you help.
Column A has several countries listed. Column B has Y
(for Yes) or N (for No). There are over 4000 lines.
How can I count the number of "Y" under one country? I
would like to be able to see the totals of "Y" for each
country.
.




  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

The country of Africa? :-)

--
HTH

-------

Bob Phillips
"Dave R." wrote in message
...
try this;

=sumproduct(--(a1:a4000="africa"),--(b1:b4000="Y"))


wrote in message
...
Hi, Pivot will not be adequate. Its a worksheet which is
always being updated.. ie the numbers always change. I
was looking to put a formual at the bottom.



-----Original Message-----
HI Everyone, Can you help.
Column A has several countries listed. Column B has Y
(for Yes) or N (for No). There are over 4000 lines.
How can I count the number of "Y" under one country? I
would like to be able to see the totals of "Y" for each
country.
.





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
filter and count rexmann Excel Discussion (Misc queries) 2 November 30th 04 02:11 PM
Count occurences between dates DJ Dusty Excel Worksheet Functions 3 November 11th 04 12:25 AM
Count If Formula Mimi Excel Worksheet Functions 0 November 5th 04 11:55 AM
How can I use count function in excel where I have several criter. Princess V Excel Worksheet Functions 14 November 3rd 04 10:18 PM
count based on two fields - need quickly JO Excel Worksheet Functions 1 November 1st 04 09:44 PM


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