Støt os venligst!

Dynamiske matricer

Dynamiske matricer gør det let at arbejde med flere værdier i en enkelt formel. Denne dynamiske opførsel betyder at – anderledes end klassiske matrixformler – resultatet tilpasser sig: hvis størrelse på input-matricen eller en funktions argumenter ændres, så vil størrelsen af resultat-matricen også ændres. Det er ikke nødvendigt at skrive matrixformlen ind på ny, når input- og output-data vokser eller skrumper.

Dynamic arrays are produced by the results of the functions FILTER, RANDARRAY, SEQUENCE, SORT, SORTBY, UNIQUE, XLOOKUP, XMATCH.

These functions return an array of data automatically, so there is no need to enter them using the Ctrl+Shift+Enter keyboard shortcut.

Dynamic array spilling

The dynamic array is said to spill in the spreadsheet when data is inserted as the result of the above functions. You can reference the resulting array data by writing the reference of the first element of the resulting array suffixed by the spill range symbol #.

Eksempel

Dynamic array spilling

Noteikon

If the spill range is blocked by other data, Calc returns the #SPILL error. After clearing the space for spilling, the formula will automatically spill.