View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Count words in a date sheet

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.

--
Biff
Microsoft Excel MVP


"Help AUB" <Help wrote in message
...
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.