Solved

Sumproduct Help

Posted on 2013-02-01
4
289 Views
Last Modified: 2013-02-01
Hello
Sumproduct Help Needed:
Sumproduct in cell G2 is returning 99. But I want it to return 143
Reason  - Add up 77 not 33 to the  I column value of g1 – how can that be possible?

If there is a SGNumNew, then ignore the corresponding value of SGNum from the sumproduct sum and add the SGNumNew to the sumproduct
sumup2.xlsx
0
Comment
Question by:Rayne
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 38845143
There are 3 g1's in column D, so should it be 99+77 = 176

with formula:

=SUMPRODUCT((INDEX(source,,1)=D2)*((INDEX(source,,6))+(INDEX(source,,7))))
0
 

Author Comment

by:Rayne
ID: 38845175
Hello NB_VC
Coditional Summ up – so if column J has a number : 0 or greater, then add it to the sum product and then subtract or remove the I value for the same row – its like overwrite – the column J value writes over the column I value  - makes sense? That’s why its should sum 143
0
 
LVL 23

Accepted Solution

by:
NBVC earned 500 total points
ID: 38845194
Ok, try:

=SUMPRODUCT((INDEX(source,,1)=D2)*((INDEX(source,,6))+(INDEX(source,,7))))-SUMPRODUCT((INDEX(source,,1)=D2)*(ISNUMBER(INDEX(source,,7))*(INDEX(source,,6))))
0
 

Author Comment

by:Rayne
ID: 38845269
Thanks NB_VC
works like a charm
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
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…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

770 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