Thread: Count?
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Toppers Toppers is offline
external usenet poster
 
Posts: 4,339
Default Count?

=SUMPRODUCT(--(A2:A100)="M"),--(B2:B100="P"))

to give Male/Primary

Repeat as required to get M/S,F/P,F/S

HTH

"Traci B........" wrote:

I need to insert a function that will look at "m/f" (Male / Female) column
and "p/s" (Primary / Secondary) column and return me a count for the Male -
Primary; Male - Secondary; Female - Primary; Female - Secondary.

Any advise is greatly appreciated.

Thank you!