Count IF

S

Steve Kay

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.
 
G

Guest

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.
 
F

Frank Kabel

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