Substitute for Sumproduct

trone77

Board Regular
Joined
Dec 28, 2009
Messages
152
Office Version
  1. 2019
Platform
  1. Windows
Needing to replace the formulas I have with my workbook due to slow calculation and saving times, I was wondering if I could use for instance COUNTIFS instead of the SUMPRODUCT without the use of an array formula. The formula I'm looking to replace is listed below:

=SUMPRODUCT(('[AY.xlsx]1998-2015'!$X$1:$X$8766=$K5)+('[AY.xlsx]1998-2015'!$X$1:$X$8766=$L5),--('[AY.xlsx]1998-2015'!$B$1:$B$8766=N$2),--('[AY.xlsx]1998-2015'!$W$1:$W$8766=$J5),--('[AY.xlsx]1998-2015'!$Y$1:$Y$8766=N$3))
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
What about just using SUM()?

Is your workbook AY.xlsxor is this one you are just grabbing data from?
 
Upvote 0
The options available to you could depend on your Excel version(s). I suggest that you update your Account details (click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0

Forum statistics

Threads
1,214,588
Messages
6,120,409
Members
448,959
Latest member
camelliaCase

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