Skip to main content

Supported table calculation functions

Use this reference to learn more about the functions Omni supports for creating table calculations. For general information about table calculations, such as how they work and how you can create them, refer to the Using Excel-style functions to create table calculations guide.

Date & time functions

NameDescription
DATECreates a date from day, month, and year components.
DATEDIFFinds the difference between two dates in specified units, such as days.
DAYReturns the day of the month from a date.
DAYSFinds the difference in days between two dates.
EOMONTHReturns the date of the last day of a month from a date or datetime value.
HOURReturns the hour as a number from 0 to 23.
MINUTEReturns the minute as a number from 0 to 59.
NOWReturns the current date and time as a date-time value.
SECONDReturns the second from as a number from 0 to 59.
TODAYReturns the current date as a date value.
WEEKDAYReturns the day of the week as a number from 1 to 7.
WEEKNUMReturns a number representing the week of the year where the provided date falls.
YEARReturns the year from a date.

Logic functions

NameDescription
ANDReturns true if all of the provided arguments are logically true.
BITANDReturns the bitwise boolean AND of two numbers.
BITORReturns the bitwise boolean OR of two numbers.
BITRSHIFTShifts the bits of the input a certain number of places to the right.
BITXORReturns a number that's the result of performing an XOR function at each bit of the two numbers given as arguments.
IFReturns the second argument if a logical expression is true and the third argument if the expression is false.
IFERRORReturns the specified value if the formula returns null due to an error; otherwise returns the result of the formula. If the second argument is absent, a blank will be returned.
IFNAReturns the specified value if the formula returns null; otherwise returns the result of the formula.
IFSEvaluates multiple conditions and returns a value that corresponds to the first true condition.
ISBLANKReturns true if a value is blank.
ISNUMBERReturns true if a value is a number.
NOTReturns the opposite of a logical value.
ORReturns true if any of the provided arguments are logically true, and false if all of the provided arguments are logically false.

Math & number functions

NameDescription
ABSReturns the absolute value of a number.
ACOSReturns the arccosine of a number.
ATANReturns the arctangent of a number. Specifically, this function returns the angle whose tangent is the specified number.
AVERAGEAverages a list of numbers.
AVERAGEIFSReturns the average of a range depending on specified criteria.
CEILINGRounds numbers up to the nearest integer multiple of (optional) specified significance.
CORRELReturns the correlation coefficient of the array1 and array2 cell ranges.
COSReturns the cosine of an angle, in radians.
COTReturns the cotangent of an angle, in radians.
COUNTCounts the number of cells that contain values in the column. When used, the formula will be applied to the entire column.
COUNTACounts the number of cells that are not empty. The value can be a reference to a cell (E1), a range (B4:B9), or a column (C:C).
COUNTIFCounts the number of cells that contain values that meet a given criteria.
COUNTIFSCounts the number of cells that contain values that meet given criteria.
COVARReturns covariance, the average of the products of deviations. Equivalent to COVAR.S.
COVARIANCE.PReturns covariance, the average of the products of deviations of a population.
DEGREESConverts radians to degrees.
EXPReturns e raised to the power of a given number.
FLOORRounds a number down to the nearest integer multiple of specified significance.
INTRounds a number down to the nearest integer that is less than or equal to it. Alias for FLOOR.
INTERCEPTReturns the intercept of the linear regression line through data points in X and Y data points.
LARGEReturns the nth largest value in a data set.
LNReturns the natural logarithm of a number.
LOGReturns the logarithm of a number to the specified base.
LOG10Returns the base-10 logarithm of a number.
MAXReturns the maximum value in a data set.
MAXIFSReturns the maximum value in a range of cells, filtered by a list of criteria.
MEDIANReturns the median number in a set.
MINReturns the minimum value in a data set.
MODReturns the remainder of a division.
MODEReturns the most common number in a set.
RANDGenerates a random number between 0 and 1.
RANKReturns the rank of a number in a list of numbers.
ROUNDRounds a number to a specified number of digits.
ROUNDDOWNRounds a number down, towards zero, to a specified number of digits.
ROUNDUPRounds a number up, away from zero, to a specified number of digits.
SLOPEReturns the slope of the linear regression line through data points in Ys and Xs.
SMALLReturns the nth smallest value in a data set.
SQRTReturns a positive square root.
STDEVEstimates the standard deviation based on a population of values.
STDEV.PEstimates the standard deviation based on an entire population.
SUMAdds all the numbers in a range of cells.
SUMIFAdds the cells specified by a given criteria.
SUMIFSAdds the cells specified by multiple criteria.
SUMPRODUCTReturns the sum of the products of corresponding array components.
TRUNCTruncates a number to an integer by removing the decimal portion of a number.
VALUEConverts a text argument to a number.
VARCalculates the variance based on a sample of values.
VAR.PReturns the variance of a population.

Position functions

NameDescription
INDEXReturns the content of a cell, specified by row and column offset.
MATCHReturns the relative position of an item in a range that matches a specified value.
PIVOTReturns a value from a specific pivot in the data table.
PIVOTINDEXReturns the index of the current pivot.
PIVOTOFFSETReturns a pivot value offset from the current pivot column.
PIVOTROWReturns the values of a specified row in a pivot.
ROWReturns the current row number.
SWITCHEvaluates an expression against a list of values and returns the result corresponding to the first matching value.
VLOOKUPSearches for a value in a range and returns the value in the specified column.
XLOOKUPSearches for a value in a specified range in another query/tab and returns the corresponding value from the range.

Text functions

NameDescription
CHARReturns the character specified by a number.
CONCATConcatenates (combines) any number of strings into a single string.
CLEANReturns text with the non-printable ASCII characters removed. Unicode characters that aren't in ASCII are not removed.
FINDReturns the position of one string inside another.
LEFTReturns the specified number of characters from the start of a text string.
LENReturns the length (number of characters) of a string.
LOWERConverts text to lowercase.
MIDReturns a specific number of characters from a text string starting at the specified position.
REPLACEReplaces characters in a string with new text.
RIGHTReturns the specified number of characters from the end of a text string.
SEARCHFinds one text value within another, ignoring case.
TReturns arguments as text.
TEXTConverts a number into text according to a specified format.