Sum product not working properly

Taff

Board Regular
Joined
Mar 31, 2004
Messages
151
Office Version
  1. 365
Platform
  1. Windows
  2. Web
Guys,

any chance you could give me some pointers?

I have copied the below formula from another work book, where it worked fine.

However it keeps returning a #Div/0! error in my new work book.

=SUMPRODUCT((Data!$E$9:$E$4500=$B$3)*(Data!$I$9:$I$4500=F$17)*(Data!$N$9:$N$4500>$B18)*(Data!$N$9:$N$4500<=$C18))

Its driving me up the wall trying to figure out why.

There is info in the cells, the formula is pointing at the correct areas..... aaarrggghhhhhh

Appreciate any ideas.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Did you show the full formula?
The formula that you showed shows a count of the data that meets the criteria.
Try using Excel's Formula Evaluate to review the formula with a concise example.


Excel 2010
AB
122
Data
Cell Formulas
RangeFormula
A1=SUMPRODUCT((Data!$E$9:$E$4500=$B$3)*(Data!$I$9:$I$4500=F$17)*(Data!$N$9:$N$4500>$B18)*(Data!$N$9:$N$4500<=$C18))
B1=SUMPRODUCT(--(Data!$E$9:$E$4500=$B$3),--(Data!$I$9:$I$4500=F$17),--(Data!$N$9:$N$4500>$B18),--(Data!$N$9:$N$4500<=$C18))


It will help if you post a concise example of your challenge complete with expected result.
 
Last edited:
Upvote 0
I copied and pasted your formula into a blank sheet and left the name sheet1 and created a 2nd sheet named data and populated the three columns with data E,I, & N and on sheet one put data in the four other fields, I was never able to get a result other than 0 in your formula even using CTRL+SHIFT+ENTER but I never got a DIV/0 error make sure when you copy and paste you have sheets named properly and data is in the right cells / columns
 
Upvote 0
Sorted.

it was one simple multiplication error, in amongst 4500 lines.

I'm surprised you didn't hear the cheers across the globe from me.

Thanks for your suggestions.
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

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