SumProduct Alternative - Performance Issues

MTURKS83

New Member
Joined
Mar 17, 2019
Messages
2
Hi,

I quite often use SumProduct to perform calculations where I have multiple criteria in rows and at least 1 criteria in the columns, the formula may look like:
=SUMPRODUCT((Column1 = X)*(Column 2 = Y)*(Row1 = A)* (Data Set))

The number of rows in Column1/2 could be 5000 plus and the Row1 would normally be about 50 columns across

I find that this will make the workbook extremely slow and was hoping that something could provide an alternative formula that is not so calculation intensive

Thanks!
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
The way I do those sort of calculations is to use a "Helper" column, where you create an extra column with both "column" conditions in it, then you can use the IFS functions on the row. This will be much faster than sum product
 
Upvote 0
Thanks Offthelip. I'm not 100% sure how that would work when I am trying to retrieve a sum of values from a dataset based on both column and row criteria?

I'm thinking only SUMPRODUCT allows this calculation? Maybe the best idea is to reorganise the dataset so it is aggregated and a standard SUMIF can be performed?

Many thanks
 
Upvote 0

Forum statistics

Threads
1,213,482
Messages
6,113,915
Members
448,532
Latest member
9Kimo3

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