Count words in a date sheet

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.
 
T

T. Valko

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.
 
H

Help A.U.B.

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top