Sumproduct with criteria

sharky12345

Well-known Member
Joined
Aug 5, 2010
Messages
3,373
Office Version
  1. 2016
Platform
  1. Windows
I'm using this to count values, (using Excel 2003);

=SUMPRODUCT(--(B34:B5000=B7),--(C34:C5000=Correspondence!A8))

How can I add a criteria? I want it to count as above but only if the item has the value of X10 in column M.
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.

Vidar

Well-known Member
Joined
Jul 19, 2012
Messages
1,254
I'm using this to count values, (using Excel 2003);



How can I add a criteria? I want it to count as above but only if the item has the value of X10 in column M.

Maybe (not tested):
=SUMPRODUCT(--(B34:B5000=B7),--(C34:C5000=Correspondence!A8),--(M34:M5000="X10"))
 
Upvote 0

Forum statistics

Threads
1,191,183
Messages
5,985,172
Members
439,944
Latest member
Vangelis74

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