Calculation bottleneck in a large financial model

lynnsong986

Board Regular
Joined
May 24, 2014
Messages
146
I built a fairly large and complicated financial model for valuation purpose, I’m now concerned with calculation speed. A couple of questions:

Does table slows down calculation a lot?
My data is kept in tables so that other formula referring to the data will auto update when adding deleting records

Is there a sub I could use to identify the slowest calculating sheet/formula so I can modify those to make it run faster

I’ve followed rules such as using intermediate columns (breaking up long formulae), avoiding volatile functions, use faster functions such as index/match, sumifs...

Any suggestions??
Thanks in advance
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
My understanding is that using ExcelTables speeds up calculation.

Not all volatile functions slow things down. In fact, I learned the other day that, in my particular application at least, using function OFFSET was far quicker than using an expanding range - my calculation speed across 44000 rows went from over 20 minutes to under 1 minute. So try to reduce the number of expanding ranges.

I know that Excel365 Insider has a new calculation engine. Testimony from users is that large workbooks are considerably faster now. Perhaps updating your software might solve all your sluggishness. This would be especially true if you are using large or complex array formulas. Also, there are new, immensely powerful functions now (e.g., FILTER, UNIQUE and SORT) that might substitute for some of your more complex formulas.

https://blog-insider.office.com/2019/06/13/dynamic-arrays-and-new-functions-in-excel/
 
Last edited:
Upvote 0
You're welcome. Come back and report on your outcomes.

I neglected to respond to your other enquiry. I don't know about any subroutines that identify formula speed. But I do know this procedure will help. Save a sacrificial copy of your workbook as another filename. Choose a formula that is under you suspicion, which is probably an entire column. Select and Copy every cell that contains the formula and Paste them back into the same cells as Values. Try forcing the rest of the workbook model to recalc by altering another input somewhere. See if it's any quicker. If there is an improvement, you've gathered some knowledge. Try the same procedure on other suspects. This might help narrow down the sluggishness to the culprits.

Bon chance!
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,072
Latest member
DW Draft

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