INFO

sheets.wiki is a reference, not a guidebook. For tutorials and applied examples, see the Blog or linked Guides.

Google Sheets currently has 512 documented functions and numerous undocumented functions. Functions are comprised of primitive functions, LAMBDA functions, and operators. Functions form the foundation of expression syntax and are used to manipulate, transform, and compute data.

Alongside operators and LAMBDA expressions, functions are one of three primary callable terms in Sheets.

Generally speaking, most advanced users learn functions through one of two methods. The first is by by raw experience. The second, championed by Matt King, involves going through the full list of functions and trying to understand each one.

Function Categories

CategoryDescription
Primitive functionsBuilt-in Sheets functions such as SUM, FILTER, or VLOOKUP.
LAMBDA functionsUser-defined callable terms created using LAMBDA, MAP, REDUCE, and related constructs.
OperatorsSymbolic primitives (e.g., +, -, &) representing shorthand function calls.

Each produces a value when evaluated.

Learning Functions

Advanced users tend to learn functions in two ways:

  1. Empirical — through experimentation and formula construction.
  2. Systematic — popularized by Matt King, who advocates reviewing the entire function list to understand each function’s scope, typing, and coercion.

Functional Complexity

Functions vary by syntax and conceptual depth. They can be grouped broadly by complexity:

Basic Functions

Operate on simple arguments and return single values.

These are straightforward and easily nested.

Intermediate Functions

Accept or return arrays and often depend on array dimensionality.

They are central to tabular computation and relational lookups.

Advanced Functions

Use complex syntax or enable extended functionality.

CategoryDescription
REGEX functionsPattern matching and text manipulation.
QUERYSQL-like transformation of tabular data.
LAMBDAFunctional abstraction, recursion, and LAMBDA recursion.
IMPORT functionsRetrieve and process web data.

Function Behavior and Typing

Each function defines its own typing and coercion rules under the broader type system. Examples:

  • JOIN(,1,2,3) coerces numeric values to strings.
  • FILTER(A1:A,"foo") returns #VALUE! when coercion fails.

Understanding a function requires understanding both its input coercion and output type.

Notes

See Also