Question about SumProduct Usage

rwmill9716

Active Member
Joined
May 20, 2006
Messages
493
Office Version
  1. 2013
Platform
  1. Windows
I have a list of years in Column A and a list of numbers in Column J. Z5 is a particular year and AA3 is a particular number. My goal is to count the number of times the numbers in J for a particular year exceeds or equals AA3. The following formula doesn't work.

=SUMPRODUCT(($A$5:$A$20000=$Z5)*($J$5:$J$20000>=AA$3))

Thanks,

ric
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
I created the column of years using the Year() function on a column of dates.
 
Upvote 0
I used this function to solve the problem: =SUMIFS($K$5:$K$20000,$A$5:$A$20000,"="&$Z6,$J$5:$J$20000,">="&AA4)

Col K was filled with 1s; Col A years; Cell Z6 a particular year; Col J a list of numbers; Cell AA4 a particular number.
 
Upvote 0

Forum statistics

Threads
1,214,885
Messages
6,122,085
Members
449,064
Latest member
MattDRT

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