SUMPRODUCT with Date Condition returns #value

TMCINNIS

New Member
Joined
Aug 26, 2015
Messages
29
Okay, So I am in my over my head again. I have the formula below that is returning a #value error. The part in red is the new condition I added. I thought I had it right.

=SUMPRODUCT(('RAW DATA - PAGE CATEGORIES'!$A$2:$C$1048576=10/31/2014)*
('RAW DATA - PAGE CATEGORIES'!$C$2:$C$1048576="MICROSITEABC")*
(MMULT(0+ISNUMBER(SEARCH({"BILL","BILLING"},'RAW DATA - PAGE CATEGORIES'!$E$2:$E$1048576)),{1;1})>0),'RAW DATA - PAGE CATEGORIES'!$G$2:$G$1048576)

The original formula below is the one that worked fine before:

=SUMPRODUCT(('RAW DATA - PAGE CATEGORIES'!$C$2:$C$1048576="AUSTIN ENERGY")*(MMULT(0+ISNUMBER(SEARCH({"BILL","BILLING"},'RAW DATA - PAGE CATEGORIES'!$E$2:$E$1048576)),{1;1})>0),'RAW DATA - PAGE CATEGORIES'!$G$2:$G$1048576)

What I did was to add an additional date condition as a filter. This is when it broke. I am stretching my wings here and appreciate your help.
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Try putting ther date in quotes "10/31/2014"
or use the DATE() function
(teh way you have it, it is trying to find etheanswerr of 10 div 31 div 2014 (0.000160169)
 
Upvote 0
I did try the "" with the same results. I will try the Date() when I get to a computer. Other than that is the formula correct as written? Thanks.
 
Upvote 0
FDibbins,
So, I was able to get it to work by pointing it to a cell with the date in it as compared to hard coding a date in the formula. I do have another question. How do I convert the =SUMPRODUCT formula to a formula using the same filtered conditions but gives me the average of all the items instead of the sum?

=SUMPRODUCT(('RAW DATA - PAGE CATEGORIES'!$A$2:$A$25000>=$B$295)*
('RAW DATA - PAGE CATEGORIES'!$E$2:$E$25000="AUSTIN ENERGY")*
(MMULT(0+ISNUMBER(SEARCH({"BILL","BILLING"},
'RAW DATA - PAGE CATEGORIES'!$J$2:$J$25000)),{1;1})>0),
'RAW DATA - PAGE CATEGORIES'!$K$2:$K$25000)
 
Upvote 0

Forum statistics

Threads
1,215,039
Messages
6,122,799
Members
449,095
Latest member
m_smith_solihull

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