SUMPRODUCT does not equal

Newport Count

Active Member
Joined
Oct 25, 2009
Messages
328
Hi, i have a few formula for SUMPRODUCT that i gained from this site

all of them are eg ="order" but how do i use this formula to count all values that are not "order" - i.e. does not equal "order"

i have tried a couple of variations but dont seem to get anywhere! im sure this will be a simple solution too!

Thanks for all your help!

Rich :cool:
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Hi, i have a few formula for SUMPRODUCT that i gained from this site

all of them are eg ="order" but how do i use this formula to count all values that are not "order" - i.e. does not equal "order"

i have tried a couple of variations but dont seem to get anywhere! im sure this will be a simple solution too!

Thanks for all your help!

Rich :cool:

<>"Order"

If this not help, try to post the formula you have.
 
Upvote 0
Thanks both, yes i did try that one but i think because of the rest of the formula it isnt working - formula as follows:

=IF(H$2='Sheet 1'!$A$2,SUMPRODUCT(--('Sheet 1'!$L$11:$L$10000="Order"),--('Sheet 1'!$E$11:$E$10000="Pricing Block"),--('Sheet 1'!$K$11:$K$10000="Fully delivered")),"")

this is the original formula...but in column K the values can be "Fully delivered" or "Not delivered" or "Partially delivered"

currently it is only counting "Fully delivered" but i require the formula to also count "Partially delivered" also

Thanks again!
 
Upvote 0
Thanks both, yes i did try that one but i think because of the rest of the formula it isnt working - formula as follows:

=IF(H$2='Sheet 1'!$A$2,SUMPRODUCT(--('Sheet 1'!$L$11:$L$10000="Order"),--('Sheet 1'!$E$11:$E$10000="Pricing Block"),--('Sheet 1'!$K$11:$K$10000="Fully delivered")),"")

this is the original formula...but in column K the values can be "Fully delivered" or "Not delivered" or "Partially delivered"

currently it is only counting "Fully delivered" but i require the formula to also count "Partially delivered" also

Thanks again!
Try...
Code:
=IF(H$2='Sheet 1'!$A$2,
   SUMPRODUCT(
     --('Sheet 1'!$L$11:$L$10000="Order"),
     --('Sheet 1'!$E$11:$E$10000="Pricing Block"),
     --ISNUMBER(MATCH('Sheet 1'!$K$11:$K$10000,
         {"Fully delivered","Partially delivered"},0))),
   "")
 
Upvote 0
Yes - works perfectly thanks

but will it work if there are only "Fully delivered" or only "Partially delivered" in the column

or does it onyl work with both?

actually i can test this myself - will get back to you if any problems

Thanks :biggrin:
 
Upvote 0

Forum statistics

Threads
1,225,107
Messages
6,182,857
Members
453,137
Latest member
pelkbc5172

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top