Sumproduct issue

nileshbhoyrub

New Member
Joined
Sep 10, 2018
Messages
3
Hello,

Can someone help me with same...

I am using Sumproduct funtion which is as follows:

=SUMPRODUCT((F5:F19)*(E5:E19))/SUM(E5:E19)

It uses values from two colums (one is the weight and the other the values 0 and 1)

the formula work fine except if the Values column is BLANK.

How can I use the formula for it to omit the cells when it is blank ?

Thanks or your help.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
The formula should calculate the compliance on an auditing sheet.
Weight Values
1 1
1 1
2 0
1
2 1
1 0


Compliance =SUMPRODUCT((F5:F19)*(E5:E19),--(F5:F19<>""))/SUMPRODUCT(E5:E19,--(F5:F19<>""))


Now the formula should only take into consideration the cells which contain the values 1 and 0.



If the cells values are empty, it should not decrease the compliance.

Help again for your help.
 
Upvote 0
Hello Eric,

You were right, I made a mistake in doing the tests.

Sorry for that, Thanks again for your Precious Help.

Regards
Nilesh
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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