Hi!
So the sum would only be up to and including the date in CY2.
What do you mean by "up to and including" ?
That implies a date range (start date to end date) but you don't mention
what the start date is. You just mention cell CY2.
Here's the formula written to = CY2:
=SUMPRODUCT(--(MOD(COLUMN($F5:$CO5),3)=0),--(F3:CO3=CY2),$F5:$CO5)
If you have a date range:
CY1 = start date
CY2 = end date
=SUMPRODUCT(--(MOD(COLUMN($F5:$CO5),3)=0),--(F3:CO3=CY1),--(F3:CO3<=CY2),$F5:$CO5)
Biff
"edwardpestian"
wrote in message
news:edwardpestian.2aej8n_1151984403.7471@excelfor um-nospam.com...
I need to add to the following SUMPRODUCT formula.
=SUMPRODUCT(--(MOD(COLUMN($F5:$CO5),3)=0),$F5:$CO5)
This formula basically sums every 3rd column in the range F5:CO5. I
need it to sum every 3rd column in the range, only based on the date in
cell CY2. The date range is F3:CO3. The date range is the 3 columns
merged together however.
So the sum would only be up to and including the date in CY2.
Thanks.
ep
--
edwardpestian
------------------------------------------------------------------------
edwardpestian's Profile:
http://www.excelforum.com/member.php...o&userid=33809
View this thread: http://www.excelforum.com/showthread...hreadid=557980