# sumproduct with date

#### kmlynn1010

##### Board Regular
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!

### Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
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!

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.

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?

Sorry, that didn't make any sense. Here is the formula:

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

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?

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.

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?

Do you get a #VALUE error? You're missing a pair of () in the formula.

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"))

Replies
2
Views
153
Replies
6
Views
95
Replies
1
Views
153
Replies
2
Views
132
Replies
1
Views
132

1,214,685
Messages
6,120,876
Members
448,993
Latest member
InquisitiveFrog

### 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.

### Which adblocker are you using?

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

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