View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Lotta Lotta is offline
external usenet poster
 
Posts: 7
Default Counting with multible conditions in a table

Hi,
After several hours of trials and no success I urgently need help.

I have the following table:

col1 Jan Feb march .............
a n x x
b x x
a x x n
d x x y
b y n n
..
..

I want to do the following list:

A1 = The number of all x and n in column Jan matching col1 = a (i.e. 2)
A2 = The number of all x and n in column Jan matching col1 = b (i.e. 1)

I cannot get COUNTIF or SUMPRODUCT to work.

BR /lotta