Improving calculation times

Johnny C

Well-known Member
Joined
Nov 7, 2006
Messages
1,069
Office Version
  1. 365
Platform
  1. Windows
I've got a big forecast model, which takes about 5 secs to calculate.

There's a lot of formulae that do SUMIFS with 4-5 parameters and I want to make it more visible what it's doing so other people can use it.

is there much difference in referencing the ranges directly, or using dynamic formulae? Is the named range calculated every time it's referenced or does Excel cache the resulting range the first time?
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
instead of having formulas at all, consider having VBA make the defined names

such as
range("A2:A50").name = "Codes"
or more complex (on LHS) as required

or if the data is in a table with headers in row 1, an option to consider is using (SQL type) queries instead of formulas.
 
Upvote 0
Unfortunately the rules in this place are 'No macros in models', all models have to pass a FAST test. They had a bad experience with a contractor who built stuff in VBA which no-one else could understand and left.

I'm a contractor so the model has to be understandable by a team with very limited Excel skills when I leave, I'm slowly introducing them to dynamic ranges and tables but it's going to take a long time, most can do VLOOKUP but INDEX/MATCH is considered advanced Excel wizardry.
 
Upvote 0
I suspect SUM is the usual limit of many users.
VLOOKUP is considered advanced by many people.
 
Upvote 0

Forum statistics

Threads
1,214,833
Messages
6,121,868
Members
449,054
Latest member
juliecooper255

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