Sumproducts or not?

xxsalahxx

Active Member
Joined
Jun 25, 2011
Messages
316
Office Version
  1. 2007
Hello
Im trying to use a sumproduct to add 0 (zeros) or if the cell is left blank based on dates.
My dates are in column B and my codes i need to pick up are in column E so if column E has a 0 (zero) value or the cell is left blank I need to count this in my analysis.
Doies anyone have any ideas im trying to use the formula below but its only counting the Zeros nad missing counting the blank cells.

=SUMPRODUCT((((DATA!$B$2:$B$10000>=ANALYSIS!A4)*(DATA!$B$2:$B$10000<=ANALYSIS!B4)*(DATA!$E$2:$E$10000=0)*(DATA!$E$2:$E$10000<>""))))

Thank you in advance, any help is appreciated
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Your last condition is explicitly excluding blank/empty cells.
Excel Formula:
DATA!$E$2:$E$10000<>""))
Remove that last condition if you want to count them.
 
Upvote 0
Solution
You are welcome.
Glad I was able to help.
 
Upvote 0

Forum statistics

Threads
1,214,787
Messages
6,121,565
Members
449,038
Latest member
Guest1337

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