W
Wim Ruepert
I am trying to do a count of a number of text entries that meet a certain
category.
Range A1:A10 consists of the text entires to count such as:
A1 = Ceasar Salad
A2 = Tomato Soup
A3 = Monkey Salad
etc
Range B1:B10 specifies to which Category the dish belongs:
B1 = Salad
B2 = Soup
B3 = Salad
etc
How do I count the number of Salads in Column A ??
Say that cell D1 contains the category that I want to count the dishes for
(in this case "Salad")
I tried the following array formula:
{=COUNTA((B1:B10=D1)*A1:A10)}
This however does not give me the correct result
Similarly, the following formula does not work
=COUNTA(IF(I15:I22=B8,H15:H22))
What am I doing wrong ?
Can anybody help ??
Thanks very much
Wim
category.
Range A1:A10 consists of the text entires to count such as:
A1 = Ceasar Salad
A2 = Tomato Soup
A3 = Monkey Salad
etc
Range B1:B10 specifies to which Category the dish belongs:
B1 = Salad
B2 = Soup
B3 = Salad
etc
How do I count the number of Salads in Column A ??
Say that cell D1 contains the category that I want to count the dishes for
(in this case "Salad")
I tried the following array formula:
{=COUNTA((B1:B10=D1)*A1:A10)}
This however does not give me the correct result
Similarly, the following formula does not work
=COUNTA(IF(I15:I22=B8,H15:H22))
What am I doing wrong ?
Can anybody help ??
Thanks very much
Wim