Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
Solved

# Sumproduct Help

Posted on 2013-02-01
Medium Priority
297 Views
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
Question by:Rayne
[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
• 2
• 2

LVL 23

Expert Comment

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

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

NBVC earned 2000 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

ID: 38845269
Thanks NB_VC
works like a charm
0

## Featured Post

Question has a verified solution.

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

My attempt to use PowerShell and other great resources found online to simplify the deployment of Office 365 ProPlus client components to any workstation that needs it, regardless of existing Office components that may be needing attention.
This article helps those who get the 0xc004d307 error when trying to rearm (reset the license) Office 2013 in a Virtual Desktop Infrastructure (VDI) and/or those trying to prep the master image for Microsoft Key Management (KMS) activation. (i.e.- C…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
###### Suggested Courses
Course of the Month8 days, 20 hours left to enroll