"Ignore" formulas in hidden rows

henrik2h

Board Regular
Joined
Aug 25, 2008
Messages
155
Office Version
  1. 2021
Platform
  1. Windows
Hi
I have a fairly large sheet that contain cash flows on a monthly basis for 15 years (in columns).
Our chart of accounts have roughly 100 accounts and there are 10 division so 1000 rows. There are relatively simple if-statements in all cells which distribute cash flows, but apparently quite a few cells (12*15*1000).
Now the question, many of the accounts are regularly not used and also not all divisions so they can be hidden with a regular filter. However, the formulas still need to recalculate I guess, is there any chance of "turning off" the calculation for hidden cells? Or make the formula very efficient and stop when row is hidden?

VBA would be a last resort only.

Any ideas?
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Using a SUBTOTAL function as a part of your IF statements would help you out there, as opposed to SUM or using the traditional arithmetic symbols (+,-,*,/) Here is a link to the Microsoft Page that shows the different Function Numbers you would use as a part of your SUBTOTAL component, note the column that states "ignores hidden rows".

 
Upvote 0
Thank you for your reply. However, I am trying to speed up my spreadsheet which is rather slow. I can’t remove the formulas since I don’t know which accounts or divisions that will be used. But since often 50-75% of the formulas are not actually used I am looking for a way to either turn calculation off for these hidden cells or make an efficient formula that will evaluate very fast for the hidden cells. Subtotal has nothing to do with it.
 
Upvote 0

Forum statistics

Threads
1,215,529
Messages
6,125,343
Members
449,219
Latest member
Smiqer

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