Array literals
Inside braces, a comma moves to the next column and a semicolon starts the next row. A range inside the braces expands, so two columns can be stacked or placed side by side.
The same shape builds a header row over a range: {"Item", "Qty"; A2:A4, B2:B4}.
These drills are graded by calculating the formula in the practice grid.
Drills
- FreeSpill a row with an array literalPractice a Google Sheets array literal that spills 4, 8, and 15 across a row. Commas start the next column.
- FreeStack two lists with a semicolonPractice a Google Sheets array literal that stacks two ranges with a semicolon, spilling one column of five labels.
- PremiumBuild a header with an array literalPractice a Google Sheets array literal that places an Item and Qty header above two data columns.