Alternative to Sumproduct

Corleone

Well-known Member
Joined
Feb 2, 2003
Messages
841
Office Version
  1. 365
hi
I have a spread sheet which has a few thousand formulas similar to the one below causing the spreadsheet to take a while to calculate
whenever an entry is made
is there an alternative to the formula below - im using excel 2010


=SUMPRODUCT((ACTIVITIES!$C$2:$C$5000=$A7)*(ACTIVITIES!$N$2:$N$5000=CI$1))

Thanks
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Cheers Joe
I have just tried the countifs formula which works fine, however the calc duration is about the same
 
Upvote 0
Are you saying that you have a few thousand of these SUMPRODUCT or COUNTIF formulas?
That probably would tax the system.
So you have any VBA code running in the background too?

It sounds like you *may* possibly have a database-type environment (I don't know enough about your project to say for sure, but the fact you may be using thousands of formulas like that suggests that might be the case).
While you can use Excel for it, that really isn't what it was designed for, so performance may be slow and clunky. You may have better results using a database program like Access, SQL, or Oracle.
 
Upvote 0

Forum statistics

Threads
1,223,214
Messages
6,170,771
Members
452,353
Latest member
strainu

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