Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Using If with SumProduct help please!

I have a formula that gives me the average sales price for properties that
fall within a certain value. I would like to break it down further by
designating these same averages by state rather than just overall. Here is
my existing formula:

=(SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001),$D$2:$D$495)/SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001)))

I would like to add state criteria to this, such as all properties in CA.
How can I accomplish this?

I'd greatly appreciate any suggestions!!!
Thanks
Suzanne
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,533
Default Using If with SumProduct help please!

Hi

I assume that you have states in column A, so I just added another condition
in the Sumproduct formulas. "CA" can be substitutet with a cell reference:

=SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001),--($A$2:$A$495="CA"),$D$2:$D$495)/SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001),--($A$2:$A$495="CA"))

Regards,
Per

"SBecker" skrev i meddelelsen
...
I have a formula that gives me the average sales price for properties that
fall within a certain value. I would like to break it down further by
designating these same averages by state rather than just overall. Here
is
my existing formula:

=(SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001),$D$2:$D$495)/SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001)))

I would like to add state criteria to this, such as all properties in CA.
How can I accomplish this?

I'd greatly appreciate any suggestions!!!
Thanks
Suzanne


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10
Default Using If with SumProduct help please!

Per,

Thanks for your help, that works great.....

Suzanne

"Per Jessen" wrote:

Hi

I assume that you have states in column A, so I just added another condition
in the Sumproduct formulas. "CA" can be substitutet with a cell reference:

=SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001),--($A$2:$A$495="CA"),$D$2:$D$495)/SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001),--($A$2:$A$495="CA"))

Regards,
Per

"SBecker" skrev i meddelelsen
...
I have a formula that gives me the average sales price for properties that
fall within a certain value. I would like to break it down further by
designating these same averages by state rather than just overall. Here
is
my existing formula:

=(SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001),$D$2:$D$495)/SUMPRODUCT(--($E$2:$E$49550000),--($E$2:$E$495<75001)))

I would like to add state criteria to this, such as all properties in CA.
How can I accomplish this?

I'd greatly appreciate any suggestions!!!
Thanks
Suzanne


.

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 with Condition OR Sumproduct with ADDRESS function - HE gholly Excel Discussion (Misc queries) 2 September 28th 09 05:07 PM
Conditional SUMPRODUCT or SUMPRODUCT with Filters Ted M H Excel Worksheet Functions 4 August 14th 08 07:50 PM
SumProduct? JimG Excel Worksheet Functions 4 July 30th 08 09:01 AM
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
SUMPRODUCT Serge Excel Discussion (Misc queries) 1 April 10th 06 09:50 PM


All times are GMT +1. The time now is 05:40 PM.

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

About Us

"It's about Microsoft Excel"