how to reduce sheet calculation time period

faizee

Board Regular
Joined
Jan 28, 2009
Messages
213
Office Version
  1. 2016
Platform
  1. Windows
Dear Sir,
Can anyone help in reducing calculation of the sheet.
i have following formulas with quantities
270 times ---------> =SUMPRODUCT(('raw data'!I4:I4116=$B3(('raw data'!I4:I4116=MONTH(N$2)&YEAR(N$2))*'raw data'!R4:R4116)

9 times ----------> =DSUM('raw data'!J3:T4117,'raw data'!O3,'manual entries'!N2:O8)

3 tmes ------------> =SUMIFS(amount_wo_taxes,products,"*design*",month_year,MONTH(C3)&YEAR(C3))

128 times -------> =SUM(((('raw data'!I4:I4116=$B3)*((('raw data'!I4:I4116=0)*(days<=15)*(status="B")*amount_w_tax)

and many vlookups.
 
right now I have only 4100 rows. but it increase every day.. my sheet is taking long.. please help me in reducing its calculation time..
Regards,
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
If you're using XL2007 (as implied by SUMIFS) you should be using SUMIFS instead of SUMPRODUCT & SUM Arrays* whenever/wherever possible as it is significantly more efficient.

*assumes named ranges days, status and amount_w_tax are 1x4113 in terms of their dimension

Your SUMPRODUCT does not make a great deal of sense - it appears you are conducting two tests aginst I4:I4116, why is that ?
 
Upvote 0
correct formula is
=SUMPRODUCT(('raw data'!I4:I4116=$B3(('raw data'!t4:t4116=MONTH(N$2)&YEAR(N$2))*'raw data'!R4:R4116)
 
Upvote 0
You should find you can revert the SUMPRODUCT to:

=SUMIFS('raw data'!R4:R4116,'raw data'!I4:I4116,$B3,'raw data'!t4:t4116,MONTH(N$2)&YEAR(N$2))

which would be more efficient
 
Upvote 0

Forum statistics

Threads
1,214,889
Messages
6,122,097
Members
449,065
Latest member
albertocarrillom

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