Dynamic arrays

Dynamic arrays 5

  • xl.fill.down Fill down LAMBDAxl.fill.down copies the last non-blank value through the blanks under it. Austin, a blank, a blank, Dallas becomes Austin, Austin, Austin, Dallas.
  • xl.running.total Running total LAMBDAxl.running.total spills a running sum. The four utility bills accumulate to $143.60, $239.80, $358.25, and $446.35.
  • xl.group.sum Group sum LAMBDAxl.group.sum spills each distinct key and the sum of its values. Austin 10 and Austin 5, plus Dallas 20, come back as Austin 15 and Dallas 20.
  • xl.unpivot Unpivot LAMBDAxl.unpivot turns a crosstab into rows of row label, column label, and value. Austin and Dallas across 2024 and 2025 become four rows.
  • xl.sort.unique Sort unique LAMBDAxl.sort.unique spills the distinct values in ascending order. Austin, Dallas, Austin, Houston comes back as Austin, Dallas, Houston.