Spreadsheet Editor Formulas

Requirements
View Demo

Formulas are expressions that calculate values in cells. Supported formulas and functions in Spreadsheet Editor are consistent with Excel, including:

  • Standard mathematical operations
  • Statistical calculations
  • Date/time functions
  • Other common formulas

For examples of how to programmatically use formulas, see the Edit Mode guide's Formula Bar section.

The following formulas are supported:

FormulaDescription
ABSAbsolute value of a number.
ACOSInverse cosine of a value, in radians.
ACOSHInverse hyperbolic cosine of a number.
ADDRESSCell reference as a string.
ANDLogical `and` operator.
ARABICComputes the value of a Roman numeral.
ASINInverse sine of a value, in radians.
ASINHInverse hyperbolic sine of a number.
ATANInverse tangent of a value, in radians.
ATAN2Arctangent of a value.
ATANHInverse hyperbolic tangent of a number.
AVERAGENumerical average value in a dataset, ignoring text.
AVERAGEIFAverage of values depending on criteria.
AVERAGEIFSAverage of values depending on multiple criteria.
BIN2DECConverts a signed binary number to decimal format.
BIN2HEXConverts a binary number to hexadecimal.
BIN2OCTConverts a binary number to octal.
BINOM_DISTBinomial distribution probability.
CEILINGRounds number up to nearest multiple of a factor.
CELLGets information about a cell.
CHARGets character associated with number.
CHOOSEAn element from a list of choices based on index.
CLEANRemoves non-printable characters from a piece of text.
CODENumeric unicode map value of character.
COLUMNColumn number of a specified cell.
COLUMNSNumber of columns in a specified array or range.
COMBINNumber of combinations from a set of objects.
COMPLEXCreates a complex number.
CONCATConcatenation of two values.
CONCATENATEAppends strings to one another.
CONVERTUnit conversion for numbers.
COSCosine of an angle provided in radians.
COSHHyperbolic cosine of any real number.
COUNTThe number of numeric values in dataset.
COUNTAThe number of values in a dataset.
COUNTBLANKNumber of empty values.
COUNTIFA conditional count across a range.
COUNTIFSCount values depending on multiple criteria.
COUNTUNIQUECounts number of unique values in a range.
COUPDAYBSNumber of days from first coupon to settlement.
COUPDAYSDays in coupon period containing settlement date.
COUPNUMNumber of coupons between settlement and maturity.
CUMIPMTCumulative interest paid over a set of periods.
CUMPRINCCumulative principal paid over a set of periods.
DATEConverts year/month/day into a date.
DATEDIFDate difference.
DATEVALUEConverts a date string to a date value.
DAVERAGEAverage of a set of values from a table-like range.
DAYDay of the month that a specific date falls on.
DAYSNumber of days between two dates.
DAYS360Days between two dates on a 360-day year.
DBDepreciation via declining balance method.
DCOUNTCounts values from a table-like range.
DCOUNTACounts values and text from a table-like range.
DDBDepreciation via double-declining balance method.
DEGREESConverts an angle value in radians to degrees.
DELTACompare two numeric values.
DEVSQThe sum of squares of deviations based on a sample.
DGETSingle value from a table-like range.
DISCThe discount rate of a security based on price.
DISCRETESPLINESGenerate sparklines discrete graph.
DMAXMaximum of values from a table-like range.
DMINMinimum of values from a table-like range.
DOLLARFormats a number as currency specific to your spreadsheet locale.
DOLLARDEConverts a decimal fraction to decimal value.
DOLLARFRConverts a decimal value to decimal fraction.
DPRODUCTProduct of values from a table-like range.
DSTDEVStandard deviation of population sample from table.
DSTDEVPStandard deviation of entire population from table.
DSUMSum of values from a table-like range.
DURATIONNumber of periods for an investment to reach a value.
DVARVariance of population sample from table-like range.
DVARPVariance of a population from a table-like range.
EDATEDate a number of months before/after another date.
EFFECTAnnual effective interest rate.
EOMONTHLast day of a month before or after a date.
ERFCComplementary gauss error function of a value.
EVENRounds a number up to the nearest even integer.
EXACTTests whether two strings are identical.
EXPEuler's number, e (~2.718) raised to a power.
FACTFactorial of a number.
FACTDOUBLE"double factorial" of a number.
FALSELogical value `false`.
FILTERFilters a range based off provided conditions.
FINDFirst position of string found in text, case-sensitive.
FINDBPosition at which a string is first found within text (binary).
FISHERFisher transformation of a specified value.
FISHERINVInverse fisher transformation of a specified value.
FIXEDFormats number with fixed number of decimal places.
FORECASTExpected y-value based of linear regression.
FREQUENCYThe frequency distribution of array.
FVFuture value of an annuity investment.
FVSCHEDULEFuture value of principal from series of rates.
GAMMALNLogarithm of gamma function.
GCDGreatest common divisor of one or more integers.
GEOMEANThe geometric mean of a dataset.
GETPIVOTDATAExtracts an aggregated value from a pivot table that corresponds to the specified row and column headings.
GROWTHFits points to exponential growth trend.
HARMEANThe harmonic mean of a dataset.
HEX2BINConverts a hexadecimal number to binary.
HEX2DECConverts a hexadecimal number to decimal.
HEX2OCTConverts a hexadecimal number to octal.
HLOOKUPHorizontal lookup
HOURHour component of a specific time.
HYPGEOMDISTHypergeometric distribution probability.
IFReturns value depending on logical expression.
IFERRORValue if it is not an error, otherwise 2nd argument.
IMABSThe absolute value of a complex number.
IMAGINARYThe imaginary coefficient of a complex number.
IMCONJUGATEThe complex conjugate of a number.
IMDIVOne complex number divided by another.
IMPRODUCTResult of multiplying a series of complex numbers together.
IMREALThe real coefficient of a complex number.
IMSUBThe difference between two complex numbers.
IMSUMSum of a series of complex numbers.
INDEXContent of cell specified by row and column offset.
INDIRECTA cell reference specified by a string.
INTRounds number down to nearest integer.
INTRATECalculates effective interest rate.
IPMTPayment on interest for an investment.
IRRInternal rate of return given periodic cashflows.
ISBLANKWhether the referenced cell is empty.
ISDATEWhether a value is a date.
ISERRWhether a value is an error other than `#n/a`.
ISERRORWhether a value is an error.
ISEVENWhether the provided value is even.
ISFORMULAWhether a value is a formula.
ISLOGICALWhether a value is `true` or `false`.
ISNAWhether a value is the error `#n/a`.
ISNONTEXTWhether a value is non-textual.
ISNUMBERWhether a value is a number.
ISODDWhether the provided value is odd.
ISOWEEKNUMISO week number of the year.
ISREFWhether a value is a valid cell reference.
ISTEXTWhether a value is text.
JOINConcatenates elements of arrays with delimiter.
KURTKurtosis of a dataset.
LARGENth largest element from a data set.
LCMLeast common multiple of one or more integers.
LEFTSubstring from beginning of specified string.
LENLength of a string.
LENBLength of a string in bytes.
LINESTBest-fit linear trend via least-squares.
LNThe logarithm of a number, base e (euler's number).
LOGThe logarithm of a number with respect to a base.
LOG10The logarithm of a number, base 10.
LOGESTBest-fit exponential growth curve.
LOOKUP Look up a value.
LOWERConverts a specified string to lowercase.
MATCHPosition of item in range that matches value.
MAXMaximum value in a numeric dataset.
MAXAMaximum numeric value in a dataset.
MDETERMMatrix determinant of a square matrix.
MDURATIONModified Macaulay duration.
MEDIANMedian value in a numeric dataset.
MINMinimum value in a numeric dataset.
MINAMinimum numeric value in a dataset.
MINUTEMinute component of a specific time.
MINVERSEMultiplicative inverse of square matrix.
MIRRModified internal rate of return.
MMULTThe matrix product of two matrices.
MODModulo (remainder) operator.
MONTHMonth of the year a specific date falls in.
MROUNDRounds a number to the nearest integer multiple.
MULTINOMIALMultinomial distribution function.
NArgument provided as a number.
NAThe `#N/A` error.
NETWORKDAYSNet working days between two provided days.
NOMINALAnnual nominal interest rate.
NOTReturns opposite of provided logical value.
NOWCurrent date and time as a date value.
NPERNumber of payment periods for an investment.
NPVThe net present value of an investment based on a series of periodic cash flows and a discount rate.
OCT2BINConverts an octal number to binary.
OCT2DECConverts a signed octal number to decimal format.
OCT2HEXConverts an octal number to hexadecimal.
ODDRounds a number up to the nearest odd integer.
OFFSETA range reference offset relative to a cell.
ORLogical `or` operator.
PEARSONPearson Product-Moment Correlation Coefficient.
PERCENTRANK_INCPercentage rank (percentile) from 0 to 1 inclusive.
PERMUTNumber of permutations from a number of objects.
PIThe number pi.
PMTPeriodic payment for an annuity investment.
POWERA number raised to a power.
PRICEPrice of a security paying periodic interest.
PRICEDISCPrice of a discount security.
PRICEMATPrice of security paying interest at maturity.
PROBProbability values lie in a range.
PRODUCTResult of multiplying a series of numbers together.
PROPERCapitalizes each word in a specified string.
PVPresent value of an annuity investment.
QUOTIENTOne number divided by another.
RADIANSConverts an angle value in degrees to radians.
RANDA random number between 0 inclusive and 1 exclusive.
RANDARRAYReturns a grid of random numbers.
RANDBETWEENRandom integer between two values, inclusive.
RATEInterest rate of an annuity investment.
RECEIVEDAmount received at maturity for a security.
REGEXEXTRACTExtracts matching substrings with regular expression.
REGEXMATCHWhether a piece of text matches regular expression.
REGEXREPLACEReplaces text with regular expressions.
REPLACEReplaces part of a text string with different text.
REPTSpecified text repeated a number of times.
RIGHTA substring from the end of a specified string.
ROMANFormats a number in Roman numerals.
ROUNDRounds a number according to standard rules.
ROUNDDOWNRounds down a number.
ROUNDUPRounds up a number.
ROWRow number of a specified cell.
ROWSNumber of rows in a specified array or range.
RSQSquare of the correlation coefficient.
SEARCHFirst position of string found in text, ignoring case.
SECONDSecond component of a specific time.
SEQUENCEReturns a grid of sequential numbers.
SERIASESSUMSum of a power series.
SIGNSign of a provided number (+/-/0).
SINSine of an angle provided in radians.
SINHHyperbolic sine of any real number.
SKEWSkewness of a dataset.
SLNDepreciation of asset using the straight-line method.
SLOPESlope of line from linear regression of data.
SMALLNth smallest element in a data set.
SORTSorts rows of range by specified column.
SQRTPositive square root of a positive number.
SQRTPISquare root of the product of pi and number.
STANDARDIZENormalized equivalent of a random variable.
STDEVAStandard deviation of sample (text as 0).
STDEVPStandard deviation of an entire population.
STEYXStandard error of predicted y-values in regression.
SUBSTITUTEReplaces existing text with new text in a string.
SUBTOTALSubtotal for a range using a specific function.
SUMSum of a series of numbers and/or cells.
SUMIFA conditional sum across a range.
SUMIFSSums a range depending on multiple criteria.
SUMPRODUCTSum of products of elements in two arrays.
SUMSQSum of squares.
SUMX2MY2Sum of the differences of squares.
SUMX2PY2Sum of the sums of squares.
SUMXMY2Sum of the squares of differences.
TString arguments as text.
TANTangent of an angle provided in radians.
TANHHyperbolic tangent of any real number.
TBILLEQEquivalent rate of return for a Treasury bill.
TBILLPRICEPrice of US treasury bill.
TBILLYIELDThe yield of a US treasury bill based on price.
TEXTFormats a number into text.
TIMEConverts hour/minute/second into a time.
TIMEVALUEonverts a time string into its serial number representation.
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.
TO_PURE_NUMBERConverts any numeric value to a pure number.
TO_TEXTConverts a provided numeric value to a text value.
TODAYCurrent date as a date value.
TRANSPOSETransposes the rows and columns of an array.
TRENDFits points to linear trend derived via least-squares.
TRIMRemoves space characters.
TRIMMEANMean of a dataset excluding high/low ends.
TRUELogical value `true`.
TRUNCTruncates a number.
TYPEGet the type of a value.
UNIQUEUnique rows in the provided source range.
UPPERConverts a specified string to uppercase.
VALUEConverts a date/time/number string into a number.
VARAVariance of sample (text as 0).
VARPAVariance of entire population (text as 0).
VLOOKUPVertical lookup.
WEEKDAYDay of the week of the date provided (as number).
WEEKNUMWeek number of the year.
WORKDAYNumber of working days from start date.
XIRRInternal rate of return given non-periodic cashflows.
XNPVNet present value given non-periodic cashflows.
YEARYear specified by a given date.
YEARFRACExact number of years between two dates.
YIELDAnnual yield of a security paying periodic interest.
YIELDDISCAnnual yield of a discount security.

Did you find this helpful?

Trial setup questions?

Ask experts on Discord

Need other help?

Contact Support

Pricing or product questions?

Contact Sales
Apryse Spreadsheet Editor Formulas for XLSX files | Apryse documentation