"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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,029
Messages
6,122,755
Members
449,094
Latest member
dsharae57

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