504 Google Sheets Formulas

Complete Google Sheets formulas list: every function from AI() to ZTEST(). Popular picks: IF, VLOOKUP, SUMIF, COUNTIF, and FILTER.

Start with one formula

  • IF: Automate logic in your cells.
  • VLOOKUP: Find and match data.
  • SUMIF: Add up only what matters.
  • COUNTIF: Count cells that match.
  • FILTER: Show only the rows you need.

Try a formula

Browse all formulas

504 functions from AI() to ZTEST(). Start with TODAY().

IF()
IF()

Returns one value if a logical expression is `TRUE` and another if it is `FALSE`.

IF(logical_expression, value_if_true, value_if_false)
FILTER()
FILTER()

Returns a filtered version of the source range, returning only rows or columns which meet the spe...

FILTER(range, condition1, [condition2])
ISBLANK()
ISBLANK()

Checks whether the referenced cell is empty.

ISBLANK(value)
INDEX()
INDEX()

Returns the content of a cell, specified by row and column offset.

INDEX(reference, [row], [column])
CONCATENATE()
CONCATENATE()

Appends strings to one another.

CONCATENATE(string1, [string2, ...])
COUNTA()
COUNTA()

Returns a count of the number of values in a dataset.

COUNTA(value1, [value2, ...])
COUNTIF()
COUNTIF()

Returns a conditional count across a range.

COUNTIF(range, criterion)
ARRAYFORMULA()
ARRAYFORMULA()

Enables the display of values returned from an array formula into multiple rows and/or columns an...

ARRAYFORMULA(array_formula)
SPLIT()
SPLIT()

Divides text around a specified character or string, and puts each fragment into a separate cell ...

SPLIT(text, delimiter, [split_by_each], [remove_empty_text])
JOIN()
JOIN()

Concatenates the elements of one or more one-dimensional arrays using a specified delimiter.

JOIN(delimiter, value_or_array1, [value_or_array2, ...])
MATCH()
MATCH()

Returns the relative position of an item in a range that matches a specified value.

MATCH(search_key, range, [search_type])
TRANSPOSE()
TRANSPOSE()

Transposes the rows and columns of an array or range of cells.

TRANSPOSE(array_or_range)
SUM()
SUM()

Returns the sum of a series of numbers and/or cells.

SUM(value1, [value2, ...])
UNIQUE()
UNIQUE()

Returns unique rows in the provided source range, discarding duplicates. Rows are returned in the...

UNIQUE(range)
IFERROR()
IFERROR()

Returns the first argument if it is not an error value, otherwise returns the second argument if ...

IFERROR(value, [value_if_error])
SUBSTITUTE()
SUBSTITUTE()

Replaces existing text with new text in a string.

SUBSTITUTE(text_to_search, search_for, replace_with, [occurrence_number])
VLOOKUP()
VLOOKUP()

Vertical lookup. Searches down the first column of a range for a key and returns the value of a s...

VLOOKUP(search_key, range, index, [is_sorted])
IMAGE()
IMAGE()

Inserts an image into a cell.

IMAGE(url, [mode], [height], [width])
IFNA()
IFNA()

Evaluates a value. If the value is an #N/A error, returns the specified value..

IFNA(value, value_if_na)
SORT()
SORT()

Sorts the rows of a given array or range by the values in one or more columns.

SORT(range, sort_column, is_ascending, [sort_column2], [is_ascending2])
LEN()
LEN()

Returns the length of a string.

LEN(text)
TODAY()
TODAY()

Returns the current date as a date value.

TODAY()
ROUND()
ROUND()

Rounds a number to a certain number of decimal places according to standard rules.

ROUND(value, [places])
IMPORTRANGE()
IMPORTRANGE()

Imports a range of cells from a specified spreadsheet.

IMPORTRANGE(spreadsheet_url, range_string)
CONCAT()
CONCAT()

Returns the concatenation of two values. Equivalent to the `&` operator.

CONCAT(value1, value2)
HYPERLINK()
HYPERLINK()

Creates a hyperlink inside a cell.

HYPERLINK(url, [link_label])
ROW()
ROW()

Returns the row number of a specified cell.

ROW([cell_reference])
LOWER()
LOWER()

Converts a specified string to lowercase.

LOWER(text)
INDIRECT()
INDIRECT()

Returns a cell reference specified by a string.

INDIRECT(cell_reference_as_string, [is_A1_notation])
SWITCH()
SWITCH()

Tests an expression against a list of cases and returns the corresponding value of the first matc...

SWITCH(expression, case1, value1, [default or case2, value2], …)
SPARKLINE()
SPARKLINE()

Creates a miniature chart contained within a single cell.

SPARKLINE(data, [options])
UPPER()
UPPER()

Converts a specified string to uppercase.

UPPER(text)
RANDBETWEEN()
RANDBETWEEN()

Returns a uniformly random integer between two values, inclusive.

RANDBETWEEN(low, high)
RAND()
RAND()

Returns a random number between 0 inclusive and 1 exclusive.

RAND()
AVERAGE()
AVERAGE()

Returns the numerical average value in a dataset, ignoring text.

AVERAGE(value1, [value2, ...])
MAX()
MAX()

Returns the maximum value in a numeric dataset.

MAX(value1, [value2, ...])
AND()
AND()

Returns true if all of the provided arguments are logically true, and false if any of the provide...

AND(logical_expression1, [logical_expression2, ...])
REPT()
REPT()

Returns specified text repeated a number of times.

REPT(text_to_repeat, number_of_repetitions)
NOW()
NOW()

Returns the current date and time as a date value.

NOW()
PROPER()
PROPER()

Capitalizes each word in a specified string.

PROPER(text_to_capitalize)
FIND()
FIND()

Returns the position at which a string is first found within text.

FIND(search_for, text_to_search, [starting_at])
TEXT()
TEXT()

Converts a number into text according to a specified format.

TEXT(number, format)
SUMIF()
SUMIF()

Returns a conditional sum across a range.

SUMIF(range, criterion, [sum_range])
SEARCH()
SEARCH()

Returns the position at which a string is first found within text.

SEARCH(search_for, text_to_search, [starting_at])
COLUMN()
COLUMN()

Returns the column number of a specified cell, with `A=1`.

COLUMN([cell_reference])
REGEXMATCH()
REGEXMATCH()

Whether a piece of text matches a regular expression.

REGEXMATCH(text, regular_expression)
MONTH()
MONTH()

Returns the month of the year a specific date falls in, in numeric format.

MONTH(date)
GOOGLEFINANCE()
GOOGLEFINANCE()

Fetches current or historical securities information from Google Finance.

GOOGLEFINANCE(ticker, [attribute], [start_date], [end_date|num_days], [interval])