Count words in a date sheet

  • Thread starter Thread starter Help AUB
  • Start date Start date
H

Help AUB

Hi,

Am using Excel 2007 and have a date sheet and a summery sheet, e.g.
Date Sheet:
A B
1 01/01/09 Apples
2 01/01/09 Oranges
3 02/01/09 Apples
4 02/01/09 Apples

Summery Sheet:
A B C
1 01/01/09 02/01/09
2 Apples =??? (1) =??? (2)
3 Oranges =??? (1) =??? (0)

How can I make =??? work?

Thx in Adv.
Alex.
 
Try this:

Entered on Summary sheet cell B2:

=SUMPRODUCT(--(Sheet1!$A$1:$A$4=B$1),--(Sheet1!$B$1:$B$4=$A2))

Copy across then down as needed.
 
Thx m8, it works great.

T. Valko said:
Try this:

Entered on Summary sheet cell B2:

=SUMPRODUCT(--(Sheet1!$A$1:$A$4=B$1),--(Sheet1!$B$1:$B$4=$A2))

Copy across then down as needed.
 
Back
Top