View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
ajay ajay is offline
external usenet poster
 
Posts: 43
Default sumproduct assistance pleas

Hello
Thankyou for your help I have replaced my formula with the one below and I
still get a 0 count in all depts which I know is wrong.

The formula I am using is
=SUMPRODUCT('Airlines Derby Dim and Inst
all'!$B$2:$B$2116=Summary!A2)*('Airlines Derby Dim and Inst
all'!$L$2:$L$2116<DATE(2009,6,17))

I have checked the format of the date column in the raw data sheet and that
is correct.

Any other ideas please?
Ajay

"Bernard Liengme" wrote:

1) Unless you have Excel 2007, SUMPRODUCT cannot use full column references
like B:B but needs something like B1:B2000

2) Excel will not understand the 17/6/2009 is a date but will compute 17
divided by 6 and then the result divided by 2009


Try
=SUMPRODUCT('Airlines Derby Dim and Inst
all'!B1:B2000=Summary!A2)*('Airlines Derby Dim and Inst
all'!L1:L2000<Date(2009,6,17)).


Tell us if you have luck with this
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email


"Ajay" wrote in message
...
Afternoon all
I have a table of raw data containing an inventory list by department, I
need to count the number of items in each dept which are out of date.

I tried =SUMPRODUCT('Airlines Derby Dim and Inst
all'!B:B=Summary!A2)*('Airlines Derby Dim and Inst all'!L:L<17/6/2009).

Column B is the listing of all dept numbers and Column L is the date
information.
The summary sheet lists all the unique det numbers in column A.

I need to provide a count by dept with items containing dates before today
(17th June). Hope that explains it
Thanks in advance
Ajay