Excel functions

Math & trig functions

Math and trigonometry functions are the calculators of Excel. They add with or without conditions (SUM, SUMIF, SUMIFS, SUMPRODUCT), round numbers in every possible way (ROUND, MROUND, CEILING.MATH), generate numbers (SEQUENCE, RANDARRAY) and handle angles, powers, logarithms and matrices.

Start with these

ABSReturns the absolute value of a number: the number without its sign.AGGREGATECalculates SUM, AVERAGE, MAX, LARGE, MEDIAN and 14 other statistics while optionally ignoring errors and hidden rows.CEILING.MATHRounds a number up to the nearest integer or multiple of significance, with control over negative numbers.FLOOR.MATHRounds a number down to the nearest integer or multiple of significance, with control over negative numbers.INTRounds a number down to the nearest integer, toward minus infinity (−7.85 becomes −8).MODReturns the remainder after dividing one number by another; the result has the sign of the divisor.MROUNDRounds a number to the nearest multiple of another number, such as 0.05, 15 minutes or a pallet size.POWERRaises a number to a power, e.g. squares, cubes, roots and compound growth. Same as the ^ operator.PRODUCTMultiplies all the numbers given as arguments or in ranges and returns the product.RANDReturns a random decimal number from 0 up to (but not including) 1, recalculated every time the sheet changes.RANDBETWEENReturns a random whole number between two values you specify, inclusive.ROUNDRounds a number to a chosen number of digits, with halves rounded away from zero.ROUNDDOWNRounds a number toward zero to a chosen number of digits, cutting off the rest.ROUNDUPRounds a number away from zero to a chosen number of digits, e.g. to count boxes or billable units.SEQUENCEGenerates a spilled list or grid of sequential numbers with a chosen start and step.SQRTReturns the positive square root of a number.SUBTOTALReturns a sum, count, average and more for a list, ignoring rows hidden by a filter and other SUBTOTAL results.SUMAdds numbers, cell ranges or both and returns the total. The most used function in Excel.SUMIFAdds the cells that meet one condition, such as all sales for the East region or every invoice above 500.SUMIFSAdds the values that meet several conditions at once, such as East-region laptop sales in April.SUMPRODUCTMultiplies matching items in arrays and adds the results; also the classic way to sum or count with complex conditions.TRUNCCuts a number to a given number of decimal places without rounding; the default removes all decimals.

All 80 math & trig functions

Other categories

Lookup & referenceLogicalTextDate & timeStatisticalFinancialInformationDatabaseEngineeringCompatibilityWebCubeAI & Python