Google Sheets function reference
Syntax, arguments, a worked example and the things that actually trip people up — for every function.
Text
Join, split and reshape text.
Logical
Make the sheet decide: test a condition and branch on the answer.
Math & aggregation
Add up, count and average — usually with a condition attached.
Lookup
Find a value in one place and pull back a matching value from another.
-
INDEX
Returns the value at a given row and column position inside a range.
-
MATCH
Returns the position of a value within a range, rather than the value itself.
-
VLOOKUP
Finds a value in the first column of a range and returns a value from another column in the same row.
-
XLOOKUP
Looks up a value and returns a matching one from any other range — in any direction, with a built-in fallback.
Array & filter
Work on whole ranges at once instead of dragging a formula down.
-
FILTER
Returns only the rows of a range that meet one or more conditions.
-
QUERY
Runs a small SQL-like query over a range — select, filter, sort and group in one formula.
-
SORT
Returns a range sorted by one or more of its columns.
-
UNIQUE
Returns each distinct row of a range once, discarding duplicates.