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:
 

Some videos you may like

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201
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.
 

kmlynn1010

Board Regular
Joined
Feb 8, 2005
Messages
95
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?
 

kmlynn1010

Board Regular
Joined
Feb 8, 2005
Messages
95
Sorry, that didn't make any sense. Here is the formula:

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

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201

ADVERTISEMENT

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?
 

kmlynn1010

Board Regular
Joined
Feb 8, 2005
Messages
95
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.
 

Aladin Akyurek

MrExcel MVP
Joined
Feb 14, 2002
Messages
85,201

ADVERTISEMENT

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?
 
L

Legacy 51064

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

Watch MrExcel Video

Forum statistics

Threads
1,123,389
Messages
5,601,387
Members
414,448
Latest member
Jessica 22664

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
Top