Mastering array formulas in Google Sheets transforms how you structure, clean, and summarize spreadsheet data—replacing fragile, copy-pasted single-cell formulas with smart expressions that automatically spill results across multiple rows and columns. Instead of dragging formulas down hundreds of rows and risking broken references whenever new entries arrive, modern array formulas in Google Sheets such as SEQUENCE, SPLIT, FLATTEN, BYROW, and BYCOL let a single cell power entire dynamic tables, calendars, text parsers, and row-by-row or column-by-column summaries. Below, you will find clear syntax examples, practical use cases, and pro tips for putting these five dynamic array functions to work immediately.

1. SEQUENCE: Automatically Generate Number Series
- What it does: Generates a sequential array of numbers across a specified number of rows and columns using custom start and step values.
- Use cases: Building dynamic calendars, auto-numbering task lists, creating invoice IDs, or generating custom date intervals.
Excel
=SEQUENCE(7, 1, 1, 1)
This formula outputs the numbers 1 through 7 vertically down a single column. To generate a rolling 7-day weekday schedule starting from today, wrap SEQUENCE inside ARRAYFORMULA and TEXT:
Excel
=ARRAYFORMULA(TEXT(SEQUENCE(7, 1, TODAY(), 1), "dddd"))
2. SPLIT: Break Strings into Columns or Rows
- What it does: Divides a single text string into separate columns (or rows) wherever a specified delimiter character appears.
- Use cases: Separating first and last names, parsing imported CSV strings, or extracting tags, domains, and product codes from combined text fields.
Excel
=SPLIT("John Doe", " ")
Or referencing a cell such as A5:
Excel
=SPLIT(A5, " ")
This spills "John" and "Doe" into two adjacent horizontal cells. You can split by spaces, commas, semicolons, slashes, or hyphens—and wrap SPLIT inside ARRAYFORMULA(SPLIT(A5:A20, " ")) to parse an entire column at once.
3. FLATTEN: Collapse a Range into a Single Column
- What it does: Reshapes a two-dimensional grid of rows and columns into one continuous vertical column.
- Use cases: Normalizing multi-column schedules, consolidating scattered survey responses, or preparing messy multi-column lists for
UNIQUE,FILTER, orCOUNTIFsummaries.
Excel
=FLATTEN(A5:C7)
Every value across A5:C7 stacks neatly into a single vertical list—making it effortless to extract distinct items with =UNIQUE(FLATTEN(A5:C7)).
4. BYROW: Apply a Custom Function to Each Row
- What it does: Passes each individual row of a range into a custom
LAMBDAcalculation and returns a vertical column of row-by-row results. - Use cases: Computing dynamic row totals, finding row maximums, or applying row-level pass/fail conditional logic across expanding datasets.
Excel
=BYROW(A5:D7, LAMBDA(row, SUM(row)))
This returns a single vertical column displaying the sum of each row from row 5 to row 7—and you can embed IF, AVERAGE, or MAX inside the LAMBDA for custom per-row rules.
5. BYCOL: Apply a Custom Function to Each Column
- What it does: Mirrors
BYROWhorizontally—evaluating each column in a range with a customLAMBDAexpression and spilling a single summary row across the bottom or top. - Use cases: Generating totals, averages, medians, or peak values across dozens of monthly or departmental columns using just one master formula.
Excel
=BYCOL(A5:D7, LAMBDA(col, SUM(col)))
Instead of maintaining separate SUM formulas beneath every column, one BYCOL formula calculates and updates every column summary simultaneously.
Pro Tip: Always leave empty buffer cells below and to the right of any dynamic array formula—if text or numbers sit in the output path where an array needs to expand, Google Sheets will display a #REF! (“Array result was not expanded because it would overwrite data”) error until you clear the blocking cells.
Final Thoughts
Using array formulas in Google Sheets streamlines repetitive spreadsheet maintenance while keeping reports cleaner, faster, and far less prone to manual copy-paste errors. By combining SEQUENCE, SPLIT, FLATTEN, BYROW, and BYCOL with FILTER, UNIQUE, and ARRAYFORMULA, you can build flexible, self-updating templates that scale effortlessly as your data grows.
Also Read : How To Draw The Cantor Set In Google Sheets