Solved

Sumproduct

Posted on 2014-10-02
7
96 Views
Last Modified: 2014-10-02
Hi,

In sheet 1 i have two sumproducts not doing what i would hope they would do, i have highlighted in red the incoprrect answers and in green, what they should be, i know this will be a silly syntax error!

Thanks
EE.xlsx
0
Comment
Question by:Seamus2626
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 24

Assisted Solution

by:Phillip Burton
Phillip Burton earned 250 total points
ID: 40356878
=SUMPRODUCT(--(Data!I:I="ASP"),--(((Data!BH:BH="90-100%")+(Data!BH:BH="80-90%"))*(Data!N:N="GBM")),Data!R:R)

Open in new window

0
 
LVL 24

Accepted Solution

by:
Phillip Burton earned 250 total points
ID: 40356880
At the moment, you are adding "90-100%" to "GBM", which makes 1+1=2; so you are getting twice the amount.
If you multiply it, then you will get 1*1=1.
0
 
LVL 50

Assisted Solution

by:Rgonzo1971
Rgonzo1971 earned 125 total points
ID: 40356891
Hi,
pls try

in E13
=SUMPRODUCT(--(Data!I:I="ASP"),--(Data!BH:BH="90-100%")+(Data!BH:BH="80-90%"),--(Data!N:N="GBM"),Data!R:R)
in F13
=SUMPRODUCT(--(Data!I:I="ASP"),--(Data!BH:BH="90-100%")+(Data!BH:BH="80-90%"),--(Data!N:N="CMB"),Data!R:R)

The result will be 2.41 the 30 something is in 60-70% range

Regards
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 26

Expert Comment

by:ProfessorJimJam
ID: 40356908
here you go

put this in the red GBM

=SUMPRODUCT(Data!R:R,--ISNUMBER(MATCH(Data!I:I,{"ASP"},0)),--ISNUMBER(MATCH(Data!BH:BH,{"90-100%","80-90%"},0)),--ISNUMBER(MATCH(Data!N:N,{"GBM"},0)))
0
 
LVL 26

Expert Comment

by:ProfessorJimJam
ID: 40356913
and for CMB put this formula =SUMPRODUCT(Data!R:R,--ISNUMBER(MATCH(Data!I:I,{"ASP"},0)),--ISNUMBER(MATCH(Data!BH:BH,{"90-100%","60-70%"},0)),--ISNUMBER(MATCH(Data!N:N,{"CMB"},0)))
0
 
LVL 26

Assisted Solution

by:ProfessorJimJam
ProfessorJimJam earned 125 total points
ID: 40356919
check both formulas in the attached file. ready for you.
EE.xlsx
0
 

Author Closing Comment

by:Seamus2626
ID: 40356941
Thanks guys!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question