Solved

Sumproduct

Posted on 2014-10-02
7
94 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
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 49

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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
LVL 25

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 25

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 25

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

776 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