Google Sheets Functions

Google Sheets has hundreds of built-in functions, and finding the right one can feel like searching for a needle in a haystack.

This page is a complete, categorized index of every function in Google Sheets, sourced directly from Google’s official documentation. Each function name links (or will link, as we publish individual tutorials) to a full guide with syntax, examples, and common use cases.

Use the categories below to jump straight to the type of function you need.

Lookup and Reference

These functions help you find data, navigate ranges, and pull values from one location into another. If you work with large datasets, you’ll live in this section.

FunctionDescription
ADDRESSReturns a cell reference as a string.
CHOOSEReturns an element from a list of choices based on an index.
COLUMNReturns the column number of a specified cell.
COLUMNSReturns the number of columns in a specified array or range.
FORMULATEXTReturns the formula as a string.
GETPIVOTDATAExtracts an aggregated value from a pivot table.
HLOOKUPSearches across the first row for a key and returns the matching value.
INDEXReturns the content of a cell at a given row and column offset.
INDIRECTReturns a cell reference specified by a string.
LOOKUPLooks through a row or column for a key and returns the matching value.
MATCHReturns the relative position of an item that matches a specified value.
OFFSETReturns a range reference shifted a specified number of rows and columns.
ROWReturns the row number of a specified cell.
ROWSReturns the number of rows in a specified array or range.
SHEETReturns the sheet number of the specified sheet or reference.
VLOOKUPSearches down the first column for a key and returns the matching value.
XLOOKUPReturns values from a result range based on the position of the matched key.

Math

The everyday math toolkit. Sums, rounding, trig, and a few specialized helpers for working with numbers.

FunctionDescription
ABSReturns the absolute value of a number.
ACOSReturns the inverse cosine of a value, in radians.
ACOSHReturns the inverse hyperbolic cosine of a number.
ACOTReturns the inverse cotangent of a value, in radians.
ACOTHReturns the inverse hyperbolic cotangent of a value, in radians.
ASINReturns the inverse sine of a value, in radians.
ASINHReturns the inverse hyperbolic sine of a number.
ATANReturns the inverse tangent of a value, in radians.
ATAN2Returns the angle between the x-axis and a line segment from the origin.
ATANHReturns the inverse hyperbolic tangent of a number.
BASEConverts a number into a text representation in another base.
CEILINGRounds a number up to the nearest integer multiple of significance.
CEILING.MATHRounds up to the nearest integer multiple with specified significance.
CEILING.PRECISERounds up to the nearest integer multiple of significance.
COMBINReturns the number of ways to choose objects from a pool.
COMBINAReturns the number of ways to choose objects including repetition.
COSReturns the cosine of an angle provided in radians.
COSHReturns the hyperbolic cosine of any real number.
COTReturns the cotangent of an angle provided in radians.
COTHReturns the hyperbolic cotangent of any real number.
COUNTBLANKReturns the number of empty cells in a given range.
COUNTIFReturns a conditional count across a range.
COUNTIFSReturns the count of a range depending on multiple criteria.
COUNTUNIQUECounts the number of unique values in a list of values or ranges.
CSCReturns the cosecant of an angle provided in radians.
CSCHReturns the hyperbolic cosecant of any real number.
DECIMALConverts the text representation of a number in another base to base 10.
DEGREESConverts an angle value in radians to degrees.
ERFCReturns the complementary Gauss error function of a value.
ERFC.PRECISEReturns the complementary Gauss error function of a value.
EVENRounds a number up to the nearest even integer.
EXPReturns Euler’s number, e, raised to a power.
FACTReturns the factorial of a number.
FACTDOUBLEReturns the double factorial of a number.
FLOORRounds a number down to the nearest integer multiple of significance.
FLOOR.MATHRounds down to the nearest integer multiple with specified significance.
FLOOR.PRECISERounds down to the nearest integer or multiple of significance.
GAMMALNReturns the logarithm of a Gamma function, base e.
GAMMALN.PRECISEReturns the logarithm of a Gamma function, base e.
GCDReturns the greatest common divisor of one or more integers.
INTRounds a number down to the nearest integer less than or equal to it.
ISEVENChecks whether the provided value is even.
ISO.CEILINGRounds up to the nearest integer multiple of significance.
ISODDChecks whether the provided value is odd.
LCMReturns the least common multiple of one or more integers.
LNReturns the logarithm of a number, base e.
LOGReturns the logarithm of a number given a base.
LOG10Returns the logarithm of a number, base 10.
MODReturns the remainder after a division operation.
MROUNDRounds one number to the nearest integer multiple of another.
MULTINOMIALReturns the factorial of the sum divided by the product of factorials.
MUNITReturns a unit matrix of size dimension by dimension.
ODDRounds a number up to the nearest odd integer.
PIReturns the value of Pi to 14 decimal places.
POWERReturns a number raised to a power.
PRODUCTReturns the result of multiplying a series of numbers.
QUOTIENTReturns one number divided by another.
RADIANSConverts an angle value in degrees to radians.
RANDReturns a random number between 0 inclusive and 1 exclusive.
RANDARRAYGenerates an array of random numbers between 0 and 1.
RANDBETWEENReturns a uniformly random integer between two values, inclusive.
ROUNDRounds a number to a certain number of decimal places.
ROUNDDOWNRounds down to a certain number of decimal places.
ROUNDUPRounds up to a certain number of decimal places.
SECReturns the secant of an angle, measured in radians.
SECHReturns the hyperbolic secant of an angle.
SEQUENCEReturns an array of sequential numbers such as 1, 2, 3, 4.
SERIESSUMReturns the sum of a power series.
SIGNReturns -1 if negative, 1 if positive, and 0 if zero.
SINReturns the sine of an angle provided in radians.
SINHReturns the hyperbolic sine of any real number.
SQRTReturns the positive square root of a positive number.
SQRTPIReturns the positive square root of the product of Pi and the number.
SUBTOTALReturns a subtotal for a vertical range using a specified function.
SUMReturns the sum of a series of numbers or cells.
SUMIFReturns a conditional sum across a range.
SUMIFSReturns the sum of a range depending on multiple criteria.
SUMSQReturns the sum of the squares of a series of numbers or cells.
TANReturns the tangent of an angle provided in radians.
TANHReturns the hyperbolic tangent of any real number.
TRUNCTruncates a number to a certain number of significant digits.

Statistical

Averages, distributions, regressions, and the rest of the statistics shelf. Useful for analysts, researchers, and anyone summarizing data.

FunctionDescription
AVEDEVCalculates the average of the magnitudes of deviations from the mean.
AVERAGEReturns the numerical average value in a dataset, ignoring text.
AVERAGE.WEIGHTEDFinds the weighted average of a set of values.
AVERAGEAReturns the numerical average value in a dataset.
AVERAGEIFReturns the average of a range depending on criteria.
AVERAGEIFSReturns the average of a range depending on multiple criteria.
BETA.DISTReturns the probability of a given value as defined by the beta distribution.
BETA.INVReturns the value of the inverse beta distribution function.
BETADISTReturns the probability of a given value as defined by the beta distribution.
BETAINVReturns the value of the inverse beta distribution function.
BINOM.DISTCalculates the probability of drawing a certain number of successes.
BINOM.INVReturns the smallest value for which the cumulative distribution is greater than a criterion.
BINOMDISTCalculates the probability of drawing successes with replacement.
CHIDISTCalculates the right-tailed chi-squared distribution.
CHIINVCalculates the inverse of the right-tailed chi-squared distribution.
CHISQ.DISTCalculates the left-tailed chi-squared distribution.
CHISQ.DIST.RTCalculates the right-tailed chi-squared distribution.
CHISQ.INVCalculates the inverse of the left-tailed chi-squared distribution.
CHISQ.INV.RTCalculates the inverse of the right-tailed chi-squared distribution.
CHISQ.TESTReturns the probability associated with a Pearson’s chi-squared test.
CHITESTReturns the probability associated with a Pearson’s chi-squared test.
CONFIDENCECalculates the width of half the confidence interval.
CONFIDENCE.NORMCalculates the width of half the confidence interval for a normal distribution.
CONFIDENCE.TCalculates the width of half the confidence interval for a Student’s t-distribution.
CORRELCalculates r, the Pearson product-moment correlation coefficient.
COUNTReturns a count of the number of numeric values in a dataset.
COUNTAReturns a count of the number of values in a dataset.
COVARCalculates the covariance of a dataset.
COVARIANCE.PCalculates the covariance of a dataset treated as a population.
COVARIANCE.SCalculates the covariance of a dataset treated as a sample.
CRITBINOMCalculates the smallest value for which the cumulative binomial distribution is greater than a criterion.
DEVSQCalculates the sum of squares of deviations based on a sample.
EXPON.DISTReturns the value of the exponential distribution function.
EXPONDISTReturns the value of the exponential distribution function.
F.DISTCalculates the left-tailed F probability distribution.
F.DIST.RTCalculates the right-tailed F probability distribution.
F.INVCalculates the inverse of the left-tailed F probability distribution.
F.INV.RTCalculates the inverse of the right-tailed F probability distribution.
F.TESTReturns the probability associated with an F-test for equality of variances.
FDISTCalculates the right-tailed F probability distribution.
FINVCalculates the inverse of the right-tailed F probability distribution.
FISHERReturns the Fisher transformation of a specified value.
FISHERINVReturns the inverse Fisher transformation of a specified value.
FORECASTCalculates the expected y-value for a specified x based on a linear regression.
FORECAST.LINEARCalculates the expected y-value for a specified x based on a linear regression.
FTESTReturns the probability associated with an F-test for equality of variances.
GAMMAReturns the Gamma function evaluated at the specified value.
GAMMA.DISTCalculates the gamma distribution.
GAMMA.INVReturns the value of the inverse gamma cumulative distribution function.
GAMMADISTCalculates the gamma distribution.
GAMMAINVReturns the value of the inverse gamma cumulative distribution function.
GAUSSReturns the probability that a random variable will be within a range of the mean.
GEOMEANCalculates the geometric mean of a dataset.
HARMEANCalculates the harmonic mean of a dataset.
HYPGEOM.DISTCalculates the probability of drawing successes without replacement.
HYPGEOMDISTCalculates the probability of drawing successes without replacement.
INTERCEPTCalculates the y-value where the regression line intersects the y-axis.
KURTCalculates the kurtosis of a dataset.
LARGEReturns the nth largest element from a dataset.
LOGINVReturns the value of the inverse log-normal cumulative distribution.
LOGNORM.DISTReturns the value of the log-normal cumulative distribution.
LOGNORM.INVReturns the value of the inverse log-normal cumulative distribution.
LOGNORMDISTReturns the value of the log-normal cumulative distribution.
MARGINOFERRORCalculates the amount of random sampling error given a range of values.
MAXReturns the maximum value in a numeric dataset.
MAXAReturns the maximum numeric value in a dataset, treating text as 0.
MAXIFSReturns the maximum value in a range filtered by criteria.
MEDIANReturns the median value in a numeric dataset.
MINReturns the minimum value in a numeric dataset.
MINAReturns the minimum numeric value in a dataset, treating text as 0.
MINIFSReturns the minimum value in a range filtered by criteria.
MODEReturns the most commonly occurring value in a dataset.
MODE.MULTReturns the most commonly occurring values in a dataset.
MODE.SNGLReturns the most commonly occurring value in a dataset.
NEGBINOM.DISTCalculates the probability of drawing failures before successes.
NEGBINOMDISTCalculates the probability of drawing failures before successes.
NORM.DISTReturns the value of the normal distribution function.
NORM.INVReturns the value of the inverse normal distribution function.
NORM.S.DISTReturns the value of the standard normal cumulative distribution.
NORM.S.INVReturns the value of the inverse standard normal distribution.
NORMDISTReturns the value of the normal distribution function.
NORMINVReturns the value of the inverse normal distribution function.
NORMSDISTReturns the value of the standard normal cumulative distribution.
NORMSINVReturns the value of the inverse standard normal distribution.
PEARSONCalculates r, the Pearson product-moment correlation coefficient.
PERCENTILEReturns the value at a given percentile of a dataset.
PERCENTILE.EXCReturns the value at a percentile exclusive of 0 and 1.
PERCENTILE.INCReturns the value at a given percentile of a dataset.
PERCENTRANKReturns the percentage rank of a specified value.
PERCENTRANK.EXCReturns the percentage rank from 0 to 1, exclusive.
PERCENTRANK.INCReturns the percentage rank from 0 to 1, inclusive.
PERMUTReturns the number of ways to choose objects, considering order.
PERMUTATIONAReturns the number of permutations with replacement.
PHIReturns the value of the normal distribution with mean 0 and standard deviation 1.
POISSONReturns the value of the Poisson distribution function.
POISSON.DISTReturns the value of the Poisson distribution function.
PROBCalculates the probability that a value falls between two limits.
QUARTILEReturns a value nearest to a specified quartile.
QUARTILE.EXCReturns the value nearest to a quartile, exclusive of 0 and 4.
QUARTILE.INCReturns a value nearest to a specified quartile.
RANKReturns the rank of a specified value in a dataset.
RANK.AVGReturns the rank of a value; if tied, returns the average rank of the entries.
RANK.EQReturns the rank of a value; if tied, returns the top rank of the entries.
RSQCalculates the square of r, the Pearson product-moment correlation.
SKEWCalculates the skewness of a dataset.
SKEW.PCalculates the skewness of a dataset representing the entire population.
SLOPECalculates the slope of the line resulting from linear regression.
SMALLReturns the nth smallest element from a dataset.
STANDARDIZECalculates the normalized equivalent of a random variable.
STDEVCalculates the standard deviation based on a sample.
STDEV.PCalculates the standard deviation based on an entire population.
STDEV.SCalculates the standard deviation based on a sample.
STDEVACalculates standard deviation based on a sample, treating text as 0.
STDEVPCalculates the standard deviation based on an entire population.
STDEVPACalculates standard deviation based on a population, treating text as 0.
STEYXCalculates the standard error of the predicted y-value.
T.DISTReturns the right-tailed Student distribution for a value x.
T.DIST.2TReturns the two-tailed Student distribution for a value x.
T.DIST.RTReturns the right-tailed Student distribution for a value x.
T.INVCalculates the negative inverse of the one-tailed TDIST function.
T.INV.2TCalculates the inverse of the two-tailed TDIST function.
T.TESTReturns the probability associated with Student’s t-test.
TDISTCalculates the probability for Student’s t-distribution.
TINVCalculates the inverse of the two-tailed TDIST function.
TRIMMEANCalculates the mean excluding some proportion from the ends of the data.
TTESTReturns the probability associated with Student’s t-test.
VARCalculates the variance based on a sample.
VAR.PCalculates the variance based on an entire population.
VAR.SCalculates the variance based on a sample.
VARACalculates an estimate of variance based on a sample.
VARPCalculates the variance based on an entire population.
VARPACalculates variance based on a population, treating text as 0.
WEIBULLReturns the value of the Weibull distribution function.
WEIBULL.DISTReturns the value of the Weibull distribution function.
Z.TESTReturns the one-tailed P-value of a Z-test.
ZTESTReturns the one-tailed P-value of a Z-test.

Text

Functions for working with strings. Cleaning, splitting, joining, searching, formatting, and pattern matching.

FunctionDescription
ARABICComputes the value of a Roman numeral.
ASCConverts full-width ASCII and katakana characters to half-width counterparts.
CHARConverts a number into a character according to the Unicode table.
CLEANReturns text with non-printable ASCII characters removed.
CODEReturns the numeric Unicode map value of the first character.
CONCATENATEAppends strings to one another.
DOLLARFormats a number into the locale-specific currency format.
EXACTTests whether two strings are identical.
FINDReturns the position at which a string is first found within text.
FINDBReturns the position counting each double-character as 2.
FIXEDFormats a number with a fixed number of decimal places.
JOINConcatenates elements of arrays using a specified delimiter.
LEFTReturns a substring from the beginning of a specified string.
LEFTBReturns the left portion of a string up to a certain number of bytes.
LENReturns the length of a string.
LENBReturns the length of a string in bytes.
LOWERConverts a specified string to lowercase.
MIDReturns a segment of a string.
MIDBReturns a section of a string up to a specified number of bytes.
PROPERCapitalizes each word in a specified string.
REGEXEXTRACTExtracts matching substrings according to a regular expression.
REGEXMATCHReturns whether a piece of text matches a regular expression.
REGEXREPLACEReplaces part of a text using regular expressions.
REPLACEReplaces part of a text string with a different text string.
REPLACEBReplaces part of text based on a number of bytes.
REPTReturns specified text repeated a number of times.
RIGHTReturns a substring from the end of a specified string.
RIGHTBReturns the right portion of a string up to a certain number of bytes.
ROMANFormats a number in Roman numerals.
SEARCHReturns the position at which a string is first found within text, ignoring case.
SEARCHBReturns the position counting each double-character as 2.
SPLITDivides text around a specified character or string.
SUBSTITUTEReplaces existing text with new text in a string.
TReturns string arguments as text.
TEXTConverts a number into text according to a specified format.
TEXTJOINCombines text from multiple strings with a specifiable delimiter.
TRIMRemoves leading and trailing spaces in a specified string.
UNICHARReturns the Unicode character for a number.
UNICODEReturns the decimal Unicode value of the first character.
UPPERConverts a specified string to uppercase.
VALUEConverts a string in date, time, or number format to a number.

Date and Time

Anything involving dates, times, weekdays, and working-day calculations.

FunctionDescription
DATEConverts a provided year, month, and day into a date.
DATEDIFCalculates the number of days, months, or years between two dates.
DATEVALUEConverts a provided date string in a known format to a date value.
DAYReturns the day of the month that a specific date falls on, in numeric format.
DAYSReturns the number of days between two dates.
DAYS360Returns the difference between two days based on the 360-day year.
EDATEReturns a date a specified number of months before or after another date.
EOMONTHReturns a date representing the last day of a month.
EPOCHTODATEConverts a Unix epoch timestamp to a datetime in UTC.
HOURReturns the hour component of a specific time, in numeric format.
ISOWEEKNUMReturns the number of the ISO week of the year.
MINUTEReturns the minute component of a specific time, in numeric format.
MONTHReturns the month of the year a specific date falls in.
NETWORKDAYSReturns the number of net working days between two provided days.
NETWORKDAYS.INTLReturns net working days excluding specified weekend days and holidays.
NOWReturns the current date and time as a date value.
SECONDReturns the second component of a specific time, in numeric format.
TIMEConverts a provided hour, minute, and second into a time.
TIMEVALUEReturns the fraction of a 24-hour day the time represents.
TODAYReturns the current date as a date value.
WEEKDAYReturns a number representing the day of the week of the date provided.
WEEKNUMReturns a number representing the week of the year.
WORKDAYCalculates the end date after a specified number of working days.
WORKDAY.INTLCalculates the date after specified workdays, excluding weekends and holidays.
YEARReturns the year specified by a given date.
YEARFRACReturns the number of years between two dates using a day count convention.

Logical

True or false, if-then-else, and the building blocks of decision logic. Includes LAMBDA and LET for advanced formula authoring.

FunctionDescription
ANDReturns TRUE if all provided arguments are logically true.
FALSEReturns the logical value FALSE.
IFReturns one value if an expression is TRUE and another if FALSE.
IFERRORReturns the first argument if not an error; otherwise returns the second.
IFNAEvaluates a value; if #N/A, returns the specified value.
IFSEvaluates multiple conditions and returns a value for the first true condition.
LAMBDACreates and returns a custom function with a set of names and a formula expression.
LETAssigns names with value expressions and returns the result of a formula expression.
NOTReturns the opposite of a logical value.
ORReturns TRUE if any provided argument is logically true.
SWITCHTests an expression against cases and returns the corresponding value.
TRUEReturns the logical value TRUE.
XORPerforms exclusive OR, returning 1 if numbers differ and 0 otherwise.

Filter

A small but powerful group for filtering, sorting, and deduplicating data.

FunctionDescription
FILTERReturns a filtered version of the source range, including only rows or columns that meet conditions.
SORTSorts the rows of a given array or range by the values in one or more columns.
SORTNReturns the first n items in a dataset after performing a sort.
UNIQUEReturns unique rows in the provided source range, discarding duplicates.

Array

Modern array helpers. Reshape arrays, apply LAMBDA functions across them, stack and split ranges, and run matrix operations.

FunctionDescription
ARRAY_CONSTRAINConstrains an array result to a specified size.
BYCOLGroups an array by columns by applying a LAMBDA function to each column.
BYROWGroups an array by rows by applying a LAMBDA function to each row.
CHOOSECOLSCreates a new array from the selected columns of an existing range.
CHOOSEROWSCreates a new array from the selected rows of an existing range.
FLATTENFlattens all values from one or more ranges into a single column.
FREQUENCYCalculates the frequency distribution of a one-column array into specified classes.
GROWTHFits an exponential growth trend and predicts further values.
HSTACKAppends ranges horizontally to return a larger array.
LINESTCalculates parameters about an ideal linear trend using least squares.
LOGESTCalculates parameters about the best fit exponential growth curve.
MAKEARRAYReturns an array with values calculated by a LAMBDA function.
MAPMaps each value in arrays to a new value by applying a LAMBDA function.
MDETERMReturns the matrix determinant of a square matrix.
MINVERSEReturns the multiplicative inverse of a square matrix.
MMULTCalculates the matrix product of two matrices.
REDUCEReduces an array to an accumulated result by applying a LAMBDA function.
SCANScans an array and produces intermediate values by applying a LAMBDA function.
SUMPRODUCTCalculates the sum of products of corresponding entries in equally-sized ranges.
SUMX2MY2Calculates the sum of differences of the squares of values in two arrays.
SUMX2PY2Calculates the sum of the sums of the squares of values in two arrays.
SUMXMY2Calculates the sum of the squares of differences of values in two arrays.
TOCOLTransforms an array or range into a single column.
TOROWTransforms an array or range into a single row.
TRANSPOSETransposes the rows and columns of an array or range.
TRENDFits an ideal linear trend using least squares to predict future values.
VSTACKAppends ranges vertically to return a larger array.
WRAPCOLSWraps cells by columns after a specified number of elements.
WRAPROWSWraps cells by rows after a specified number of elements.

Info

Inspect what’s in a cell. Type checks, error checks, and metadata about the spreadsheet itself.

FunctionDescription
CELLReturns the requested information about the specified cell.
ERROR.TYPEReturns a number corresponding to the error value in a different cell.
ISBLANKChecks whether the referenced cell is empty.
ISDATEReturns whether a value is a date.
ISEMAILChecks whether a value is a valid email address.
ISERRChecks whether a value is an error other than #N/A.
ISERRORChecks whether a value is an error.
ISFORMULAChecks whether a formula is in the referenced cell.
ISLOGICALChecks whether a value is TRUE or FALSE.
ISNAChecks whether a value is the error #N/A.
ISNONTEXTChecks whether a value is non-textual.
ISNUMBERChecks whether a value is a number.
ISREFChecks whether a value is a valid cell reference.
ISTEXTChecks whether a value is text.
NReturns the argument provided as a number.
NAReturns the “value not available” error #N/A.
SHEETSReturns the total number of sheets in the referenced spreadsheet.
TYPEReturns a number associated with the type of data passed into the function.

Financial

Loans, investments, depreciation, securities, and the rest of the finance department.

FunctionDescription
ACCRINTCalculates the accrued interest of a security with periodic payments.
ACCRINTMCalculates the accrued interest of a security paying at maturity.
AMORLINCReturns the depreciation for an accounting period.
COUPDAYBSCalculates the number of days from the first coupon until settlement.
COUPDAYSCalculates the number of days in the coupon period.
COUPDAYSNCCalculates the number of days from settlement until the next coupon.
COUPNCDCalculates the next coupon date after the settlement date.
COUPNUMCalculates the number of coupons between settlement and maturity.
COUPPCDCalculates the last coupon date before the settlement date.
CUMIPMTCalculates cumulative interest over a range of payment periods.
CUMPRINCCalculates cumulative principal paid over a range of payment periods.
DBCalculates depreciation using the arithmetic declining balance method.
DDBCalculates depreciation using the double-declining balance method.
DISCCalculates the discount rate of a security based on price.
DOLLARDEConverts a price quotation given as a decimal fraction into a decimal value.
DOLLARFRConverts a price quotation given as a decimal value into a decimal fraction.
DURATIONCalculates the number of compounding periods required for an investment.
EFFECTCalculates the annual effective interest rate.
FVCalculates the future value of an annuity investment.
FVSCHEDULECalculates the future value based on a series of variable interest rates.
INTRATECalculates the effective interest rate from purchase and sale prices.
IPMTCalculates the payment on interest for an investment.
IRRCalculates the internal rate of return on an investment.
ISPMTCalculates the interest paid during a particular period of an investment.
MDURATIONCalculates the modified Macaulay duration of a security.
MIRRCalculates the modified internal rate of return on an investment.
NOMINALCalculates the annual nominal interest rate.
NPERCalculates the number of payment periods for an investment.
NPVCalculates the net present value of an investment.
PDURATIONReturns the number of periods required for an investment to reach a value.
PMTCalculates the periodic payment for an annuity investment.
PPMTCalculates the payment on the principal of an investment.
PRICECalculates the price of a security paying periodic interest.
PRICEDISCCalculates the price of a discount security.
PRICEMATCalculates the price of a security paying interest at maturity.
PVCalculates the present value of an annuity investment.
RATECalculates the interest rate of an annuity investment.
RECEIVEDCalculates the amount received at maturity for an investment.
RRIReturns the interest rate needed for an investment to reach a value.
SLNCalculates depreciation using the straight-line method.
SYDCalculates depreciation using the sum-of-years digits method.
TBILLEQCalculates the equivalent annualized rate of a US Treasury Bill.
TBILLPRICECalculates the price of a US Treasury Bill.
TBILLYIELDCalculates the yield of a US Treasury Bill based on price.
VDBReturns the depreciation of an asset for a particular period.
XIRRCalculates the internal rate of return based on irregularly spaced cash flows.
XNPVCalculates the net present value based on irregularly spaced cash flows.
YIELDCalculates the annual yield of a security paying periodic interest.
YIELDDISCCalculates the annual yield of a discount security.
YIELDMATCalculates the annual yield of a security paying interest at maturity.

Database

A small set of “D” functions for querying a table-style range using criteria, similar to a mini SQL.

FunctionDescription
DAVERAGEReturns the average of values from a database table-like array.
DCOUNTCounts numeric values from a database table-like array.
DCOUNTACounts values including text from a database table-like array.
DGETReturns a single value from a database table-like array.
DMAXReturns the maximum value from a database table-like array.
DMINReturns the minimum value from a database table-like array.
DPRODUCTReturns the product of values from a database table-like array.
DSTDEVReturns the standard deviation of a sample from a database array.
DSTDEVPReturns the standard deviation of a population from a database array.
DSUMReturns the sum of values from a database table-like array.
DVARReturns the variance of a sample from a database table-like array.
DVARPReturns the variance of a population from a database table-like array.

Google

Functions unique to Google Sheets. These pull in external data, translate text, render images, and run powerful queries with QUERY.

FunctionDescription
ARRAYFORMULAEnables display of array formula values across multiple rows or columns.
DETECTLANGUAGEIdentifies the language used in text within a specified range.
GOOGLEFINANCEFetches current or historical securities information from Google Finance.
GOOGLETRANSLATETranslates text from one language into another.
IMAGEInserts an image into a cell.
QUERYRuns a Google Visualization API Query Language query across data.
SPARKLINECreates a miniature chart contained within a single cell.

AI

The newest addition. Use AI directly inside a cell to generate, summarize, and categorize text.

FunctionDescription
AIGenerates text, summarizes information, categorizes data, and pulls in real-time information.

Web

Pull data from the web into your spreadsheet, or work with URLs and feeds.

FunctionDescription
ENCODEURLEncodes a string of text for use in a URL query.
HYPERLINKCreates a hyperlink inside a cell.
IMPORTDATAImports data at a given URL in .csv or .tsv format.
IMPORTFEEDImports an RSS or ATOM feed.
IMPORTHTMLImports data from a table or list within an HTML page.
IMPORTRANGEImports a range of cells from a specified spreadsheet.
IMPORTXMLImports data from structured data types including XML and RSS.
ISURLChecks whether a value is a valid URL.

Engineering

Number-base conversions, bitwise operations, and a full suite of complex-number functions.

FunctionDescription
BIN2DECConverts a signed binary number to decimal format.
BIN2HEXConverts a signed binary number to signed hexadecimal format.
BIN2OCTConverts a signed binary number to signed octal format.
BITANDBitwise boolean AND of two numbers.
BITLSHIFTShifts the bits of the input a certain number of places to the left.
BITORBitwise boolean OR of two numbers.
BITRSHIFTShifts the bits of the input a certain number of places to the right.
BITXORBitwise XOR (exclusive OR) of two numbers.
COMPLEXCreates a complex number given real and imaginary coefficients.
DEC2BINConverts a decimal number to signed binary format.
DEC2HEXConverts a decimal number to signed hexadecimal format.
DEC2OCTConverts a decimal number to signed octal format.
DELTACompares two numeric values, returning 1 if they are equal.
ERFReturns the integral of the Gauss error function over an interval.
ERF.PRECISEReturns the integral of the Gauss error function over an interval.
GESTEPReturns 1 if a rate is greater than or equal to a step value.
HEX2BINConverts a signed hexadecimal number to signed binary format.
HEX2DECConverts a signed hexadecimal number to decimal format.
HEX2OCTConverts a signed hexadecimal number to signed octal format.
IMABSReturns the absolute value of a complex number.
IMAGINARYReturns the imaginary coefficient of a complex number.
IMARGUMENTReturns the angle of the given complex number in radians.
IMCONJUGATEReturns the complex conjugate of a number.
IMCOSReturns the cosine of the given complex number.
IMCOSHReturns the hyperbolic cosine of the given complex number.
IMCOTReturns the cotangent of the given complex number.
IMCOTHReturns the hyperbolic cotangent of the given complex number.
IMCSCReturns the cosecant of the given complex number.
IMCSCHReturns the hyperbolic cosecant of the given complex number.
IMDIVReturns one complex number divided by another.
IMEXPReturns Euler’s number, e, raised to a complex power.
IMLNReturns the logarithm of a complex number, base e.
IMLOGReturns the logarithm of a complex number for a specified base.
IMLOG10Returns the logarithm of a complex number with base 10.
IMLOG2Returns the logarithm of a complex number with base 2.
IMPOWERReturns a complex number raised to a power.
IMPRODUCTReturns the result of multiplying a series of complex numbers.
IMREALReturns the real coefficient of a complex number.
IMSECReturns the secant of the given complex number.
IMSECHReturns the hyperbolic secant of the given complex number.
IMSINReturns the sine of the given complex number.
IMSINHReturns the hyperbolic sine of the given complex number.
IMSQRTComputes the square root of a complex number.
IMSUBReturns the difference between two complex numbers.
IMSUMReturns the sum of a series of complex numbers.
IMTANReturns the tangent of the given complex number.
IMTANHReturns the hyperbolic tangent of the given complex number.
OCT2BINConverts a signed octal number to signed binary format.
OCT2DECConverts a signed octal number to decimal format.
OCT2HEXConverts a signed octal number to signed hexadecimal format.

Parser

Quick converters between numbers, dates, percentages, dollars, and pure text.

FunctionDescription
CONVERTConverts a numeric value to a different unit of measure.
TO_DATEConverts a provided number to a date.
TO_DOLLARSConverts a provided number to a dollar value.
TO_PERCENTConverts a provided number to a percentage.
TOPURENUMBERConverts formatted values to a pure number without formatting.
TO_TEXTConverts a provided numeric value to a text value.

Operator

The arithmetic and comparison operators (+, -, *, /, =, >, <) exposed as named functions. Useful for array-style formulas where you can’t use the symbols directly.

FunctionDescription
ADDReturns the sum of two numbers.
CONCATReturns the concatenation of two values.
DIVIDEReturns one number divided by another.
EQReturns TRUE if two specified values are equal.
GTReturns TRUE if the first argument is strictly greater than the second.
GTEReturns TRUE if the first argument is greater than or equal to the second.
ISBETWEENChecks whether a number is between two other numbers.
LTReturns TRUE if the first argument is strictly less than the second.
LTEReturns TRUE if the first argument is less than or equal to the second.
MINUSReturns the difference of two numbers.
MULTIPLYReturns the product of two numbers.
NEReturns TRUE if two specified values are not equal.
POWReturns a number raised to a power.
UMINUSReturns a number with the sign reversed.
UNARY_PERCENTReturns a value interpreted as a percentage.
UPLUSReturns a specified number, unchanged.