sumproduct with date

kmlynn1010

Board Regular
Joined
Feb 8, 2005
Messages
95
Hello friends!

I can't figure out why this isn't working.

=SUMPRODUCT($N$9:$N$88<"10/1/04")*($E$9:$E$88="J Doe")

where I want it to count 1 and sum if the N cell is > 10/1/04 and the E cell has in it J Doe. When tested it doesn't pick it up. Does it have to do with the date? I've also tried to reference a cell in place of "10/1/04" but still no progress.

Any help is much appreciated! :unsure:
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
kmlynn1010 said:
Hello friends!

I can't figure out why this isn't working.

=SUMPRODUCT($N$9:$N$88<"10/1/04")*($E$9:$E$88="J Doe")

where I want it to count 1 and sum if the N cell is > 10/1/04 and the E cell has in it J Doe. When tested it doesn't pick it up. Does it have to do with the date? I've also tried to reference a cell in place of "10/1/04" but still no progress.

Any help is much appreciated! :unsure:

10/1/04 with double quotes around is text, not a number.

Try:

=SUMPRODUCT(--ISNUMBER($N$9:$N$88),--($N$9:$N$88 < "10/1/04"+0),--($E$9:$E$88="J Doe"))

Change < to > in accordance with your text description if correct.
 
Upvote 0
That makes sense with the quotes. However, even when I try:

=SUMPRODUCT($N$9:$N$88>W$6)*($N$9:$N$88<W$8)*($E$9:$E$88=U9)

it's notpicking it up. Thing is, I need to keep it simple. My co-workers don't get this stuff beyond the 4 basics, sum, sumif, countif, and if. So, it will be trashed if they can't get it. can we work with this above?
 
Upvote 0
Sorry, that didn't make any sense. Here is the formula:

=SUMPRODUCT($N$9:$N$88<$V$7)*($E$9:$E$88="U9")
 
Upvote 0
kmlynn1010 said:
That makes sense with the quotes. However, even when I try:

=SUMPRODUCT($N$9:$N$88 > W$6)*($N$9:$N$88 < W$8)*($E$9:$E$88=U9)

it's notpicking it up. Thing is, I need to keep it simple. My co-workers don't get this stuff beyond the 4 basics, sum, sumif, countif, and if. So, it will be trashed if they can't get it. can we work with this above?

And: What is the trouble?
 
Upvote 0
The formula simply will not recognize when it has met all the tests, and so, it is not producing a 1 or calculate what the result will be.
 
Upvote 0
kmlynn1010 said:
The formula simply will not recognize when it has met all the tests, and so, it is not producing a 1 or calculate what the result will be.

Could you just state what it returns and what you expect it to return?
 
Upvote 0
You need to change:

=SUMPRODUCT($N$9:$N$88<$V$7)*($E$9:$E$88="U9")

to:

=SUMPRODUCT(($N$9:$N$88<$V$7)*($E$9:$E$88="U9"))
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,861
Members
449,052
Latest member
Fuddy_Duddy

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