Thread: Countif rows
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
pinmaster pinmaster is offline
external usenet poster
 
Posts: 347
Default Countif rows

Hi

Try something like this:

=SUMPRODUCT((B1:E1="energy")*(B2:E5<""))

HTH
Jean-Guy

"Lauravila" wrote:

Hi,
I have the info in the following format:
Sector: Energy Energy Industrials Industrials Comm
1 2 10
11
4 10 6 7
8

Each column is a different company. For each row I would like to count how
many nonblanksmare in the Energy sector, then Industrial, etc. What do I need
to do?
Thank you,
Laura