This reference lists 80 Excel math & trigonometry functions, ordered by frequency of use, with high-frequency functions marked ⭐. Each function includes its syntax and an example.
| Function | Description | Example |
|---|---|---|
ABS ⭐ |
Returns the absolute value of a number | =ABS(-5) — Returns the absolute value of -5, giving 5 |
INT ⭐ |
Rounds a number down to the nearest integer | =INT(12.7) — Rounds 12.7 down to the integer 12 |
MOD ⭐ |
Returns the remainder from division | =MOD(10,3) — Returns the remainder of 10 divided by 3, giving 1 |
PI ⭐ |
Returns the value of pi | =PI() — Returns the value of pi, approximately 3.14159 |
RAND ⭐ |
Returns a random number between 0 and 1 | =RAND() — Returns a random number >= 0 and < 1, refreshed on every recalculation |
SQRT ⭐ |
Returns a positive square root | =SQRT(16) — Returns the square root of 16, giving 4 |
SUBTOTAL ⭐ |
Returns a subtotal in a list or database | =SUBTOTAL(9,A1:A10) — Sums A1:A10 while ignoring other SUBTOTAL results |
SUM ⭐ |
Adds its arguments | =SUM(A1:A10) — Adds up all numbers in A1:A10 |
SUMIF ⭐ |
Adds the cells specified by a given criteria | =SUMIF(A:A,">60",B:B) — Sums column B where column A is greater than 60 |
SUMIFS ⭐ |
Adds all of its arguments that meet multiple criteria | =SUMIFS(C:C,A:A,">60",B:B,"M") — Sums column C where column A > 60 and column B is "M" |
ACOS |
Returns the arccosine of a number | =ACOS(0.5) — Returns the arccosine of 0.5 in radians |
ACOSH |
Returns the inverse hyperbolic cosine of a number | =ACOSH(2) — Returns the inverse hyperbolic cosine of 2 |
ACOT |
Returns the arccotangent of a number | =ACOT(1) — Returns the arccotangent of 1 |
ACOTH |
Returns the hyperbolic arccotangent of a number | =ACOTH(2) — Returns the inverse hyperbolic cotangent of 2 |
AGGREGATE |
Returns an aggregate in a list or database | =AGGREGATE(9,6,A1:A10) — Sums A1:A10 while ignoring hidden rows and error values |
ARABIC |
Converts a Roman number to Arabic, as a number | =ARABIC("X") — Converts the Roman numeral X to the number 10 |
ASIN |
Returns the arcsine of a number | =ASIN(0.5) — Returns the arcsine of 0.5 in radians |
ASINH |
Returns the inverse hyperbolic sine of a number | =ASINH(2) — Returns the inverse hyperbolic sine of 2 |
ATAN |
Returns the arctangent of a number | =ATAN(1) — Returns the arctangent of 1 in radians, giving pi/4 |
ATAN2 |
Returns the arctangent from x- and y-coordinates | =ATAN2(1,1) — Returns the arctangent of the point (1, 1) |
ATANH |
Returns the inverse hyperbolic tangent of a number | =ATANH(0.5) — Returns the inverse hyperbolic tangent of 0.5 |
BASE |
Converts a number into a text representation with the given radix (base) | =BASE(10,2) — Converts 10 to the binary text "1010" |
CEILING |
Rounds a number to the nearest integer or to the nearest multiple of significance | =CEILING(12.3,0.1) — Rounds 12.3 up to the nearest multiple of 0.1, giving 12.3 |
CEILING.MATH |
Rounds a number to the nearest integer or to the nearest multiple of significance | =CEILING.MATH(12.3) — Rounds 12.3 up to the nearest integer, giving 13 |
CEILING.PRECISE |
Rounds a number to the nearest integer or to the nearest multiple of significance | =CEILING.PRECISE(-12.3) — Rounds -12.3 up (away from zero) |
COMBIN |
Returns the number of combinations for a given number of objects | =COMBIN(10,3) — Returns the number of combinations for choosing 3 out of 10, giving 120 |
COMBINA |
Returns the number of combinations with repetitions for a given number of items | =COMBINA(10,3) — Returns the number of combinations with repetition, giving 220 |
COS |
Returns the cosine of a number | =COS(0) — Returns the cosine of 0 radians, giving 1 |
COSH |
Returns the hyperbolic cosine of a number | =COSH(1) — Returns the hyperbolic cosine of 1 |
COT |
Returns the cotangent of an angle | =COT(1) — Returns the cotangent of 1 radian |
COTH |
Returns the hyperbolic cotangent of a number | =COTH(2) — Returns the hyperbolic cotangent of 2 |
CSC |
Returns the cosecant of an angle | =CSC(1) — Returns the cosecant of 1 radian |
CSCH |
Returns the hyperbolic cosecant of an angle | =CSCH(1) — Returns the hyperbolic cosecant of 1 |
DECIMAL |
Converts a text representation of a number in a given base into a decimal number | =DECIMAL("FF",16) — Converts the hexadecimal text FF to the decimal number 255 |
DEGREES |
Converts radians to degrees | =DEGREES(PI()) — Converts pi radians to 180 degrees |
EVEN |
Rounds a number up to the nearest even integer | =EVEN(1.5) — Rounds 1.5 up to the nearest even number, giving 2 |
EXP |
Returns e raised to the power of a given number | =EXP(1) — Returns e raised to the power of 1, approximately 2.718 |
FACT |
Returns the factorial of a number | =FACT(5) — Returns the factorial of 5, giving 120 (5x4x3x2x1) |
FACTDOUBLE |
Returns the double factorial of a number | =FACTDOUBLE(5) — Returns the double factorial of 5, giving 15 (5x3x1) |
FLOOR |
Rounds a number down, toward zero | =FLOOR(12.3,0.1) — Rounds 12.3 down to the nearest multiple of 0.1, giving 12.3 |
FLOOR.MATH |
Rounds a number down, toward zero | =FLOOR.MATH(12.3) — Rounds 12.3 down to the nearest integer, giving 12 |
FLOOR.PRECISE |
Rounds a number down, toward zero | =FLOOR.PRECISE(-12.3) — Rounds -12.3 down (toward zero) |
GCD |
Returns the greatest common divisor | =GCD(12,18) — Returns the greatest common divisor of 12 and 18, giving 6 |
ISO.CEILING |
Rounds a number to the nearest integer or to the nearest multiple of significance | =ISO.CEILING(12.3) — Rounds a number up to the nearest multiple |
LCM |
Returns the least common multiple | =LCM(12,18) — Returns the least common multiple of 12 and 18, giving 36 |
LET |
Assigns names to calculation results to allow storing intermediate calculations, values, or defining names inside a formula | =LET(x,A1,y,B1,x+y) — Assigns A1 to x and B1 to y, then calculates x + y |
LN |
Returns the natural logarithm of a number | =LN(10) — Returns the natural logarithm of 10 |
LOG |
Returns the logarithm of a number to a specified base | =LOG(100,10) — Returns the base-10 logarithm of 100, giving 2 |
LOG10 |
Returns the base-10 logarithm of a number | =LOG10(100) — Returns the base-10 logarithm of 100, giving 2 |
MDETERM |
Returns the matrix determinant of an array | =MDETERM(A1:C3) — Returns the matrix determinant of A1:C3 |
MINVERSE |
Returns the matrix inverse of an array | =MINVERSE(A1:C3) — Returns the inverse matrix of A1:C3 |
MMULT |
Returns the matrix product of two arrays | =MMULT(A1:C3,D1:F3) — Returns the matrix product of two matrices |
MROUND |
Returns a number rounded to the desired multiple | =MROUND(13,5) — Rounds 13 to the nearest multiple of 5, giving 15 |
MULTINOMIAL |
Returns the multinomial of a set of numbers | =MULTINOMIAL(2,3,4) — Returns the multinomial coefficient of a set of numbers |
MUNIT |
Returns the unit matrix or the specified dimension | =MUNIT(3) — Returns the 3x3 identity matrix |
ODD |
Rounds a number up to the nearest odd integer | =ODD(1.5) — Rounds 1.5 up to the nearest odd number, giving 3 |
POWER |
Returns the result of a number raised to a power | =POWER(2,3) — Returns 2 raised to the power of 3, giving 8 |
PRODUCT |
Multiplies its arguments | =PRODUCT(A1:A10) — Multiplies all numbers in A1:A10 |
QUOTIENT |
Returns the integer portion of a division | =QUOTIENT(10,3) — Returns the integer portion of 10 divided by 3, giving 3 |
RADIANS |
Converts degrees to radians | =RADIANS(180) — Converts 180 degrees to radians, giving pi |
RANDARRAY |
Returns an array of random numbers between 0 and 1 | =RANDARRAY(3,3) — Returns a 3x3 array of random numbers |
RANDBETWEEN |
Returns a random number between the numbers you specify | =RANDBETWEEN(1,100) — Returns a random integer between 1 and 100 |
REDUCE |
Reduces an array to an accumulated value by applying a LAMBDA to each value and returning the total value in the accumulator | =REDUCE(0,A1:A10,LAMBDA(a,b,a+b)) — Accumulates the elements of an array into a running total |
SCAN |
Scans an array by applying a LAMBDA to each value and returns an array that has each intermediate value | =SCAN(0,A1:A10,LAMBDA(a,b,a+b)) — Returns an array of the running cumulative values |
SEC |
Returns the secant of an angle | =SEC(1) — Returns the secant of 1 radian |
SECH |
Returns the hyperbolic secant of an angle | =SECH(1) — Returns the hyperbolic secant of 1 |
SEQUENCE |
Generates a list of sequential numbers in an array, such as 1, 2, 3, 4 | =SEQUENCE(5,3,1,2) — Generates a 5-row 3-column array starting at 1 with a step of 2 |
SERIESSUM |
Returns the sum of a power series based on the formula | =SERIESSUM(1,0,2,A1:A5) — Returns the sum of a power series |
SIGN |
Returns the sign of a number | =SIGN(-5) — Returns the sign of -5, giving -1 |
SIN |
Returns the sine of the given angle | =SIN(PI()/6) — Returns the sine of pi/6, giving 0.5 |
SINH |
Returns the hyperbolic sine of a number | =SINH(1) — Returns the hyperbolic sine of 1 |
SQRTPI |
Returns the square root of (number * pi) | =SQRTPI(2) — Returns the square root of pi x 2 |
SUMPRODUCT |
Returns the sum of the products of corresponding array components | =SUMPRODUCT(A1:A10,B1:B10) — Multiplies corresponding elements of A1:A10 and B1:B10, then sums the products |
SUMSQ |
Returns the sum of the squares of the arguments | =SUMSQ(A1:A10) — Returns the sum of the squares of A1:A10 |
SUMX2MY2 |
Returns the sum of the difference of squares of corresponding values in two arrays | =SUMX2MY2(A1:A10,B1:B10) — Returns the sum of (A1^2 - B1^2) + (A2^2 - B2^2) + ... |
SUMX2PY2 |
Returns the sum of the sum of squares of corresponding values in two arrays | =SUMX2PY2(A1:A10,B1:B10) — Returns the sum of (A1^2 + B1^2) + (A2^2 + B2^2) + ... |
SUMXMY2 |
Returns the sum of squares of differences of corresponding values in two arrays | =SUMXMY2(A1:A10,B1:B10) — Returns the sum of (A1 - B1)^2 + (A2 - B2)^2 + ... |
TAN |
Returns the tangent of a number | =TAN(0) — Returns the tangent of 0, giving 0 |
TANH |
Returns the hyperbolic tangent of a number | =TANH(1) — Returns the hyperbolic tangent of 1 |
TRUNC |
Truncates a number to an integer | =TRUNC(12.7) — Truncates 12.7 to the integer 12 |
From Online Toolbox (www.vba.net)