Function reference

Every worksheet function Nixt Sheets calculates, grouped by category, with its syntax and a one-line description.

Nixt Sheets calculates 478 worksheet functions. This page lists every one, grouped by category, with the syntax the app shows and what the function is for. For how to write formulas and insert functions, see Writing formulas.

Reading the syntax

  • Arguments in square brackets, such as [basis], are optional.
  • … means you can give more arguments of the same kind.
  • Separate arguments with commas.
  • Function names can be typed in any capitals.

Categories

CategoryFunctionsButton on the Formulas tab
Financial55Financial
Logical19Logical
Text46Text
Date and time25Date
Lookup and reference36Lookup
Maths and trigonometry81Maths
Statistical129Stats
Engineering54None — use the function browser
Information21None — use the function browser
Database12None — use the function browser

The category buttons on the Formulas tab and the function browser list most of these functions. The functions marked (typed only) work in formulas but are not listed in the function browser or the category dialogs; type them into a cell.

Financial

The app calls this category Financial. Open it with Formulas › Function library › Financial.

FunctionSyntaxWhat it does
ACCRINTACCRINT(issue, first, settlement, rate, par, frequency, [basis])Accrued interest for a security that pays periodically.
ACCRINTMACCRINTM(issue, settlement, rate, par, [basis])Accrued interest for a security that pays at maturity.
AMORDEGRCAMORDEGRC(cost, purchased, first, salvage, period, rate, [basis])French degressive depreciation, with the coefficient the asset’s life earns it.
AMORLINCAMORLINC(cost, purchased, first, salvage, period, rate, [basis])French linear depreciation, prorated in the first period.
COUPDAYBSCOUPDAYBS(settlement, maturity, frequency, [basis])Days from the last coupon to settlement.
COUPDAYSCOUPDAYS(settlement, maturity, frequency, [basis])Days in the coupon period containing settlement.
COUPDAYSNCCOUPDAYSNC(settlement, maturity, frequency, [basis])Days from settlement to the next coupon.
COUPNCDCOUPNCD(settlement, maturity, frequency, [basis])The coupon date after settlement.
COUPNUMCOUPNUM(settlement, maturity, frequency, [basis])How many coupons are left before maturity.
COUPPCDCOUPPCD(settlement, maturity, frequency, [basis])The coupon date on or before settlement.
CUMIPMTCUMIPMT(rate, nper, pv, start, end, type)The total interest paid between two periods.
CUMPRINCCUMPRINC(rate, nper, pv, start, end, type)The total principal repaid between two periods.
DBDB(cost, salvage, life, period, [month])Fixed-declining-balance depreciation for one period.
DDBDDB(cost, salvage, life, period, [factor])Declining-balance depreciation for one period.
DISCDISC(settlement, maturity, price, redemption, [basis])The discount rate of a security.
DOLLARDEDOLLARDE(fractional, fraction)Converts a price written as a fraction into a decimal.
DOLLARFRDOLLARFR(decimal, fraction)Converts a decimal price into one written as a fraction.
DURATIONDURATION(settlement, maturity, coupon, yield, frequency, [basis])Macaulay duration — the weighted average time to a bond’s cash flows.
EFFECTEFFECT(nominal_rate, npery)The real annual rate once compounding is counted.
FVFV(rate, nper, pmt, [pv], [type])What an investment will be worth.
FVSCHEDULEFVSCHEDULE(principal, schedule)The future value of a principal after a series of different rates.
INTRATEINTRATE(settlement, maturity, investment, redemption, [basis])The interest rate of a fully invested security.
IPMTIPMT(rate, per, nper, pv, [fv], [type])The interest part of one loan payment.
IRRIRR(values, [guess])The rate at which a set of cash flows breaks even.
ISPMTISPMT(rate, period, periods, presentValue)The interest paid in one period of a straight-line loan.
MDURATIONMDURATION(settlement, maturity, coupon, yield, frequency, [basis])Modified duration — the price sensitivity to a change in yield.
MIRRMIRR(values, finance_rate, reinvest_rate)A rate of return that separates borrowing cost from reinvestment.
NOMINALNOMINAL(effect_rate, npery)The quoted rate behind a real annual rate.
NPERNPER(rate, pmt, pv, [fv], [type])How many payments a loan takes.
NPVNPV(rate, value1, ...)The present value of a series of future cash flows.
ODDFPRICEODDFPRICE(settlement, maturity, issue, first_coupon, rate, yield, redemption, frequency, [basis])The price of a bond whose first coupon period is not a whole one.
ODDFYIELDODDFYIELD(settlement, maturity, issue, first_coupon, rate, price, redemption, frequency, [basis])The yield of a bond whose first coupon period is not a whole one.
ODDLPRICEODDLPRICE(settlement, maturity, last_interest, rate, yield, redemption, frequency, [basis])The price of a bond whose last coupon period is not a whole one.
ODDLYIELDODDLYIELD(settlement, maturity, last_interest, rate, price, redemption, frequency, [basis])The yield of a bond whose last coupon period is not a whole one.
PDURATIONPDURATION(rate, presentValue, futureValue)How many periods an investment needs to reach a value.
PMTPMT(rate, nper, pv, [fv], [type])The payment for a loan with constant payments and a constant rate.
PPMTPPMT(rate, per, nper, pv, [fv], [type])The principal part of one loan payment.
PRICEPRICE(settlement, maturity, rate, yield, redemption, frequency, [basis])The price per £100 of a bond that pays periodic interest.
PRICEDISCPRICEDISC(settlement, maturity, discount, redemption, [basis])The price per £100 of a discounted security.
PRICEMATPRICEMAT(settlement, maturity, issue, rate, yield, [basis])The price per £100 of a security that pays interest at maturity.
PVPV(rate, nper, pmt, [fv], [type])What a future stream of payments is worth today.
RATERATE(nper, pmt, pv, [fv], [type], [guess])The interest rate implied by a set of payments.
RECEIVEDRECEIVED(settlement, maturity, investment, discount, [basis])The amount received at maturity for a fully invested security.
RRIRRI(periods, presentValue, futureValue)The rate an investment must earn to reach a value.
SLNSLN(cost, salvage, life)Straight-line depreciation for one period.
SYDSYD(cost, salvage, life, period)Sum-of-years depreciation for one period.
TBILLEQTBILLEQ(settlement, maturity, discount)The bond-equivalent yield of a Treasury bill.
TBILLPRICETBILLPRICE(settlement, maturity, discount)The price per £100 of a Treasury bill.
TBILLYIELDTBILLYIELD(settlement, maturity, price)The yield of a Treasury bill.
VDBVDB(cost, salvage, life, start, end, [factor], [noSwitch])Declining-balance depreciation over a partial range of periods.
XIRRXIRR(values, dates, [guess])The rate of return for cash flows on specific dates.
XNPVXNPV(rate, values, dates)The present value of cash flows on specific dates.
YIELDYIELD(settlement, maturity, rate, price, redemption, frequency, [basis])The yield of a bond that pays periodic interest.
YIELDDISCYIELDDISC(settlement, maturity, price, redemption, [basis])The annual yield of a discounted security.
YIELDMATYIELDMAT(settlement, maturity, issue, rate, price, [basis])The yield of a security that pays interest at maturity.

Logical

The app calls this category Logical. Open it with Formulas › Function library › Logical.

FunctionSyntaxWhat it does
ANDAND(value1, ...)True when every one of them is true.
BYCOL (typed only)BYCOL(array, lambda)Applies a LAMBDA to each column of an array and returns one result per column.
BYROW (typed only)BYROW(array, lambda)Applies a LAMBDA to each row of an array and returns one result per row.
FALSEFALSE()The value FALSE.
IF (typed only)IF(logical_test, [value_if_true], [value_if_false])One value when a test is true and another when it is false. Only the branch it takes is calculated; with no values given it returns TRUE or FALSE.
IFERROR (typed only)IFERROR(value, [value_if_error])The value, or a replacement when it is any error. With no replacement given, an error becomes blank.
IFNA (typed only)IFNA(value, [value_if_na])The value, or a replacement when it is #N/A.
IFS (typed only)IFS(test1, value1, [test2, value2], …)The value paired with the first test that is true, or #N/A when none is.
LAMBDA (typed only)LAMBDA([parameter1, …], calculation)A function of your own. Saved as a defined name, it can be called like a built-in function.
LET (typed only)LET(name1, value1, …, calculation)Names intermediate results inside a formula, then calculates with them. A later value can use an earlier name.
MAKEARRAY (typed only)MAKEARRAY(rows, columns, lambda)Builds an array by calling a LAMBDA with each row and column number. Up to 100,000 cells.
MAP (typed only)MAP(array1, [array2, …], lambda)Applies a LAMBDA to each value, pairing up the values of several arrays, and returns an array of the results.
NOTNOT(value)Flips true to false.
OROR(value1, ...)True when any one of them is true.
REDUCE (typed only)REDUCE(initial_value, array, lambda)Runs a LAMBDA over each value, carrying an accumulated result from one to the next, and returns the final result.
SCAN (typed only)SCAN(initial_value, array, lambda)Like REDUCE, but returns every intermediate result — a running total, for example.
SWITCH (typed only)SWITCH(expression, value1, result1, …, [default])Compares an expression with a list of values and returns the result for the first match; the default, or #N/A, when nothing matches.
TRUETRUE()The value TRUE.
XORXOR(value1, ...)True when an odd number of them are true.

Text

The app calls this category Text. Open it with Formulas › Function library › Text.

FunctionSyntaxWhat it does
ARRAYTOTEXTARRAYTOTEXT(array, [format])An array written out as text.
ASCASC(text)Full-width characters turned into half-width ones.
BAHTTEXTBAHTTEXT(number)A number written out in Thai words, followed by the word baht.
CHARCHAR(number)The character with a given code.
CLEANCLEAN(text)Removes characters that do not print.
CODECODE(text)The code of the first character.
CONCATCONCAT(text1, …)Joins text together, ranges included.
CONCATENATECONCATENATE(text1, …)Joins text together.
DBCSDBCS(text)Half-width characters turned into full-width ones.
DOLLARDOLLAR(number, [decimals])Formats a number as currency text.
EXACTEXACT(text1, text2)Whether two pieces of text are identical, case included.
FINDFIND(find_text, within_text, [start])Where one piece of text appears inside another. Case matters.
FINDBFINDB(find_text, within_text, [start])The same as FIND. It counts bytes rather than characters, which differs only in Japanese, Chinese and Korean.
FIXEDFIXED(number, [decimals], [no_commas])Formats a number with a fixed number of decimals.
LEFTLEFT(text, [count])The first few characters.
LEFTBLEFTB(text, [count])The same as LEFT. It counts bytes rather than characters, which differs only in Japanese, Chinese and Korean.
LENLEN(text)How many characters are in the text.
LENBLENB(text)The same as LEN. It counts bytes rather than characters, which differs only in Japanese, Chinese and Korean.
LOWERLOWER(text)The text in lower case.
MIDMID(text, start, count)The characters from a position onwards.
MIDBMIDB(text, start, length)The same as MID. It counts bytes rather than characters, which differs only in Japanese, Chinese and Korean.
NUMBERVALUENUMBERVALUE(text, [decimal_separator], [group_separator])Turns text into a number using the separators you name.
PROPERPROPER(text)The text with each word capitalised.
REGEXEXTRACTREGEXEXTRACT(text, pattern, [returnMode], [caseSensitive])The part of the text a pattern matches.
REGEXREPLACEREGEXREPLACE(text, pattern, replacement, [occurrence], [caseSensitive])Replaces what a pattern matches.
REGEXTESTREGEXTEST(text, pattern, [caseSensitive])Whether a pattern matches anywhere in the text.
REPLACEREPLACE(text, start, count, new)Replaces characters at a position.
REPLACEBREPLACEB(old, start, length, new)The same as REPLACE. It counts bytes rather than characters, which differs only in Japanese, Chinese and Korean.
REPTREPT(text, count)Repeats text a number of times.
RIGHTRIGHT(text, [count])The last few characters.
RIGHTBRIGHTB(text, [count])The same as RIGHT. It counts bytes rather than characters, which differs only in Japanese, Chinese and Korean.
SEARCHSEARCH(find_text, within_text, [start])Where one piece of text appears inside another, ignoring case and allowing wildcards.
SEARCHBSEARCHB(find_text, within_text, [start])The same as SEARCH. It counts bytes rather than characters, which differs only in Japanese, Chinese and Korean.
SUBSTITUTESUBSTITUTE(text, old, new, [instance])Replaces one piece of text with another.
TT(value)The value if it is text, and nothing if it is not.
TEXTTEXT(value, format)Formats a number as text using a format code.
TEXTAFTERTEXTAFTER(text, delimiter, [instance])Everything after a separator.
TEXTBEFORETEXTBEFORE(text, delimiter, [instance])Everything before a separator.
TEXTJOINTEXTJOIN(delimiter, ignore_empty, text1, …)Joins text with a separator between each piece.
TEXTSPLITTEXTSPLIT(text, columnDelimiter, [rowDelimiter], [ignoreEmpty])Splits text across columns and rows.
TRIMTRIM(text)Removes leading, trailing and repeated spaces.
UNICHARUNICHAR(number)The character with a given Unicode code point.
UNICODEUNICODE(text)The Unicode code point of the first character.
UPPERUPPER(text)The text in capitals.
VALUEVALUE(text)Turns text that looks like a number into a number.
VALUETOTEXTVALUETOTEXT(value, [format])A value written out as text.

Date and time

The app calls this category Date & time. Open it with Formulas › Function library › Date.

FunctionSyntaxWhat it does
DATEDATE(year, month, day)Builds a date from its parts.
DATEDIFDATEDIF(start, end, unit)The gap between two dates in years, months or days.
DATEVALUEDATEVALUE(text)Turns a written date into a date value.
DAYDAY(date)The day of a date.
DAYSDAYS(end, start)How many days between two dates.
DAYS360DAYS360(start, end, [european])Days between two dates on a 360-day year.
EDATEEDATE(start, months)The same day a number of months later.
EOMONTHEOMONTH(start, months)The last day of the month a number of months away.
HOURHOUR(time)The hour of a time.
ISOWEEKNUMISOWEEKNUM(date)The ISO week number — the one used for reporting.
MINUTEMINUTE(time)The minute of a time.
MONTHMONTH(date)The month of a date.
NETWORKDAYSNETWORKDAYS(start, end, [holidays])Working days between two dates.
NETWORKDAYS.INTLNETWORKDAYS.INTL(start, end, [weekend], [holidays])Working days between two dates, with your own weekend.
NOWNOW()The current date and time.
SECONDSECOND(time)The second of a time.
TIMETIME(hour, minute, second)Builds a time from its parts.
TIMEVALUETIMEVALUE(text)Turns a written time into a time value.
TODAYTODAY()Today’s date.
WEEKDAYWEEKDAY(date, [type])Which day of the week a date is.
WEEKNUMWEEKNUM(date, [type])Which week of the year a date falls in.
WORKDAYWORKDAY(start, days, [holidays])The date a number of working days away.
WORKDAY.INTLWORKDAY.INTL(start, days, [weekend], [holidays])The date a number of working days away, with your own weekend.
YEARYEAR(date)The year of a date.
YEARFRACYEARFRAC(start, end, [basis])The fraction of a year between two dates.

Lookup and reference

The app calls this category Lookup & reference. Open it with Formulas › Function library › Lookup.

FunctionSyntaxWhat it does
ADDRESSADDRESS(row, column, [abs], [a1], [sheet])Builds a reference as text from a row and column number.
AREASAREAS(reference)How many areas a reference covers.
CHOOSE (typed only)CHOOSE(index, value1, [value2], …)The value at a position in the list of values. Only the chosen value is calculated.
CHOOSECOLSCHOOSECOLS(array, col1, …)Picks columns out of an array, in the order given.
CHOOSEROWSCHOOSEROWS(array, row1, …)Picks rows out of an array, in the order given.
COLUMNCOLUMN([reference])The column number of a cell, or of the formula itself.
COLUMNSCOLUMNS(array)How many columns a range has.
DROPDROP(array, rows, [columns])Drops rows from the start or, with a negative count, the end.
EXPANDEXPAND(array, rows, [columns], [pad])Grows an array to a size, padding what it does not fill.
FILTERFILTER(array, include, [if_empty])Only the rows where a test is true.
FORMULATEXTFORMULATEXT(reference)The formula in a cell, as text.
GETPIVOTDATAGETPIVOTDATA(field, pivot_table, [name, item]…)One number out of a pivot table, found by what it means rather than where it sits.
HLOOKUPHLOOKUP(value, table, row, [approximate])Finds a value along the first row of a table and returns something from the same column.
HSTACKHSTACK(array1, …)Stacks arrays side by side.
HYPERLINKHYPERLINK(url, [label])A clickable link.
INDEXINDEX(array, row, [column])The value at a position in a range.
INDIRECTINDIRECT(text, [a1])Turns text into a real reference.
LOOKUPLOOKUP(value, lookup_vector, [result_vector])The older, simpler lookup: finds a value in a sorted list.
MATCHMATCH(value, array, [type])The position of a value within a list.
OFFSETOFFSET(reference, rows, cols, [height], [width])A range shifted from another one, which is how to build a reference that moves.
ROWROW([reference])The row number of a cell, or of the formula itself.
ROWSROWS(array)How many rows a range has.
SEQUENCESEQUENCE(rows, [columns], [start], [step])A block of numbers counting up.
SORTSORT(array, [sort_index], [sort_order], [by_column])A range put in order.
SORTBYSORTBY(array, by1, [order1], …)Sorts an array by the values of another.
TAKETAKE(array, rows, [columns])Takes rows from the start or, with a negative count, the end.
TOCOLTOCOL(array, [ignore])Flattens an array into a single column.
TOROWTOROW(array, [ignore])Flattens an array into a single row.
TRANSPOSETRANSPOSE(array)Flips a range so rows become columns.
UNIQUEUNIQUE(array, [by_column], [exactly_once])The distinct values from a range.
VLOOKUPVLOOKUP(value, table, column, [approximate])Finds a value down the first column of a table and returns something from the same row.
VSTACKVSTACK(array1, …)Stacks arrays on top of each other.
WRAPCOLSWRAPCOLS(vector, count, [pad])Wraps a vector into columns of a fixed height.
WRAPROWSWRAPROWS(vector, count, [pad])Wraps a vector into rows of a fixed width.
XLOOKUPXLOOKUP(value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])Finds a value in one range and returns the matching item from another, with a proper answer when there is no match.
XMATCHXMATCH(value, array, [match_mode], [search_mode])The position of a value, with exact, next-larger or next-smaller matching.

Maths and trigonometry

The app calls this category Maths & trig. Open it with Formulas › Function library › Maths.

FunctionSyntaxWhat it does
ABSABS(number)The size of a number, ignoring its sign.
ACOSACOS(number)The inverse cosine, in radians.
ACOSHACOSH(number)The inverse hyperbolic cosine.
ACOTACOT(number)The arccotangent, from 0 to π.
ACOTHACOTH(number)The inverse hyperbolic cotangent.
AGGREGATEAGGREGATE(function, options, array, [k])One of nineteen aggregates, optionally ignoring errors and hidden rows.
ARABICARABIC(text)The number a Roman numeral stands for.
ASINASIN(number)The inverse sine, in radians.
ASINHASINH(number)The inverse hyperbolic sine.
ATANATAN(number)The inverse tangent, in radians.
ATAN2ATAN2(x, y)The angle from the x-axis to a point, in radians.
ATANHATANH(number)The inverse hyperbolic tangent.
BASEBASE(number, radix, [minLength])Writes a number in another base.
CEILINGCEILING(number, significance)Rounds up to the nearest multiple of another number.
CEILING.MATHCEILING.MATH(number, [significance], [mode])Rounds up to a multiple, with a choice of how negatives behave.
CEILING.PRECISECEILING.PRECISE(number, [significance])Rounds up to a multiple, always away from zero.
COMBINCOMBIN(n, k)How many ways k things can be chosen from n, order not mattering.
COMBINACOMBINA(number, chosen)Combinations with repetition allowed.
COSCOS(angle)The cosine of an angle in radians.
COSHCOSH(number)The hyperbolic cosine.
COTCOT(number)The cotangent of an angle.
COTHCOTH(number)The hyperbolic cotangent.
CSCCSC(number)The cosecant of an angle.
CSCHCSCH(number)The hyperbolic cosecant.
DECIMALDECIMAL(text, radix)Reads a number written in another base.
DEGREESDEGREES(angle)Converts radians to degrees.
EVENEVEN(number)Rounds away from zero to the next even whole number.
EXPEXP(number)e raised to a power.
FACTFACT(number)The factorial — 5 gives 120.
FACTDOUBLEFACTDOUBLE(number)The double factorial — every other number multiplied together.
FLOORFLOOR(number, significance)Rounds down to the nearest multiple of another number.
FLOOR.MATHFLOOR.MATH(number, [significance], [mode])Rounds down to a multiple, with a choice of how negatives behave.
FLOOR.PRECISEFLOOR.PRECISE(number, [significance])Rounds down to a multiple, always towards zero.
GCDGCD(number1, …)The largest whole number that divides all of them.
INTINT(number)Rounds down to the nearest whole number — towards minus infinity, not towards zero.
ISO.CEILINGISO.CEILING(number, [significance])Rounds up to a multiple, always away from zero.
LCMLCM(number1, …)The smallest whole number all of them divide into.
LNLN(number)The natural logarithm.
LOGLOG(number, [base])The logarithm of a number in any base, base 10 by default.
LOG10LOG10(number)The base-10 logarithm.
MDETERMMDETERM(array)The determinant of a square matrix.
MINVERSEMINVERSE(array)The inverse of a square matrix.
MMULTMMULT(array1, array2)The matrix product of two arrays.
MODMOD(number, divisor)The remainder after division. Takes the sign of the divisor, as in Excel.
MROUNDMROUND(number, multiple)Rounds to the nearest multiple of another number.
MULTINOMIALMULTINOMIAL(number1, …)The multinomial coefficient of a set of numbers.
MUNITMUNIT(size)The identity matrix of a given size.
ODDODD(number)Rounds away from zero to the next odd whole number.
PERMUTPERMUT(n, k)How many ways k things can be chosen from n when order matters.
PIPI()The constant pi.
POWERPOWER(number, power)A number raised to a power.
PRODUCTPRODUCT(number1, …)Multiplies everything together.
QUOTIENTQUOTIENT(numerator, denominator)The whole-number part of a division.
RADIANSRADIANS(angle)Converts degrees to radians.
RANDRAND()A random number from 0 up to but not including 1.
RANDARRAYRANDARRAY([rows], [columns], [min], [max], [whole])A block of random numbers.
RANDBETWEENRANDBETWEEN(bottom, top)A random whole number between two bounds, inclusive.
ROMANROMAN(number, [form])A number written in Roman numerals.
ROUNDROUND(number, digits)Rounds to a number of decimal places, half away from zero.
ROUNDDOWNROUNDDOWN(number, digits)Rounds towards zero, always.
ROUNDUPROUNDUP(number, digits)Rounds away from zero, always.
SECSEC(number)The secant of an angle.
SECHSECH(number)The hyperbolic secant.
SERIESSUMSERIESSUM(x, n, m, coefficients)Sums a power series.
SIGNSIGN(number)Gives 1, 0 or −1 depending on whether a number is positive, zero or negative.
SINSIN(angle)The sine of an angle in radians.
SINHSINH(number)The hyperbolic sine.
SQRTSQRT(number)The square root.
SQRTPISQRTPI(number)The square root of a number multiplied by pi.
SUBTOTALSUBTOTAL(function_num, ref1, …)Runs one of eleven aggregate functions, chosen by number, over a range.
SUMSUM(number1, …)Adds everything up.
SUMIFSUMIF(range, criteria, [sum_range])Adds up the cells that match a condition.
SUMIFSSUMIFS(sum_range, criteria_range1, criteria1, …)Adds up the cells that match every one of several conditions.
SUMPRODUCTSUMPRODUCT(array1, …)Multiplies the arrays cell by cell, then adds the results.
SUMSQSUMSQ(number1, …)Adds up the squares.
SUMX2MY2SUMX2MY2(arrayX, arrayY)The sum of the differences of squares.
SUMX2PY2SUMX2PY2(arrayX, arrayY)The sum of the sums of squares.
SUMXMY2SUMXMY2(arrayX, arrayY)The sum of the squares of the differences.
TANTAN(angle)The tangent of an angle in radians.
TANHTANH(number)The hyperbolic tangent.
TRUNCTRUNC(number, [digits])Cuts off the decimals without rounding.

Statistical

The app calls this category Statistical. Open it with Formulas › Function library › Stats.

FunctionSyntaxWhat it does
AVEDEVAVEDEV(number1, …)The average distance from the mean.
AVERAGEAVERAGE(number1, …)The arithmetic mean of the numbers, ignoring text and blanks.
AVERAGEAAVERAGEA(value1, …)The mean, counting text as zero and TRUE as one.
AVERAGEIFAVERAGEIF(range, criteria, [average_range])The mean of the cells that match a condition.
AVERAGEIFSAVERAGEIFS(average_range, criteria_range1, criteria1, …)The mean of the cells matching every one of several conditions.
BETA.DISTBETA.DIST(x, alpha, beta, cumulative, [a], [b])The beta distribution, optionally over a range other than 0 to 1.
BETA.INVBETA.INV(probability, alpha, beta, [a], [b])The inverse of the beta distribution.
BINOM.DISTBINOM.DIST(successes, trials, probability, cumulative)The binomial distribution.
BINOM.DIST.RANGEBINOM.DIST.RANGE(trials, probability, from, [to])The chance of a number of successes in a range.
BINOM.INVBINOM.INV(trials, probability, alpha)The smallest number of successes whose cumulative chance reaches alpha.
CHISQ.DISTCHISQ.DIST(x, degrees, cumulative)The left tail of the chi-square distribution.
CHISQ.DIST.RTCHISQ.DIST.RT(x, degrees)The right tail of the chi-square distribution.
CHISQ.INVCHISQ.INV(probability, degrees)The inverse of the chi-square left tail.
CHISQ.INV.RTCHISQ.INV.RT(probability, degrees)The inverse of the chi-square right tail.
CONFIDENCECONFIDENCE(alpha, sd, size)The half-width of a confidence interval for a mean.
CONFIDENCE.NORMCONFIDENCE.NORM(alpha, sd, size)The half-width of a normal confidence interval.
CONFIDENCE.TCONFIDENCE.T(alpha, sd, size)The half-width of a Student’s t confidence interval.
CORRELCORREL(array1, array2)How closely two sets of numbers move together, from −1 to 1.
COUNTCOUNT(value1, …)How many of the cells hold numbers.
COUNTACOUNTA(value1, …)How many of the cells are not empty.
COUNTBLANKCOUNTBLANK(range)How many of the cells are empty.
COUNTIFCOUNTIF(range, criteria)How many cells match a condition.
COUNTIFSCOUNTIFS(criteria_range1, criteria1, …)How many cells match every one of several conditions.
COVARCOVAR(array1, array2)How two sets of numbers vary together.
COVARIANCE.PCOVARIANCE.P(array1, array2)Population covariance.
COVARIANCE.SCOVARIANCE.S(array1, array2)Sample covariance.
DEVSQDEVSQ(number1, …)The sum of squared deviations from the mean.
EXPON.DISTEXPON.DIST(x, lambda, cumulative)The exponential distribution.
F.DISTF.DIST(x, degrees1, degrees2, cumulative)The left tail of the F distribution.
F.DIST.RTF.DIST.RT(x, degrees1, degrees2)The right tail of the F distribution.
F.INVF.INV(probability, degrees1, degrees2)The inverse of the F left tail.
F.INV.RTF.INV.RT(probability, degrees1, degrees2)The inverse of the F right tail.
FISHERFISHER(x)Fisher’s transformation.
FISHERINVFISHERINV(y)The inverse of Fisher’s transformation.
FORECASTFORECAST(x, known_y, known_x)Predicts a value from the best-fit line through known points.
FORECAST.ETSFORECAST.ETS(target, values, timeline, [seasonality], [completion], [aggregation])Predicts a future value by exponential triple smoothing, fitting the level, trend and season to the history given.
FORECAST.ETS.CONFINTFORECAST.ETS.CONFINT(target, values, timeline, [confidence], [seasonality], [completion], [aggregation])Half the width of the prediction interval around FORECAST.ETS — the value to add and subtract. It widens with distance, because the uncertainty does.
FORECAST.ETS.SEASONALITYFORECAST.ETS.SEASONALITY(values, timeline, [completion], [aggregation])The length of the repeating pattern found in the history, or zero when there is none.
FORECAST.ETS.STATFORECAST.ETS.STAT(values, timeline, statistic, [seasonality], [completion], [aggregation])One of the fitted model’s numbers: 1-3 the smoothing constants alpha, beta and gamma, 4 MASE, 5 SMAPE, 6 MAE, 7 RMSE. MASE under one means the model beats assuming nothing changes.
FREQUENCYFREQUENCY(data, bins)How many values fall in each bin.
GAMMAGAMMA(x)The gamma function.
GAMMA.DISTGAMMA.DIST(x, alpha, beta, cumulative)The gamma distribution.
GAMMA.INVGAMMA.INV(probability, alpha, beta)The inverse of the gamma distribution.
GAMMALNGAMMALN(x)The natural log of the gamma function.
GAMMALN.PRECISEGAMMALN.PRECISE(x)The natural log of the gamma function.
GAUSSGAUSS(z)The chance a standard normal is between zero and z.
GEOMEANGEOMEAN(number1, …)The geometric mean — the right average for growth rates.
GROWTHGROWTH(knownY, [knownX], [newX])Values along the exponential curve through the known points.
HARMEANHARMEAN(number1, …)The harmonic mean — the right average for rates.
HYPGEOM.DISTHYPGEOM.DIST(successes, draw, populationSuccesses, population, cumulative)The hypergeometric distribution.
INTERCEPTINTERCEPT(known_y, known_x)Where the best-fit line crosses the y-axis.
KURTKURT(number1, …)How heavy the tails of the distribution are.
LARGELARGE(array, k)The kth largest value.
LINESTLINEST(knownY, [knownX])The slope and intercept of the least-squares line.
LOGESTLOGEST(knownY, [knownX])The base and coefficient of the least-squares exponential curve.
LOGNORM.DISTLOGNORM.DIST(x, mean, sd, cumulative)The lognormal distribution.
LOGNORM.INVLOGNORM.INV(probability, mean, sd)The inverse of the lognormal distribution.
MAXMAX(number1, …)The largest number.
MAXAMAXA(value1, …)The largest value, counting text as zero.
MAXIFSMAXIFS(max_range, criteria_range1, criteria1, …)The largest value among the cells matching several conditions.
MEDIANMEDIAN(number1, …)The middle value once they are sorted.
MINMIN(number1, …)The smallest number.
MINAMINA(value1, …)The smallest value, counting text as zero.
MINIFSMINIFS(min_range, criteria_range1, criteria1, …)The smallest value among the cells matching several conditions.
MODEMODE(number1, …)The value that appears most often.
MODE.SNGLMODE.SNGL(number1, …)The value that appears most often.
NEGBINOM.DISTNEGBINOM.DIST(failures, successes, probability, cumulative)The negative binomial distribution.
NORM.DISTNORM.DIST(x, mean, sd, cumulative)The normal distribution.
NORM.INVNORM.INV(probability, mean, sd)The inverse of the normal distribution.
NORM.S.DISTNORM.S.DIST(z, cumulative)The standard normal distribution at a point.
NORM.S.INVNORM.S.INV(probability)The z-score with a given probability below it.
NORMSDISTNORMSDIST(z)The standard normal cumulative distribution.
NORMSINVNORMSINV(probability)The z-score with a given probability below it.
PEARSONPEARSON(array1, array2)The Pearson correlation coefficient.
PERCENTILEPERCENTILE(array, k)The value below which a given fraction of the data falls.
PERCENTILE.INCPERCENTILE.INC(array, k)The value below which a given fraction of the data falls.
PERCENTRANKPERCENTRANK(array, x, [digits])The fraction of the data at or below a value.
PERMUTATIONAPERMUTATIONA(number, chosen)Permutations with repetition allowed.
PHIPHI(x)The standard normal density at x.
POISSON.DISTPOISSON.DIST(x, mean, cumulative)The Poisson distribution.
PROBPROB(range, probabilities, lower, [upper])The chance that a value falls in a range.
QUARTILEQUARTILE(array, quart)The value at a quarter, half or three-quarters of the data.
RANKRANK(number, ref, [order])Where a number places within a list.
RANK.EQRANK.EQ(number, ref, [order])Where a number places within a list, ties sharing the higher rank.
RSQRSQ(known_y, known_x)How much of one series is explained by the other.
SKEWSKEW(number1, …)How lopsided the distribution is.
SLOPESLOPE(known_y, known_x)The gradient of the best-fit line.
SMALLSMALL(array, k)The kth smallest value.
STANDARDIZESTANDARDIZE(x, mean, sd)A value expressed in standard deviations from the mean.
STDEVSTDEV(number1, …)The spread of a sample around its mean.
STDEV.PSTDEV.P(number1, …)The spread of a whole population around its mean.
STDEV.SSTDEV.S(number1, …)The spread of a sample around its mean.
STDEVPSTDEVP(number1, …)The spread of a whole population around its mean.
STEYXSTEYX(knownY, knownX)The standard error of the predicted y values.
T.DISTT.DIST(x, degrees, cumulative)The left tail of Student’s t distribution.
T.DIST.2TT.DIST.2T(x, degrees)Both tails of Student’s t distribution.
T.DIST.RTT.DIST.RT(x, degrees)The right tail of Student’s t distribution.
T.INVT.INV(probability, degrees)The inverse of Student’s t left tail.
T.INV.2TT.INV.2T(probability, degrees)The inverse of Student’s two-tailed t.
TRENDTREND(knownY, [knownX], [newX])Values along the least-squares line through the known points.
TRIMMEANTRIMMEAN(array, percent)The mean after discarding a percentage from each end.
VARVAR(number1, …)The variance of a sample.
VAR.PVAR.P(number1, …)The variance of a whole population.
VAR.SVAR.S(number1, …)The variance of a sample.
VARPVARP(number1, …)The variance of a whole population.
WEIBULL.DISTWEIBULL.DIST(x, alpha, beta, cumulative)The Weibull distribution.
Z.TESTZ.TEST(array, x, [sigma])The one-tailed probability of a z-test.

Older statistical names

These names were replaced in Excel 2010 by the functions in their descriptions. They calculate, so workbooks that use them keep working; the function browser’s search lists the current names.

FunctionSyntaxWhat it does
BETADISTBETADIST(x, alpha, beta, [a], [b])The cumulative beta distribution. The pre-2010 name, whose fourth and fifth arguments are the bounds rather than a flag.
BETAINVBETAINV(probability, alpha, beta, [a], [b])The inverse of the beta distribution. The pre-2010 name for BETA.INV.
BINOMDISTBINOMDIST(successes, trials, probability, cumulative)The binomial distribution. The pre-2010 name for BINOM.DIST.
CHIDISTCHIDIST(x, degrees)The right tail of the chi-square distribution. The pre-2010 name for CHISQ.DIST.RT.
CHIINVCHIINV(probability, degrees)The inverse of the chi-square right tail. The pre-2010 name for CHISQ.INV.RT.
CRITBINOMCRITBINOM(trials, probability, alpha)The smallest number of successes whose cumulative chance reaches alpha. The pre-2010 name for BINOM.INV.
EXPONDISTEXPONDIST(x, lambda, cumulative)The exponential distribution. The pre-2010 name for EXPON.DIST.
FDISTFDIST(x, degrees1, degrees2)The right tail of the F distribution. The pre-2010 name for F.DIST.RT.
FINVFINV(probability, degrees1, degrees2)The inverse of the F right tail. The pre-2010 name for F.INV.RT.
GAMMADISTGAMMADIST(x, alpha, beta, cumulative)The gamma distribution. The pre-2010 name for GAMMA.DIST.
GAMMAINVGAMMAINV(probability, alpha, beta)The inverse of the gamma distribution. The pre-2010 name for GAMMA.INV.
HYPGEOMDISTHYPGEOMDIST(successes, draw, populationSuccesses, population)The hypergeometric distribution. The pre-2010 name, always non-cumulative.
LOGINVLOGINV(probability, mean, sd)The inverse of the lognormal distribution. The pre-2010 name for LOGNORM.INV.
LOGNORMDISTLOGNORMDIST(x, mean, sd, cumulative)The lognormal distribution. The pre-2010 name for LOGNORM.DIST.
NEGBINOMDISTNEGBINOMDIST(failures, successes, probability, cumulative)The negative binomial distribution. The pre-2010 name for NEGBINOM.DIST.
NORMDISTNORMDIST(x, mean, sd, cumulative)The normal distribution. The pre-2010 name for NORM.DIST.
NORMINVNORMINV(probability, mean, sd)The inverse of the normal distribution. The pre-2010 name for NORM.INV.
POISSONPOISSON(x, mean, cumulative)The Poisson distribution. The pre-2010 name for POISSON.DIST.
TDISTTDIST(x, degrees)Both tails of Student’s t distribution. The pre-2010 name for T.DIST.2T.
TINVTINV(probability, degrees)The inverse of Student’s two-tailed t. The pre-2010 name for T.INV.2T.
WEIBULLWEIBULL(x, alpha, beta, cumulative)The Weibull distribution. The pre-2010 name for WEIBULL.DIST.
ZTESTZTEST(array, x, [sigma])The one-tailed probability of a z-test. The pre-2010 name for Z.TEST.

Engineering

The app calls this category Engineering. It has no button on the ribbon; search for these functions in the function browser.

Complex-number functions take and return complex numbers written as text, such as "3+4i", and keep the i or j suffix you use. CONVERT converts between units of the same kind — length, mass, temperature and so on — and refuses to convert between different kinds.

FunctionSyntaxWhat it does
BESSELIBESSELI(x, n)The modified Bessel function In(x).
BESSELJBESSELJ(x, n)The Bessel function Jn(x).
BESSELKBESSELK(x, n)The modified Bessel function Kn(x).
BESSELYBESSELY(x, n)The Bessel function Yn(x).
BIN2DECBIN2DEC(text)A binary number as a decimal one.
BIN2HEXBIN2HEX(number, [places])Converts a number between bases.
BIN2OCTBIN2OCT(number, [places])Converts a number between bases.
BITANDBITAND(number1, number2)The bits set in both numbers.
BITLSHIFTBITLSHIFT(number, amount)The bits moved left.
BITORBITOR(number1, number2)The bits set in either number.
BITRSHIFTBITRSHIFT(number, amount)The bits moved right.
BITXORBITXOR(number1, number2)The bits set in one number but not the other.
COMPLEXCOMPLEX(real, imaginary, [suffix])Builds a complex number from a real and an imaginary part.
CONVERTCONVERT(number, from, to)Converts a number from one unit of measurement to another.
DEC2BINDEC2BIN(number, [places])A number written in binary.
DEC2HEXDEC2HEX(number, [places])A number written in hexadecimal.
DEC2OCTDEC2OCT(number, [places])A number written in octal.
DELTADELTA(number1, [number2])One when two numbers are equal, zero otherwise.
ERFERF(lower, [upper])The error function between two limits.
ERF.PRECISEERF.PRECISE(x)The error function.
ERFCERFC(x)The complementary error function, 1 − ERF(x).
ERFC.PRECISEERFC.PRECISE(x)The complementary error function.
GESTEPGESTEP(number, [step])One when a number reaches a threshold.
HEX2BINHEX2BIN(number, [places])Converts a number between bases.
HEX2DECHEX2DEC(text)A hexadecimal number as a decimal one.
HEX2OCTHEX2OCT(number, [places])Converts a number between bases.
IMABSIMABS(inumber)The absolute value (modulus) of a complex number.
IMAGINARYIMAGINARY(inumber)The imaginary part of a complex number.
IMARGUMENTIMARGUMENT(inumber)The angle of a complex number, in radians.
IMCONJUGATEIMCONJUGATE(inumber)The complex conjugate.
IMCOSIMCOS(inumber)The cosine of a complex number.
IMCOSHIMCOSH(inumber)The hyperbolic cosine of a complex number.
IMCOTIMCOT(inumber)The cotangent of a complex number.
IMCSCIMCSC(inumber)The cosecant of a complex number.
IMCSCHIMCSCH(inumber)The hyperbolic cosecant of a complex number.
IMDIVIMDIV(inumber1, inumber2)Divides one complex number by another.
IMEXPIMEXP(inumber)e raised to a complex power.
IMLNIMLN(inumber)The natural logarithm of a complex number.
IMLOG10IMLOG10(inumber)The base-10 logarithm of a complex number.
IMLOG2IMLOG2(inumber)The base-2 logarithm of a complex number.
IMPOWERIMPOWER(inumber, number)Raises a complex number to a power.
IMPRODUCTIMPRODUCT(inumber1, …)Multiplies complex numbers.
IMREALIMREAL(inumber)The real part of a complex number.
IMSECIMSEC(inumber)The secant of a complex number.
IMSECHIMSECH(inumber)The hyperbolic secant of a complex number.
IMSINIMSIN(inumber)The sine of a complex number.
IMSINHIMSINH(inumber)The hyperbolic sine of a complex number.
IMSQRTIMSQRT(inumber)The square root of a complex number.
IMSUBIMSUB(inumber1, inumber2)Subtracts one complex number from another.
IMSUMIMSUM(inumber1, …)Adds complex numbers.
IMTANIMTAN(inumber)The tangent of a complex number.
OCT2BINOCT2BIN(number, [places])Converts a number between bases.
OCT2DECOCT2DEC(text)An octal number as a decimal one.
OCT2HEXOCT2HEX(number, [places])Converts a number between bases.

Information

The app calls this category Information. It has no button on the ribbon; search for these functions in the function browser.

FunctionSyntaxWhat it does
CELLCELL(info, [reference])Information about a cell — its address, contents, width or type.
ERROR.TYPEERROR.TYPE(value)A number identifying which error a cell holds.
INFOINFO(type)Information about the environment.
ISBLANKISBLANK(value)Whether a cell is empty.
ISERRISERR(value)Whether a value is an error other than #N/A.
ISERRORISERROR(value)Whether a value is any error.
ISEVENISEVEN(number)Whether a number is even.
ISFORMULAISFORMULA(reference)Whether a cell holds a formula rather than a typed value.
ISLOGICALISLOGICAL(value)Whether a value is TRUE or FALSE.
ISNAISNA(value)Whether a value is #N/A.
ISNONTEXTISNONTEXT(value)Whether a value is anything but text.
ISNUMBERISNUMBER(value)Whether a value is a number.
ISODDISODD(number)Whether a number is odd.
ISOMITTEDISOMITTED(argument)Whether an argument was left out.
ISREFISREF(value)Whether something is a reference.
ISTEXTISTEXT(value)Whether a value is text.
NN(value)A value as a number: text becomes zero, TRUE becomes one.
NANA()The #N/A value, for marking data that is genuinely missing.
SHEETSHEET([value])The number of a sheet.
SHEETSSHEETS()How many sheets the workbook has.
TYPETYPE(value)A code for what kind of value something is.

Database

The app calls this category Database. It has no button on the ribbon; search for these functions in the function browser.

Each database function works on a list with a header row (database), a column named by its heading or position (field), and a criteria range (criteria): a header row naming columns, with conditions in the rows below. Conditions in one row must all hold; each row is an alternative.

FunctionSyntaxWhat it does
DAVERAGEDAVERAGE(database, field, criteria)Averages the matching rows of a column.
DCOUNTDCOUNT(database, field, criteria)Counts the matching rows holding a number.
DCOUNTADCOUNTA(database, field, criteria)Counts the matching rows whose field is not empty.
DGETDGET(database, field, criteria)The single matching value, or an error when there is not exactly one.
DMAXDMAX(database, field, criteria)The largest value among the matching rows.
DMINDMIN(database, field, criteria)The smallest value among the matching rows.
DPRODUCTDPRODUCT(database, field, criteria)Multiplies the matching rows of a column.
DSTDEVDSTDEV(database, field, criteria)The sample standard deviation of the matches.
DSTDEVPDSTDEVP(database, field, criteria)The population standard deviation of the matches.
DSUMDSUM(database, field, criteria)Adds the matching rows of a column.
DVARDVAR(database, field, criteria)The sample variance of the matches.
DVARPDVARP(database, field, criteria)The population variance of the matches.

Something unclear or out of date on this page? Tell us.