#1   Report Post  
FrankTimJr
 
Posts: n/a
Default Help with SUMPRODUCT

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?
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Try

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


--
HTH

Bob Phillips

"FrankTimJr" wrote in message
...
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?



  #3   Report Post  
Domenic
 
Posts: n/a
Default

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!

In article ,
"FrankTimJr" wrote:

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 ="0
2 - 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?

  #4   Report Post  
FrankTimJr
 
Posts: n/a
Default

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.

"Bob Phillips" wrote:

Try

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


--
HTH

Bob Phillips

"FrankTimJr" wrote in message
...
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?




  #5   Report Post  
FrankTimJr
 
Posts: n/a
Default

That worked perfectly. I wish I could understand it however.

"Domenic" wrote:

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!

In article ,
"FrankTimJr" wrote:

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 ="0
2 - 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?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sumproduct Peter B Excel Worksheet Functions 1 March 7th 05 01:59 PM
sumproduct causing memory errors? dave Excel Worksheet Functions 1 March 3rd 05 09:31 AM
Can I reference =, <, or > sign in SUMPRODUCT BobT Excel Discussion (Misc queries) 7 February 16th 05 01:58 PM
Sumproduct function not working Scott Summerlin Excel Worksheet Functions 12 December 4th 04 05:15 AM
adding two sumproduct formulas together ski2004_2005 Excel Worksheet Functions 1 November 12th 04 09:08 PM


All times are GMT +1. The time now is 01:10 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"