View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default How to count for 3 columns

Try something like this:

=SUMPRODUCT(--(A2:A10="in"),--(B2:B10="Comp1"),--(D2:D10="/"))


--
Biff
Microsoft Excel MVP


"Mysa" wrote in message
...
Hi All,
I have this sheet:

Status Company Name Attendance
In Comp1 Jane /
In Comp1 Jack /
In Comp1 Peter D
Out Comp1 John
In Comp2 Peter /
...

I need count attendance "/" for status In and each company. Please can you
help?

Thanks,
Mysa