Working with math functions
Some math expressions will contain binary operators. These are operators that take both a left and right operand. For example, in1 + 2:
1is the left operand+is the binary operator2is the right operand
Supported operators
| Name | Operator |
|---|---|
| Concatenate | & |
| Plus | + |
| Minus | - |
| Multiply | * |
| Divide | / |
| Exponentiate | ^ |
| Greater than | > |
| Greater than or equal to | >= |
| Equal to | = |
| Less than | < |
| Less than or equal to | <= |
ABS
Returns the absolute value of a number. Thevalue argument can be a numeric value (3) or a reference to a cell, range, or column containing numeric data.
For more information, refer to the Google Sheets documentation.
ACOS
Returns the arccosine of a number. This function returns the angle whose cosine is the specified number. For more information, refer to the Google Sheets documentation.ATAN
Returns the arctangent of a number. Specifically, this function returns the angle whose tangent is the specified number. For additional information, refer to the Google Sheets documentation.AVERAGE
Averages a list of numbers. The list can be composed of number literals (10), cell references (A1), cell ranges (B4:B9), and column references (C:C).
When used, the function will apply to all values in the column.
For more details, refer to the Google Sheets documentation.
AVERAGEIFS
Returns the average of a range depending on specified criteria. For more details, refer to the Google Sheets documentation.CEILING
Rounds numbers up to the nearest integer multiple of (optional) specified significance. For more information, refer to the Google Sheets documentation.CORREL
Returns the correlation coefficient of thearray1 and array2 cell ranges. For more information, refer to the Google Sheets documentation.
COS
Returns the cosine of an angle, in radians. For more information, refer to the Google Sheets documentation.COT
Returns the cotangent of an angle, in radians. For more information, refer to the Google Sheets documentation.COUNT
Counts the number of cells that contain values in the column. When used, the formula will be applied to the entire column. For more information, refer to the see the Google Sheets documentation. The value can be a reference to a cell (E1), a range (B4:B9), or a column (C:C).
COUNTA
Counts 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). For more information, refer to the Google Sheets documentation.
COUNTIF
Counts the number of cells that contain values that meet a given criteria. This function takes two arguments:cell_range– The range thecriteriaargument is applied tocriteria– The condition applied to the specifiedcell_range. Note: Criteria arguments are not case sensitive.
stringdata types are not supported forCOUNTIF- Only works with conditional counts with a single criterion. To use multiple criteria, use
COUNTIFS.
COUNTIFS
Counts the number of cells that contain values that meet given criteria.cell_range– The range thecriteriaargument is applied tocriteria– The condition - which can include multiple arguments - applied to the specifiedcell_range. Note: Criteria arguments are not case sensitive.
string data types are not supported for COUNTIF
COVAR
Returns covariance, the average of the products of deviations. Equivalent toCOVAR.S.
For more information, refer to the Google Sheets documentation.
COVARIANCE.P
Returns covariance, the average of the products of deviations of a population.DEGREES
Converts radians to degrees. For more information, refer to the Google Sheets documentation.EXP
Returnse raised to the power of a given number.
For more information, refer to the Google Sheets documentation.
FLOOR
Rounds a number down to the nearest integer multiple of specified significance. For more information, refer to the Google Sheets documentation.INT
Rounds a number down to the nearest integer that is less than or equal to it. Alias forFLOOR.
For more information, refer to the Google Sheets documentation.
INTERCEPT
Returns the intercept of the linear regression line through data points in X and Y data points. This function takes two arguments:x_value- Range of values representing the x-coordinate in a linear regressiony_value- Range of values representing the y-coordinate in a linear regression
string encountered in the value arguments will return null values.
For more information, refer to the Google Sheets documentation.
LARGE
Returns thenth largest value in a data set. For more information, refer to the Google Sheets documentation.
LN
Returns the natural logarithm of a number. For more information, refer to the Google Sheets documentation.LOG
Returns the logarithm of a number to the specified base. Ifbase isn’t specified, the default of 10 will be used.
For more information, refer to the refer to the Google Sheets LOG() function documentation.
LOG10
Returns the base-10 logarithm of a number. For more information, refer to the Google Sheets documentation.MAX
Returns the largest number in a set. Only a single column or range may be provided as an argument. For more information, refer to the Google Sheets documentation.MAXIFS
Returns the maximum value in a range of cells, filtered by a list of criteria. For more information, refer to the Google Sheets documentation.MEDIAN
Returns the median number in a set. Only a single column or range may be provided as an argument. For more information, refer to the Google Sheets documentation.MIN
Returns the smallest number in a set. Only a single column or range may be provided as an argument. For more information, refer to the Google Sheets documentation.MOD
Returns the remainder from division. For more information, refer to the Google Sheets documentation.MODE
Returns the most common number in a set. Only a single column or range may be provided as an argument. For more information, refer to the Google Sheets documentation.RAND
Generates a random number between 0 and 1. For more information, refer to the Google Sheets documentation.RANK
Returns the rank of a number in a list of numbers. Thedirection argument is optional, and if omitted will default to descending.
For more information, refer to the Google Sheets documentation.
Use in combination with a filter on this calculation to get a top
N list. For example, calc <= 5ROUND
Rounds a number to a specified number of digits. Thenum_digits argument is optional and will default to 0 if not provided.
For more information, refer to the Google Sheets documentation.
ROUNDDOWN
Rounds a number down, towards zero, to a specified number of digits. Thenum_digits argument is optional and will default to 0 if not provided.
For more information, refer to the Google Sheets documentation.
ROUNDUP
Rounds a number up, away from zero, to a specified number of digits. Thenum_digits argument is optional and will default to 0 if not provided.
For more information, refer to the Google Sheets documentation.
SLOPE
Returns the slope of the linear regression line through data points in Ys and Xs. This function accepts two arguments:x_value- The range representing the array or matrix of dependent datay_value- The range representing the array or matrix of independent data
string encountered in the value arguments will return null values.
For more information, refer to the Google Sheets documentation.
SMALL
Returns the nth smallest value in a data set. For more information, refer to the Google Sheets documentation.SQRT
Returns a positive square root. For more information, refer to the Google Sheets documentation.STDEV
Estimates the standard deviation based on a population of values. This function accepts a single argument:value- Can be a reference to a cell (E1), a range (B4:B9), or a column (C:C). Note: If the value contains references to text values, the calculation will be returned asnull.
STDEV function in Google Sheets and Omni. For more information, refer to the Google Sheets documentation.
STDEV.P
Estimates the standard deviation based on an entire population. This function accepts a single argument:value- Can be a reference to a cell (E1), a range (B4:B9), or a column (C:C). Note: If the value contains references to text values, the calculation will be returned asnull.
STDEV.P function in Google Sheets and Omni. For more information, refer to the Google Sheets documentation.
SUM
Adds all the numbers in a range of cells. For more information, refer to the Google Sheets documentation.SUMIF
Adds the cells specified by a given criteria. For more information, refer to the Google Sheets documentation.string) criteria is not supported.
SUMIFS
Adds the cells specified by multiple criteria criteria. For more information, refer to the Google Sheets documentation.string) criteria is not supported.
SUMPRODUCT
Returns the sum of the products of corresponding array components. For more information, refer to the Google Sheets documentation.TRUNC
Truncates a number to an integer by removing the decimal portion of a number. Alias forFLOOR.
For more information, refer to the Google Sheets documentation.
VALUE
Converts a text argument to a number. For more information, refer to the Google Sheets VALUE() function documentation.VAR
Calculates the variance based on a sample of values. This function accepts a single argument,value. The value can be a number or a range of numbers.
VAR function in Google Sheets and Omni. For additional information, see the Google Sheets documentation.
VAR.P
Returns the variance of a population. The value can be a number (3), a reference to a cell (E1), a range (B4:B9), or a column (C:C).
For more information, refer to the Google Sheets documentation.