Sumproduct help!

Pondy43

New Member
Joined
Aug 23, 2016
Messages
5
=SUMPRODUCT((August!I:I="No notes added")*(August!J:J="John Smith"))
=SUMPRODUCT((August!I:I="Notes added")*(August!J:J="John Smith"))

Hello,

I am trying to implement this formula into my spread sheet. I have multiple names which I need to count 1 if notes have been added or not for stats.

The formula works fine for about four names. However when I copy and paste and change the name to add more it doesn't seem to work and just displays 0.:( Not a clue why it's not picking them up as it is working fine for the others.

I am not very technically advanced in Excel, so I would appreciate as much detail as possible.

Thanks in advance,

Jack:)
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Can you post one that DOESN'T work

FYI, it's best to NOT use entire column references like I:I in sumproduct
Instead, keep it restricted to your actual used area like I1:I1000

Also, try countifs instead of sumproduct.
=COUNTIFS(August!I:I,"No notes added",August!J:J,"John Smith")
 
Upvote 0
Try faster...

=COUNTIFS(August!$I:$I,"No notes added",August!$J:$J,$K2)

where K2 houses a name like John Smith.

And, following the same logic...

=COUNTIFS(August!$I:$I,"Notes added",August!$J:$J,$K2)
 
Upvote 0
The ones that I have posted do not work? I've added John Smith as a test and it doesn't pick them up. When I added the countif fomula it comes up with just 'FALSE'. I need the cell the reflect how many times John Smith hasn't added notes i.e 5.
 
Upvote 0
Aladin, I'm sorry I do not understand what you mean by the K2 part of the formula. Please could you explain.
 
Upvote 0
The ones that I have posted do not work?
Ok, sorry.
Then post one that DOES work.

Basically I'm trying to establish a baseline...What's different between the one that DOES work, and the one that Doesn't..
 
Upvote 0
Aladin, I'm sorry I do not understand what you mean by the K2 part of the formula. Please could you explain.
He's saying put John Smith in K2 (rather than hard coding "John Smith" in the formula)

i.e.
=COUNTIFS(August!$I:$I,"No notes added",August!$J:$J,"John Smith")
If K2 = John Smith, then could do this.
=COUNTIFS(August!$I:$I,"No notes added",August!$J:$J,$K2)
 
Upvote 0

Forum statistics

Threads
1,223,236
Messages
6,170,915
Members
452,366
Latest member
TePunaBloke

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