Dynamic named ranges and SumProduct function
Posted by tee on July 22, 2001 6:38 PM
Hi Everyone
I have the dynamic named range
VDate
=DB!$A$1:OFFSET(DB!$A$1,COUNTA(DB!$A:$A)-1,0)
VVis
=DB!$P$1:OFFSET(DB!$P$1,COUNTA(DB!$P:$P)-1,0)
I am using the SUMPRODUCT to count the types.
=SUMPRODUCT((MONTH(VISDate)=1)*(VVis="Magistrate"))
Now I am using a dymanic named range and have this error
#VALUE!
Any suggestion on how to fix it or is the SumProduct function not able to be used with dynamic ranges.
Many thanks in advance
Tee