Why not put the other date in A5 and test against that?
--
HTH
RP
(remove nothere from the email address if mailing direct)
"Dominique Feteau" wrote in message
...
i have a table that has column of dates and a column of names of forms.
heres the sumproduct function i'm using:
=SUMPRODUCT(--(Data!E$2:E$3850=A4-30),--(Data!E$2:E$3850<=A4),--(Data!F$2:F
$3850=B$3))
A4 = 12/31/04 (Date)
B3 = "POE-Cite" (Form)
only problem is that its not very accurate. instead of using "A4-30", is
there a way to use a specific range? i thought using an "AND" statement
would work, but it isnt.
thanks
|