Excel Processing Speed issue

wilfrid147

New Member
Joined
Jul 17, 2015
Messages
14
Hi all,

I have a 7.1MB Excel file which purely uses excel formulae and graphs (no macros) and the processing speed of the file is horrendous and it doesn't seem to finish processing(ever). I would like to know what are the possible issues that may be causing this?

My file mainly uses index, match, offset, small, large functions. The only reason I can think of that may be causing this issue is that my index match function usually refers to entire columns i.e R:R rather than R1:R100. However, I'm guessing Excel would stop after it finds the first correct value rather than going through the entire column.

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
Well technically INDEX() and OFFSET() are volatile functions. This means they recalculate whenever a change is made, even if the change does not affect the formula. (say your Index/Offset uses cell A1 and not A2; if you change A2, Index/Offset will recalculate anyway). So this might account for some of the sluggishness (see here for more Handle Volatile Functions like they are dynamite | Chandoo.org - Learn Microsoft Excel Online).
It is a very good idea to not use entire columns but use more exact ranges, as you suggest. If you think you might add to the ranges, you can use Tables so any addition is taken into account in all formulas.
Additionally, conditional formatting and different formats in cells might slow everything down. SUMPRODUCT, SUMIFS and array formulas might also slow everything down so see if you can replace them with simpler functions.
You can also make sure that all available processors are being used in File->Options->Advanced, under Formulas. (How to Change the Automatic Calculation and Multi-Threading Features in Excel 2013)
You could also try saving the file as xlsb as opposed to xlsx. This reduces the file size without any negative effects. It even supports macros if you ever want to add those.
As a last resort (and I would be very careful when doing this), you can change to Manual Calculation as opposed to Automatic. However, this means you have to manually refresh all the formulas since they will not update after a change, even if it would normally impact the formula. Fixing bloated file size and slow calculation in Excel | Chandoo.org - Learn Microsoft Excel Online
I've used some of the tips from here as well: 75 Excel Speeding up Tips - How to speed-up & optimize slow Excel workbooks? | Chandoo.org - Learn Microsoft Excel Online. You can search Google for other solutions.
Alex
 
Upvote 0
INDEX is not volatile. It is semi-volatile (only volatile immediately on opening the workbook) only if it's used on either side of a : range operator (for example A1:INDEX(A:A,10) but otherwise it is not volatile at all.

What are the SMALL and LARGE functions doing - are they used in array formulas?
 
Upvote 0

Forum statistics

Threads
1,216,000
Messages
6,128,202
Members
449,433
Latest member
mwegter95

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