Growing range within a Sumproduct.

  • Thread starter mmartens12 via OfficeKB.com
  • Start date
M

mmartens12 via OfficeKB.com

I am keepting track of all the calls i get so the range changes daily. In A
is the date and column J is who took the call.

Is there any way to take this formula and have it refer to one place for the
range end as my table grows?

=SUMPRODUCT((MONTH(Data!$A$5:$A$670)=MONTH($A25))*(YEAR(Data!$A$5:$A$670)
=YEAR($A25))*(Data!$J$5:$J$670=C$18))

Thanks.
 
M

mmartens12 via OfficeKB.com

That is pretty slick! Thanks.

I followed the directions on that website you gave me and created some
dynamic ranges. My formulas work great with one dynamic range but gets a N/A
error when i put another range into the formula.

New
=SUMPRODUCT((MONTH(Dates)=MONTH($A19))*(YEAR(Dates)=YEAR($A19))*(Systems=O$18)
)

Old
=SUMPRODUCT((MONTH(Data!$A$5:$A$645)=MONTH($A20))*(YEAR(Data!$A$5:$A$645)
=YEAR($A20))*(Data!$E$5:$E$645=O$18))

Here is my Dynamic range
=OFFSET(Data!$E$4,1,0,COUNTA(Data!$E:$E),1)

The results:
New = N/A
old = right answer


What can i do?
 
M

mmartens12 via OfficeKB.com

That is pretty slick! Thanks.

I followed the directions on that website you gave me and created some
dynamic ranges. My formulas work great with one dynamic range but gets a N/A
error when i put another range into the formula.

New
=SUMPRODUCT((MONTH(Dates)=MONTH($A19))*(YEAR(Dates)=YEAR($A19))*(Systems=O$18)
)

Old
=SUMPRODUCT((MONTH(Data!$A$5:$A$645)=MONTH($A20))*(YEAR(Data!$A$5:$A$645)
=YEAR($A20))*(Data!$E$5:$E$645=O$18))

Here is my Dynamic range
=OFFSET(Data!$E$4,1,0,COUNTA(Data!$E:$E),1)

The results:
New = N/A
old = right answer


What can i do?
 
M

mmartens12 via OfficeKB.com

That is pretty slick! Thanks.

I followed the directions on that website you gave me and created some
dynamic ranges. My formulas work great with one dynamic range but gets a N/A
error when i put another range into the formula.

New
=SUMPRODUCT((MONTH(Dates)=MONTH($A19))*(YEAR(Dates)=YEAR($A19))*(Systems=O$18)
)

Old
=SUMPRODUCT((MONTH(Data!$A$5:$A$645)=MONTH($A20))*(YEAR(Data!$A$5:$A$645)
=YEAR($A20))*(Data!$E$5:$E$645=O$18))

Here is my Dynamic range
=OFFSET(Data!$E$4,1,0,COUNTA(Data!$E:$E),1)

The results:
New = N/A
old = right answer


What can i do?
 
M

mmartens12 via OfficeKB.com

That is pretty slick! Thanks.

I followed the directions on that website you gave me and created some
dynamic ranges. My formulas work great with one dynamic range but gets a N/A
error when i put another range into the formula.

New
=SUMPRODUCT((MONTH(Dates)=MONTH($A19))*(YEAR(Dates)=YEAR($A19))*(Systems=O$18)
)

Old
=SUMPRODUCT((MONTH(Data!$A$5:$A$645)=MONTH($A20))*(YEAR(Data!$A$5:$A$645)
=YEAR($A20))*(Data!$E$5:$E$645=O$18))

Here is my Dynamic range
=OFFSET(Data!$E$4,1,0,COUNTA(Data!$E:$E),1)

The results:
New = N/A
old = right answer


What can i do?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top