Professional Documents
Culture Documents
Google Sheets Function List - Google Docs Editors Help
Google Sheets Function List - Google Docs Editors Help
Google Sheets supports cell formulas typically found in most desktop spreadsheet packages.
Functions can be used to create formulas that manipulate data and calculate strings and numbers.
Here's a list of all the functions available in each category. When using them, don't forget to add
quotation marks around all function components made of alphabetic characters that aren't referring
to cells or columns.
You can change the language of Google Sheets functions between English and 21 other languages.
Groups an array by
columns by application
BYCOL(array_or_rang
Array BYCOL of a LAMBDA function
e, LAMBDA)
to each column. Learn
more
Groups an array by
rows by application of
BYROW(array_or_rang
Array BYROW a LAMBDA function to
e, LAMBDA)
each row. Learn more
Calculates the
frequency distribution
FREQUENCY(data,
Array FREQUENCY of a one-column array
classes)
into specified classes.
Learn more
Type Name Syntax Description
Appends ranges
horizontally and in
HSTACK(range1;
Array HSTACK sequence to return a
[range2, …])
larger array. Learn
more
Returns an array of
specified dimensions
MAKEARRAY(rows, with values calculated
Array MAKEARRAY
columns, LAMBDA) by application of a
LAMBDA function.
Learn more
Returns the
multiplicative inverse
MINVERSE(square_mat of a square matrix
Array MINVERSE
rix) specified as an array
or range. Learn more
Reduces an array to an
accumulated result by
REDUCE(initial_valu
application of a
Array REDUCE e, array_or_range,
LAMBDA function to
LAMBDA)
each value. Learn more
Transforms an array or
TOCOL(array_or_rang
range of cells into a
Array TOCOL e, [ignore],
single column. Learn
[scan_by_column])
more
Transforms an array or
TOROW(array_or_rang
range of cells into a
Array TOROW e, [ignore],
single row. Learn more
[scan_by_column])
Appends ranges
vertically and in
VSTACK(range1;
Array VSTACK sequence to return a
[range2, …])
larger array. Learn
more
Counts values,
including text, selected
DCOUNTA(database, from a database table-
Database DCOUNTA
field, criteria) like array or range
using a SQL-like query.
Learn more
Converts a provided
DATE(year, month, year, month, and day
Date DATE
day) into a date. Learn more
Converts a provided
DATEVALUE(date_stri date string in a known
Date DATEVALUE
ng) format to a date value.
Learn more
Returns a date a
specified number of
EDATE(start_date,
Date EDATE months before or after
months)
another date. Learn
more
Returns a date
representing the last
day of a month which
EOMONTH(start_date,
Date EOMONTH falls a specified
months)
number of months
before or after another
date. Learn more
Converts a provided
TIME(hour, minute, hour, minute, and
Date TIME
second) second into a time.
Learn more
Returns a number
representing the day
WEEKDAY(date,
Date WEEKDAY of the week of the date
[type])
provided. Learn more
Returns a number
representing the week
WEEKNUM(date,
Date WEEKNUM of the year where the
[type])
provided date falls.
Learn more
Converts a signed
BIN2DEC(signed_bina binary number to
Engineering BIN2DEC
ry_number) decimal format. Learn
more
Bitwise boolean OR of
BITOR(value1,
Engineering BITOR 2 numbers. Learn
value2)
more.
Creates a complex
COMPLEX(real_part,
number given real and
Engineering COMPLEX imaginary_part,
imaginary coefficients.
[suffix])
Learn more
DEC2OCT(decimal_num
Converts a decimal
ber,
Engineering DEC2OCT number to signed octal
[significant_digits
format. Learn more
])
ERF.PRECISE(lower_b
Engineering ERF.PRECISE ound, See ERF
[upper_bound])
Converts a signed
HEX2DEC(signed_hexa hexadecimal number
Engineering HEX2DEC
decimal_number) to decimal format.
Learn more
Converts a signed
HEX2OCT(signed_hexa
hexadecimal number
Engineering HEX2OCT decimal_number,
to signed octal format.
significant_digits)
Learn more
The IMARGUMENT
function returns the
angle (also known as
the argument or
Engineering IMARGUMENT IMARGUMENT(number)
\theta) of the given
complex number in
radians. Learn more
.
Returns Euler's
number, e (~2.718)
Engineering IMEXP IMEXP(exponent)
raised to a complex
power. Learn more .
Converts a signed
OCT2DEC(signed_octa octal number to
Engineering OCT2DEC
l_number) decimal format. Learn
more
Returns a filtered
version of the source
FILTER(range, range, returning only
Filter FILTER condition1, rows or columns which
[condition2]) meet the specified
conditions. Learn more
SORTN(range, [n],
Returns the first n
[display_ties_mode]
items in a data set
Filter SORTN , [sort_column1,
after performing a sort.
is_ascending1],
Learn more
...)
ACCRINT(issue,
first_payment, Calculates the accrued
settlement, rate, interest of a security
Financial ACCRINT redemption, that has periodic
frequency, payments. Learn more
[day_count_conventi
on])
Returns the
depreciation for an
AMORLINC(cost,
accounting period, or
purchase_date,
the prorated
Financial AMORLINC first_period_end,
depreciation if the
salvage, period,
asset was purchased in
rate, [basis])
the middle of a period.
Learn more.
Calculates the
cumulative interest
CUMIPMT(rate,
over a range of
number_of_periods,
payment periods for an
present_value,
Financial CUMIPMT investment based on
first_period,
constant-amount
last_period,
periodic payments and
end_or_beginning)
a constant interest
rate. Learn more
Calculates the
cumulative principal
CUMPRINC(rate,
paid over a range of
number_of_periods,
payment periods for an
present_value,
Financial CUMPRINC investment based on
first_period,
constant-amount
last_period,
periodic payments and
end_or_beginning)
a constant interest
rate. Learn more
Calculates the
depreciation of an
DB(cost, salvage, asset for a specified
Financial DB life, period, period using the
[month]) arithmetic declining
balance method. Learn
more
Calculates the
depreciation of an
DDB(cost, salvage, asset for a specified
Financial DDB life, period, period using the
[factor]) double-declining
balance method. Learn
more
Type Name Syntax Description
DISC(settlement,
Calculates the
maturity, price,
discount rate of a
Financial DISC redemption,
security based on
[day_count_conventi
price. Learn more
on])
Converts a price
quotation given as a
DOLLARDE(fractional
Financial DOLLARDE decimal fraction into a
_price, unit)
decimal value. Learn
more
Converts a price
quotation given as a
DOLLARFR(decimal_pr
Financial DOLLARFR decimal value into a
ice, unit)
decimal fraction. Learn
more
Calculates the
IPMT(rate, period, payment on interest for
number_of_periods, an investment based
Financial IPMT present_value, on constant-amount
[future_value], periodic payments and
[end_or_beginning]) a constant interest
rate. Learn more
Calculates the
modified Macaulay
MDURATION(settlemen
duration of a security
t, maturity, rate,
paying periodic
Financial MDURATION yield, frequency,
interest, such as a US
[day_count_conventi
Treasury Bond, based
on])
on expected yield.
Learn more
Calculates the
modified internal rate
of return on an
investment based on a
MIRR(cashflow_amoun series of periodic cash
ts, financing_rate, flows and the
Financial MIRR
reinvestment_return difference between the
_rate) interest rate paid on
financing versus the
return received on
reinvested income.
Learn more
Calculates the
payment on the
PPMT(rate, period,
principal of an
number_of_periods,
investment based on
Financial PPMT present_value,
constant-amount
[future_value],
periodic payments and
[end_or_beginning])
a constant interest
rate. Learn more
Calculates the
depreciation of an
SLN(cost, salvage, asset for one period
Financial SLN
life) using the straight-line
method. Learn more
Type Name Syntax Description
Calculates the
depreciation of an
SYD(cost, salvage, asset for a specified
Financial SYD
life, period) period using the sum
of years digits method.
Learn more
Calculates the
equivalent annualized
TBILLEQ(settlement, rate of return of a US
Financial TBILLEQ
maturity, discount) Treasury Bill based on
discount rate. Learn
more
Returns the
VDB(cost, salvage,
depreciation of an
life, start_period,
asset for a particular
Financial VDB end_period,
period (or partial
[factor],
period). Learn more
[no_switch])
.
GOOGLETRANSLATE(tex
Translates text from
t,
Google GOOGLETRANSLATE one language into
[source_language],
another Learn more
[target_language])
Runs a Google
Visualization API Query
QUERY(data, query,
Google QUERY Language query
[headers])
across data. Learn
more
Creates a miniature
SPARKLINE(data, chart contained within
Google SPARKLINE
[options]) a single cell. Learn
more
Type Name Syntax Description
Returns a number
corresponding to the
ERROR.TYPE(referenc
Info ERROR.TYPE error value in a
e)
different cell. Learn
more
Returns whether a
Info ISDATE ISDATE(value) value is a date. Learn
more.
Checks whether a
value is a valid email
Info ISEMAIL ISEMAIL(value)
address. Learn more
Checks whether a
value is an error other
Info ISERR ISERR(value)
than `#N/A`. Learn
more
Checks whether a
Info ISERROR ISERROR(value) value is an error. Learn
more
Checks whether a
formula is in the
Info ISFORMULA ISFORMULA(cell)
referenced cell. Learn
more
Checks whether a
value is `TRUE` or
Info ISLOGICAL ISLOGICAL(value)
`FALSE`. Learn more
Checks whether a
Info ISNA ISNA(value) value is the error
`#N/A`. Learn more
Checks whether a
Info ISNONTEXT ISNONTEXT(value) value is non-textual.
Learn more
Checks whether a
Info ISNUMBER ISNUMBER(value) value is a number.
Learn more
Checks whether a
value is a valid cell
Info ISREF ISREF(value)
reference. Learn more
Type Name Syntax Description
Checks whether a
Info ISTEXT ISTEXT(value) value is text. Learn
more
Returns a number
associated with the
Info TYPE TYPE(value) type of data passed
into the function. Learn
more
Evaluates multiple
IFS(condition1, conditions and returns
value1, a value that
Logical IFS
[condition2, corresponds to the
value2], …) first true condition.
Learn more.
Tests an expression
against a list of cases
and returns the
SWITCH(expression,
corresponding value of
case1, value1,
Logical SWITCH the first matching
[default or case2,
case, with an optional
value2], …)
default value if nothing
else is met. Learn more
ADDRESS(row,
column,
Returns a cell
[absolute_relative_
Lookup ADDRESS reference as a string.
mode],
Learn more
[use_a1_notation],
[sheet])
Returns an element
CHOOSE(index,
from a list of choices
Lookup CHOOSE choice1, [choice2,
based on index. Learn
...])
more
Horizontal lookup.
Searches across the
HLOOKUP(search_key, first row of a range for
Lookup HLOOKUP range, index, a key and returns the
[is_sorted]) value of a specified
cell in the column
found. Learn more
Returns a range
reference shifted a
OFFSET(cell_referen
specified number of
ce, offset_rows,
Lookup OFFSET rows and columns from
offset_columns,
a starting cell
[height], [width])
reference. Learn more
Vertical lookup.
Searches down the
VLOOKUP(search_key, first column of a range
Lookup VLOOKUP range, index, for a key and returns
[is_sorted]) the value of a specified
cell in the row found.
Learn more
Converts a number
into a text
BASE(value, base, representation in
Math BASE
[min_length]) another base, for
example, base 2 for
binary. Learn more .
Rounds a number up to
the nearest integer
CEILING(value,
Math CEILING multiple of specified
[factor])
significance. Learn
more
Rounds a number up to
the nearest integer
multiple of specified
CEILING.MATH(number significance, with
Math CEILING.MATH , [significance], negative numbers
[mode]) rounding toward or
away from 0
depending on the
mode. Learn more.
Rounds a number up to
the nearest integer
CEILING.PRECISE(num multiple of specified
Math CEILING.PRECISE ber, significance. If the
[significance]) number is positive or
negative, it is rounded
up. Learn more.
Cotangent of an angle
Math COT COT(angle) provided in radians.
Learn more .
Returns a conditional
COUNTIF(range,
Math COUNTIF count across a range.
criterion)
Learn more
Converts an angle
value in radians to
Math DEGREES DEGREES(angle)
degrees. Learn more
Returns the
complementary Gauss
Math ERFC ERFC(z)
error function of a
value. Learn more
Rounds a number up to
Math EVEN EVEN(value) the nearest even
integer. Learn more
Returns Euler's
number, e (~2.718)
Math EXP EXP(exponent)
raised to a power.
Learn more
Rounds a number
down to the nearest
FLOOR(value,
Math FLOOR integer multiple of
[factor])
specified significance.
Learn more
Rounds a number
down to the nearest
integer multiple of
FLOOR.MATH(number, specified significance,
Math FLOOR.MATH [significance], with negative numbers
[mode]) rounding toward or
away from 0
depending on the
mode. Learn more.
GAMMALN.PRECISE(val
Math GAMMALN.PRECISE See GAMMALN
ue)
Returns a complex
IMPOWER(complex_bas
Math IMPOWER number raised to a
e, exponent)
power. Learn more
Rounds a number
down to the nearest
Math INT INT(value) integer that is less than
or equal to it. Learn
more
Rounds a number up to
Math ODD ODD(value) the nearest odd
integer. Learn more
Returns a number
POWER(base,
Math POWER raised to a power.
exponent)
Learn more
Converts an angle
Math RADIANS RADIANS(angle) value in degrees to
radians. Learn more
Returns a random
number between 0
Math RAND RAND() inclusive and 1
exclusive. Learn more
Generates an array of
RANDARRAY(rows, random numbers
Math RANDARRAY
columns) between 0 and 1. Learn
more .
Returns a uniformly
random integer
RANDBETWEEN(low,
Math RANDBETWEEN between two values,
high)
inclusive. Learn more
Rounds a number to a
certain number of
ROUND(value,
Math ROUND decimal places
[places])
according to standard
rules. Learn more
Rounds a number to a
certain number of
ROUNDDOWN(value, decimal places, always
Math ROUNDDOWN
[places]) rounding down to the
next valid increment.
Learn more
Rounds a number to a
certain number of
ROUNDUP(value, decimal places, always
Math ROUNDUP
[places]) rounding up to the
next valid increment.
Learn more
Returns an array of
SEQUENCE(rows,
sequential numbers,
Math SEQUENCE columns, start,
such as 1, 2, 3, 4. Learn
step)
more .
Given parameters x, n,
m, and a, returns the
power series sum a1xn
SERIESSUM(x, n, m, + a2x(n+m) + ... + aix(n+(i-
Math SERIESSUM 1)m), where i is the
a)
number of entries in
range `a`. Learn more
SUMIFS(sum_range,
Returns the sum of a
criteria_range1,
range depending on
Math SUMIFS criterion1,
multiple criteria. Learn
[criteria_range2,
more
criterion2, ...])
Truncates a number to
a certain number of
TRUNC(value, significant digits by
Math TRUNC
[places]) omitting less
significant digits. Learn
more
Returns the
concatenation of two
CONCAT(value1,
Operator CONCAT values. Equivalent to
value2)
the `&` operator. Learn
more
ISBETWEEN(value_to_
Checks whether a
compare,
provided number is
lower_value,
between two other
upper_value,
Operator ISBETWEEN numbers either
lower_value_is_incl
inclusively or
usive,
exclusively. Learn more
upper_value_is_incl
usive)
Returns a number
Operator POW POW(base, exponent) raised to a power.
Learn more
Returns a value
interpreted as a
UNARY_PERCENT(perce percentage; that is,
Operator UNARY_PERCENT
ntage) `UNARY_PERCENT(100
)` equals `1`. Learn
more
Returns a specified
number,
Operator UPLUS UPLUS(value)
unchanged. Learn
more
Converts a numeric
CONVERT(value,
value to a different unit
Parser CONVERT start_unit,
of measure. Learn
end_unit)
more
Converts a provided
Parser TO_DATE TO_DATE(value) number to a date.
Learn more
Converts a provided
Parser TO_DOLLARS TO_DOLLARS(value) number to a dollar
value. Learn more
Converts a provided
date/time, percentage,
currency or other
TO_PURE_NUMBER(valu
Parser TO_PURE_NUMBER formatted numeric
e)
value to a pure number
without formatting.
Learn more
Converts a provided
Parser TO_TEXT TO_TEXT(value) numeric value to a text
value. Learn more
AVERAGEIFS(average_
range, Returns the average of
criteria_range1, a range depending on
Statistical AVERAGEIFS
criterion1, multiple criteria. Learn
[criteria_range2, more
criterion2, ...])
BETADIST(value,
alpha, beta,
Statistical BETADIST See BETA.DIST .
lower_bound,
upper_bound)
BETAINV(probability
, alpha, beta,
Statistical BETAINV See BETA.INV
lower_bound,
upper_bound)
BINOM.DIST(num_succ
esses, num_trials,
Statistical BINOM.DIST See BINOMDIST
prob_success,
cumulative)
BINOM.INV(num_trial
Statistical BINOM.INV s, prob_success, See CRITBINOM
target_prob)
Calculates the
probability of drawing
a certain number of
successes (or a
maximum number of
BINOMDIST(num_succe
successes) in a certain
sses, num_trials,
Statistical BINOMDIST number of tries given a
prob_success,
population of a certain
cumulative)
size containing a
certain number of
successes, with
replacement of draws.
Learn more
CHISQ.TEST(observed
Statistical CHISQ.TEST _range, See CHITEST
expected_range)
CONFIDENCE(alpha, See
Statistical CONFIDENCE standard_deviation, CONFIDENCE.NORM
pop_size)
Calculates r, the
Pearson product-
CORREL(data_y,
Statistical CORREL moment correlation
data_x)
coefficient of a
dataset. Learn more
Calculates the
COVAR(data_y,
Statistical COVAR covariance of a
data_x)
dataset. Learn more
COVARIANCE.P(data_y
Statistical COVARIANCE.P See COVAR
, data_x)
Calculates the
covariance of a
COVARIANCE.S(data_y dataset, where the
Statistical COVARIANCE.S
, data_x) dataset is a sample of
the total population.
Learn more .
EXPONDIST(x,
Statistical EXPONDIST See EXPON.DIST
LAMBDA, cumulative)
F.TEST(range1,
Statistical F.TEST See FTEST.
range2)
FDIST(x,
Statistical FDIST degrees_freedom1, See F.DIST.RT .
degrees_freedom2)
FINV(probability,
Statistical FINV degrees_freedom1, See F.INV.RT
degrees_freedom2)
Calculates the
expected y-value for a
FORECAST(x, data_y,
Statistical FORECAST specified x based on a
data_x)
linear regression of a
dataset. Learn more
FORECAST.LINEAR(x,
Statistical FORECAST.LINEAR See FORECAST
data_y, data_x)
The GAMMA.INV
function returns the
value of the inverse
gamma cumulative
GAMMA.INV(probabili
Statistical GAMMA.INV distribution function
ty, alpha, beta)
for the specified
probability and alpha
and beta parameters.
Learn more .
GAMMADIST(x, alpha,
Statistical GAMMADIST See GAMMA.DIST
beta, cumulative)
GAMMAINV(probabilit
Statistical GAMMAINV See GAMMA.INV .
y, alpha, beta)
Type Name Syntax Description
Calculates the
GEOMEAN(value1,
Statistical GEOMEAN geometric mean of a
value2)
dataset. Learn more
Calculates the
HARMEAN(value1,
Statistical HARMEAN harmonic mean of a
value2)
dataset. Learn more
HYPGEOM.DIST(num_su
ccesses, num_draws,
Statistical HYPGEOM.DIST See HYPGEOMDIST
successes_in_pop,
pop_size)
Calculates the
probability of drawing
a certain number of
successes in a certain
HYPGEOMDIST(num_suc
number of tries given a
cesses, num_draws,
Statistical HYPGEOMDIST population of a certain
successes_in_pop,
size containing a
pop_size)
certain number of
successes, without
replacement of draws.
Learn more
LOGNORM.DIST(x,
Statistical LOGNORM.DIST mean, See LOGNORMDIST
standard_deviation)
LOGNORM.INV(x,
Statistical LOGNORM.INV mean, See LOGINV
standard_deviation)
MODE.SNGL(value1,
Statistical MODE.SNGL See MODE
[value2, ...])
NEGBINOM.DIST(num_f
ailures, See NEGBINOMDIST
Statistical NEGBINOM.DIST
num_successes,
prob_success)
Calculates the
probability of drawing
a certain number of
NEGBINOMDIST(num_fa
failures before a
ilures,
Statistical NEGBINOMDIST certain number of
num_successes,
successes given a
prob_success)
probability of success
in independent trials.
Learn more
NORM.DIST(x, mean,
Statistical NORM.DIST standard_deviation, See NORMDIST
cumulative)
NORM.INV(x, mean,
Statistical NORM.INV See NORMINV
standard_deviation)
Calculates r, the
Pearson product-
PEARSON(data_y,
Statistical PEARSON moment correlation
data_x)
coefficient of a
dataset. Learn more
PERCENTILE.INC(data
Statistical PERCENTILE.INC See PERCENTILE
, percentile)
Returns the
PERCENTRANK(data,
percentage rank
value,
Statistical PERCENTRANK (percentile) of a
[significant_digits
specified value in a
])
dataset. Learn more
Returns the
PERCENTRANK.INC(dat percentage rank
a, value, (percentile) from 0 to 1
Statistical PERCENTRANK.INC
[significant_digits inclusive of a specified
]) value in a dataset.
Learn more
POISSON(x, mean,
Statistical POISSON See POISSON.DIST
cumulative)
Returns a value
QUARTILE(data, nearest to a specified
Statistical QUARTILE
quartile_number) quartile of a dataset.
Learn more
QUARTILE.INC(data,
Statistical QUARTILE.INC See QUARTILE
quartile_number)
Calculates the
skewness of a dataset,
SKEW(value1, which describes the
Statistical SKEW
value2) symmetry of that
dataset about the
mean. Learn more
Type Name Syntax Description
Calculates the
skewness of a dataset
SKEW.P(value1, that represents the
Statistical SKEW.P
value2) entire
population. Learn more
.
Calculates the
normalized equivalent
STANDARDIZE(value, of a random variable
Statistical STANDARDIZE mean, given mean and
standard_deviation) standard deviation of
the distribution. Learn
more
Calculates the
STDEV(value1, standard deviation
Statistical STDEV
[value2, ...]) based on a sample.
Learn more
STDEV.P(value1,
Statistical STDEV.P See STDEVP
[value2, ...])
STDEV.S(value1,
Statistical STDEV.S See STDEV
[value2, ...])
Calculates the
standard deviation
STDEVA(value1, based on a sample,
Statistical STDEVA
value2) setting text to the
value `0`. Learn more
Calculates the
standard deviation
STDEVP(value1,
Statistical STDEVP based on an entire
value2)
population. Learn more
Calculates the
standard error of the
STEYX(data_y, predicted y-value for
Statistical STEYX
data_x) each x in the
regression of a
dataset. Learn more
Calculates the
negative inverse of the
T.INV(probability,
Statistical T.INV one-tailed TDIST
degrees_freedom)
function. Learn more
Calculates the
TDIST(x, probability for
Statistical TDIST degrees_freedom, Student's t-distribution
tails) with a given input (x).
Learn more
Type Name Syntax Description
TINV(probability,
Statistical TINV See T.INV.2T
degrees_freedom)
TTEST(range1,
Statistical TTEST range2, tails, See T.TEST .
type)
Calculates the
VAR(value1,
Statistical VAR variance based on a
[value2, ...])
sample. Learn more
VAR.P(value1,
Statistical VAR.P See VARP
[value2, ...])
VAR.S(value1,
Statistical VAR.S See VAR
[value2, ...])
Calculates an estimate
of variance based on a
VARA(value1,
Statistical VARA sample, setting text to
value2)
the value `0`. Learn
more
Calculates the
VARP(value1, variance based on an
Statistical VARP
value2) entire population.
Learn more
Calculates the
variance based on an
VARPA(value1, entire population,
Statistical VARPA
value2,...) setting text to the
value `0`. Learn more
WEIBULL.DIST(x,
Statistical WEIBULL.DIST shape, scale, See WEIBULL
cumulative)
Type Name Syntax Description
ZTEST(data, value,
Statistical ZTEST [standard_deviation See Z.TEST .
])
Converts full-width
ASCII and katakana
characters to their
half-width
Text ASC ASC(text) counterparts. All
standard-width
characters will remain
unchanged. Learn
more.
Concatenates the
JOIN(delimiter, elements of one or
value_or_array1, more one-dimensional
Text JOIN
[value_or_array2, arrays using a
...]) specified delimiter.
Learn more
Returns a substring
LEFT(string,
from the beginning of
Text LEFT [number_of_characte
a specified string.
rs])
Learn more
Converts a specified
Text LOWER LOWER(text) string to lowercase.
Learn more
MID(string,
Returns a segment of a
Text MID starting_at,
string. Learn more
extract_length)
Extracts matching
substrings according
REGEXEXTRACT(text,
Text REGEXEXTRACT to a regular
regular_expression)
expression. Learn more
Whether a piece of
REGEXMATCH(text, text matches a regular
Text REGEXMATCH
regular_expression) expression. Learn more
REPT(text_to_repeat
Returns specified text
,
Text REPT repeated a number of
number_of_repetitio
times. Learn more
ns)
Returns a substring
RIGHT(string,
from the end of a
Text RIGHT [number_of_characte
specified string. Learn
rs])
more
Formats a number in
ROMAN(number,
Text ROMAN Roman numerals.
[rule_relaxation])
Learn more
Type Name Syntax Description
SUBSTITUTE(text_to_
search, search_for, Replaces existing text
Text SUBSTITUTE replace_with, with new text in a
[occurrence_number] string. Learn more
)
Returns string
Text T T(value) arguments as text.
Learn more
Converts a number
TEXT(number, into text according to a
Text TEXT
format) specified format. Learn
more
Converts a specified
Text UPPER UPPER(text) string to uppercase.
Learn more
Converts a string in
any of the date, time or
number formats that
Text VALUE VALUE(text)
Google Sheets
understands into a
number. Learn more
Encodes a string of
text for the purpose of
Web ENCODEURL ENCODEURL(text)
using in a URL
query. Learn more .
Creates a hyperlink
HYPERLINK(url,
Web HYPERLINK inside a cell. Learn
[link_label])
more
IMPORTFEED(url,
Imports a RSS or ATOM
Web IMPORTFEED [query], [headers],
feed. Learn more
[num_items])
Imports a range of
IMPORTRANGE(spreads
cells from a specified
Web IMPORTRANGE heet_url,
spreadsheet. Learn
range_string)
more
Tip: You can't use some functions from other spreadsheet programs. Learn more about
unsupported functions in Sheets.
This document contains modified content from Appendix B of the OpenOffice.org "Calc Guide,"
available at https://wiki.openoffice.org/w/images/b/b3/0300CS3-CalcGuide.pdf. This content is
licensed under the Creative Commons Attribution License, version 2.0, available at
https://creativecommons.org/licenses/by/2.0/legalcode.
We have made slight modifications to syntax and descriptions to fit the format of this table and
match the functions' implementation and use in Google spreadsheets.
The copyright notice found in the OpenOffice.org "Calc Guide" is included in its complete form
below.
Copyright
This document is Copyright © 2005 by its contributors as listed in the section titled Authors. You
can distribute it and/or modify it under the terms of either the GNU General Public License,
version 2 or later (https://www.gnu.org/licenses/gpl.html), or the Creative Commons Attribution
License, version 2.0 or later (https://creativecommons.org/licenses/by/2.0/).
Authors
• Magnus Adielsson
• Richard Barnes
• Peter Kupfer
• Iain Roberts
• Jean Hollis Weber