Indirect function is making excel file very slow.

MandeepBajimaya

New Member
Joined
Jun 2, 2021
Messages
20
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I have an excel file which has 200 sheets for inventory items. These are for multiple companies on same sheet . I have to prepare summary for these items in the first sheet. Since I have used a lot of indirect function, it is making file very slow. What can I do to make it faster?



Screenshot 2023-01-03 153740.png
 
Thank you very much for your response sir. But even after adding both the codes, I am still not able to use the first code of Setformulas. I added it to module and it is shown in Macros list. But it doesn't run or show any changes.
Probably the easiest way to use it is to add a module. Right click on the project and select Insert > Module. It will be called Module1. Then add this code

VBA Code:
Public Sub RefreshIndex()

   Worksheets("Index").SetFormulas

End Sub

From the Developer tab select Macros, click on RefreshIndex from the list, and click Run.
 
Upvote 0

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Very difficult to move forward from here without access to your file. If I can find time I will prepare a simplified mock-up and share it with you. Then you can compare my solution to how you have it implemented in your file and see if there is any difference.
 
Upvote 0

Forum statistics

Threads
1,215,352
Messages
6,124,451
Members
449,161
Latest member
NHOJ

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