Speed-Up efficiency of workbook

mickeystanford_alumni

Board Regular
Joined
May 11, 2022
Messages
129
Office Version
  1. 2021
Platform
  1. Windows
  2. MacOS
Hi all,
I have an excel file of 16,000KB. It is not huge but it goes really slow...
I would like to know how to improve the efficiency of the file (I already have file in manual, so need something more sophisticated).

I have a bunch of power queries connected through a dynamic path (this slows down the file for sure, but I need it as I do create a summary report by bringing different sheets from different excel files here...so maybe there is a way to improve the efficiency here)?
The code I use on the advanced editor is this:
let
ParametersTable = Excel.CurrentWorkbook(){[Name="ParametersTable"]}[Content],
UserName = ParametersTable{0}[Column1],
FilePath = "C:\Users\" & UserName & "\xxxxxx.xlsm",
Source = Excel.Workbook(File.Contents(FilePath), null, true),
// Specify the sheet to import
xxx = Source{[Item="xxx",Kind="Sheet"]}[Data]

in
xxx

Then the rest is I have some indirect formulas linked to Name Manager columns (e.g. $F8,$G8,$H8 is a column called SALES.US.CARS) =SUMIFS(INDIRECT(TEXTJOIN(".",TRUE,$F8,$G8,$H8)),INDIRECT(TEXTJOIN(".",TRUE,$F8,$G8,$H$2)),DATE($I8,M$6,1))

Is there any recommendation?

Thank you very much .
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Thank you. What is the best way to get rid of the indirect() ? I wanted to use the same formula for all sheets and they reference to other cells all in the same position in the excel file.
 
Upvote 0
Since you are already working in PQ you should do those calculations also in PQ.
 
Upvote 0
Since you are already working in PQ you should do those calculations also in PQ.
Well actually I create a sheet based on the PQ as it is a matrix I create for visualization purposes, so for sure I need to bring a formula there...

Any helps please?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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