Opening an .xlsx with millions of array formulas and external links hangs at 80%
Brought to you by:
maragon
Originally created by: M4R4G0N
An .xlsx with one sheet of 54,624 rows x 68 columns and ~2.3 million single-cell array formulas ({=SUM(COUNTIF($O$8:$AC$8,...))}, many reading [1]FILTROS!) never finished opening (stuck at 80%, >10 min, 1.4 GB, one core busy). On a 4 GB PC it is unusable.
Measured on the file (Linux, 4 cores):
Causes:
$O$8:$AC$8. It is now keyed by row block, column block and distinct range.[1]Sheet! to the linked file name on load ran one dirty cascade per formula; the cascade also rebuilt the whole pattern list for every visited cell. Both are now batched (one cascade, pattern list built once).
Ticket changed by: M4R4G0N