Opening of excel file takes to much time

Natit

Board Regular
Joined
Jan 22, 2012
Messages
50
Office Version
  1. 365
Platform
  1. Windows
Hello,
Every time I open (or change something in) this excel files' it takes about 12-13 sec.
Usualy I have anothe sheet like sht1, so it takes about 30 sec.
I don't think that the formulas in it are that "heavy".
Am I doing something wrong?
BTW "base" sheet is only 8 columns and 92 rows (I don't know how to add another sheet here)
Thx
Nati
question_file.xlsm
ABCDEFGHIJ
1yearcode1code2data1data2data3data4data5PCTcalc
22024500161000900016400-5,509,1761,301,050324,061158,38432%3,725,681
32024500161000900246400-425,000200,00029,0163,70355%192,281
42024180060000900016405#N/A#N/A#N/A#N/A#N/A#N/A#N/A
52024500174000900126400#N/A#N/A#N/A#N/A#N/A#N/A#N/A
62024500174000900176400-575,000549,999--96%25,001
72024180060000900016401-100,000-5565,6546%93,790
82024180060000900016402-40,000---0%40,000
92024180060000900016404#N/A#N/A#N/A#N/A#N/A#N/A#N/A
102024180060000900186400-20,000---0%20,000
112024500162000900016400-100,000---0%100,000
122024500162000900256400#N/A#N/A#N/A#N/A#N/A#N/A#N/A
132024500165000900216400#N/A#N/A#N/A#N/A#N/A#N/A#N/A
142024500163000900006400-636,167-62,93459,66919%513,564
sht1
Cell Formulas
RangeFormula
D2:H14D2=LET( Col_num,MATCH(D$1,base!$1:$1,0), Col_char,SUBSTITUTE(ADDRESS(1,Col_num,4),"1",""), Yyear,base!$A:$A=2024, Ccode1,base!$B:$B=$B2, Ccode2,base!$C:$C=$C2, XLOOKUP(1,(Yyear)*(Ccode1)*(Ccode2),INDIRECT("base!"&Col_char&":"&Col_char)))
I2:I14I2=SUM(F2:H2)/E2
J2:J14J2=E2-F2-G2-H2
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Using whole column references, especially when doing array calculations, is a bad idea. As the Base sheet is only 92 rows limit the ranges to about 200 rows.
 
Upvote 0
Another option without the pointless volatile functions
Excel Formula:
=FILTER(INDEX(Base!$A$1:$Z$200,,XMATCH(D$1,Base!$A$1:$Z$1)),(Base!$A$1:$A$200=$A2)*(Base!$B$1:$B$200=$B2)*(Base!$C$1:$C$200=$C2))
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,097
Messages
6,123,076
Members
449,094
Latest member
mystic19

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