• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Help With Sumproduct and multiple criteria. (Solved)

rsd007

Member
Hello,

I am trying to work with Sumproduct formula with multiple criteria but is not working can someone help me with this.
i am trying to calculate total value of each product with some color good and imperfect separate.
Thanks
 

Attachments

  • Sumproduct.xlsx
    12.3 KB · Views: 9
Last edited:
Hello,
Thanks for quick reply, Problem is it should only multiply and add only White and Grey items and rest should be zero.

82258
 
Last edited:
Try to add an If function as in:

F2 formula copied down:

=IF(SUMPRODUCT((A2="White")+(A2="Grey")),SUMPRODUCT((($A$2:A2="White")+($A$2:A2="Grey"))*($B$2:B2=B2)*$D$2:D2*ABS($E$2:E2)),0)

82265
 

Attachments

  • Sumproduct(BY).xlsx
    13.2 KB · Views: 9
Then, try this:

=IF((A2="White")+(A2="Grey"),SUMPRODUCT((($A$2:A2="White")+($A$2:A2="Grey"))*($B$2:B2=B2)*$D$2:D2*ABS($E$2:E2)),"")
 
Hello,

New problem found some time formula work some time I get only #Value ( have tried all suggestion but get same result )
 

Attachments

  • Sumproduct (1) also try.xlsx
    25.8 KB · Views: 7
Hi,

Work on this sheet when try to run on main sheet dose not work will get Cell on line 8 as blank which is correct but rest is #VALUE
 
Back
Top