sumproduct

mcarter973

Board Regular
Joined
Mar 24, 2002
Messages
83
i want to present data by quarters: R9 = 6/30/01 and Q9 = 3/31/01. what am i missing (or doing incorrectly)?

thanks.


=SUMPRODUCT((MONTH($C$9:$N$9)<=MONTH(R$9)>MONTH(Q$9))*$C11:$N11)
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
On 2002-04-09 10:36, mcarter973 wrote:
i want to present data by quarters: R9 = 6/30/01 and Q9 = 3/31/01. what am i missing (or doing incorrectly)?

thanks.


=SUMPRODUCT((MONTH($C$9:$N$9)<=MONTH(R$9)>MONTH(Q$9))*$C11:$N11)

Hi,

Try,

=SUMPRODUCT((MONTH($C$9:$N$9)<=MONTH(R$9))*(MONTH($C$9:$N$9)>MONTH(Q$9))*$C11:$N11)

You have to separate the >= and < tests into two distinct conditions.

Bye,
Jay
 
Upvote 0
{=SUM(IF(MONTH($C$9:$N$9)=MONTH($Q$9)+{1;2;3},$C$11:$N$11))}

Note: This is an array formula which must be entered using the Control+Shift+Enter key combination. The outermost braces, { }, are not entered by you -- they're supplied by Excel in recognition of a properly entered array formula.
 
Upvote 0

Forum statistics

Threads
1,215,048
Messages
6,122,862
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top