Help with SUMPRODUCT

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'd like to calcluate a range based on 3 different conditions:

Area="Northeast"
Closed Month="OCT","NOV","DEC"
Sales Stage="02 - Qualified"
Range to calculate: Total Sales (times 25%)

The formula I used is this:

=SUMPRODUCT((A13:A68="US-Northeast")*(I13:I68,{"OCT","NOV","DEC"})*(K13:K68="02 - Qualified")*((F13:F68)*.25))

Yet it's giving me an error. The thing that is raising my eyebrow on it is,
when the formula is getting written, you can see the ranges selected in the
color-coded boxes, but only two ranges seem to be selected: "Area" and "Close
Month". "Sales Stage" and "Total Revenue" are not selected for some reason.

Any ideas?
 
Try

=SUMPRODUCT((A13:A68="US-Northeast")*(I13:I68="OCT","NOV","DEC"})*(K13:K68="
02 - Qualified"),F13:F68))*.25


--
HTH

Bob Phillips

FrankTimJr said:
I'd like to calcluate a range based on 3 different conditions:

Area="Northeast"
Closed Month="OCT","NOV","DEC"
Sales Stage="02 - Qualified"
Range to calculate: Total Sales (times 25%)

The formula I used is this:
=SUMPRODUCT((A13:A68="US-Northeast")*(I13:I68,{"OCT","NOV","DEC"})*(K13:K68=
"02 - Qualified")*((F13:F68)*.25))
 
Try...

=SUMPRODUCT(--(A13:A68="US-Northeast"),--(ISNUMBER(MATCH(I13:I68,{"OCT","
NOV","DEC"},0))),--(K13:K68="02 - Qualified"),F13:F68*0.25)

Hope this helps!
 
No good. I had to modifiy what you typed just a tad..in
....(I13:I68="OCT,"NOV","DEC}, shouldn't it be (I13:I68,{"OCT,"NOV","DEC})...?

Now it looks like this:
SUMPRODUCT((A13:A68="US-Northeast")*(I13:I68,{"OCT","NOV","DEC"})*(K13:K68="02 - Qualified"),(F13:F68))*0.25

But still no dice. Is the SUMPRODUCT limited to only 2 conditions, then
suming the values? I can get it to work easily if I had only the two
conditions, but now that I have three, that's when it stopped working.
 

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

Back
Top