Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Tysone
 
Posts: n/a
Default Sumproduct Multiple Conditions

I understand how to do one condition, but I can't seem to find out how
to do two.

Here is what I have for my current formula (it's doing a weighted
average if you couldn't figure it out)

=SUMPRODUCT(--($E$2:$E$10001=11), $I$2:$I$10001,
$O$2:$O$10001)/SUMIF($E:$O,11,$O:$O)


What I need it to also do is recognize a second criteria. I need it
to somehow also do this:

$G$2:$G$10001=2

If there is a better way to do this so it will pick up 11 and 2, I'm
open for suggestions.


Thanks

Tyson
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
try:
=SUMPRODUCT(--($E$2:$E$10001=11),--($G$2:$G$10001=2
),$I$2:$I$10001,$O$2:$O$10001)/SUMIF($E:$O,11,$O:$O)


--
Regards
Frank Kabel
Frankfurt, Germany

"Tysone" schrieb im Newsbeitrag
om...
I understand how to do one condition, but I can't seem to find out

how
to do two.

Here is what I have for my current formula (it's doing a weighted
average if you couldn't figure it out)

=SUMPRODUCT(--($E$2:$E$10001=11), $I$2:$I$10001,
$O$2:$O$10001)/SUMIF($E:$O,11,$O:$O)


What I need it to also do is recognize a second criteria. I need it
to somehow also do this:

$G$2:$G$10001=2

If there is a better way to do this so it will pick up 11 and 2, I'm
open for suggestions.


Thanks

Tyson


  #3   Report Post  
Aladin Akyurek
 
Posts: n/a
Default


Just include the conditional term and, although it would work as is, set
up the ranges for SumIf in the same way as for SumProduct...

=SUMPRODUCT(--($E$2:$E$10001=11),--($G$2:$G$10001=2
),$I$2:$I$10001,$O$2:$O$10001)/SUMIF($E$2:$E$10001,11,$O$2:$O$10001)


Tysone Wrote:
I understand how to do one condition, but I can't seem to find out how
to do two.

Here is what I have for my current formula (it's doing a weighted
average if you couldn't figure it out)

=SUMPRODUCT(--($E$2:$E$10001=11), $I$2:$I$10001,
$O$2:$O$10001)/SUMIF($E:$O,11,$O:$O)


What I need it to also do is recognize a second criteria. I need it
to somehow also do this:

$G$2:$G$10001=2

If there is a better way to do this so it will pick up 11 and 2, I'm
open for suggestions.


Thanks

Tyson



--
Aladin Akyurek
------------------------------------------------------------------------
Aladin Akyurek's Profile: http://www.excelforum.com/member.php...fo&userid=4165
View this thread: http://www.excelforum.com/showthread...hreadid=276839

  #4   Report Post  
Tysone
 
Posts: n/a
Default

Thanks for the help... Got it to work.

T

Aladin Akyurek wrote in message ...
Just include the conditional term and, although it would work as is, set
up the ranges for SumIf in the same way as for SumProduct...

=SUMPRODUCT(--($E$2:$E$10001=11),--($G$2:$G$10001=2
),$I$2:$I$10001,$O$2:$O$10001)/SUMIF($E$2:$E$10001,11,$O$2:$O$10001)


Tysone Wrote:
I understand how to do one condition, but I can't seem to find out how
to do two.

Here is what I have for my current formula (it's doing a weighted
average if you couldn't figure it out)

=SUMPRODUCT(--($E$2:$E$10001=11), $I$2:$I$10001,
$O$2:$O$10001)/SUMIF($E:$O,11,$O:$O)


What I need it to also do is recognize a second criteria. I need it
to somehow also do this:

$G$2:$G$10001=2

If there is a better way to do this so it will pick up 11 and 2, I'm
open for suggestions.


Thanks

Tyson

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
XML / parent with multiple children and with multiple children Richard Excel Discussion (Misc queries) 0 January 5th 05 11:49 AM
COUNTIF using multiple conditions? Muse of Fire New Users to Excel 3 December 29th 04 08:49 PM
Sum(if ... multiple conditions ... Interpretation? Ken Excel Discussion (Misc queries) 6 December 16th 04 10:23 PM
Summarize data with multiple conditions OkieViking Excel Discussion (Misc queries) 1 December 16th 04 09:17 PM
Create a total based on multiple conditions is not giving correct. Jacob Excel Worksheet Functions 2 November 4th 04 04:07 AM


All times are GMT +1. The time now is 04:11 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"