Datasets are too large for use - is there a smarter way to sumproduct?

Mark McInerney

Active Member
Joined
Apr 4, 2012
Messages
283
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have a large dataset. I need to use the sumproduct function to retrieve data from the dataset - namely if certain criteria are met on several columns on the x axis, and several criteria are met on the Y axis it will retrieve that value:

=SUMPRODUCT(('Daily Source'!$C$3:$ZZ$3='Daily Reformat'!$B$2)*('Daily Source'!$C$6:$ZZ$6='Daily Reformat'!$C$2)*('Daily Source'!$C$4:$ZZ$4='Daily Reformat'!$C$3)*('Daily Source'!$B$7:$B$2000='Daily Reformat'!B4),'Daily Source'!$C$7:$ZZ$2000)

It is taking forever for the formulas to run - is there a quicker, smarter way to achieve the same outcome? Could Index Match be used?

I need to check potentially 3 criteria on both axis and then return the value when all criteria are met.

Thanks - Mark.
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
If there’s only one column matching the first three criteria, I’d suggest putting that into a separate formula and referring to it in Index/match. A pivot table might also work; hard to be sure from what you’ve posted.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,242
Members
452,623
Latest member
russelllowellpercy

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