LCM Function Explained

The LCM() function in Microsoft Excel returns the least common multiple of two or more integers. It takes two or more arguments, each of which must be a positive integer, and returns the smallest positive integer that is a multiple of all the arguments.

LCM Function Syntax

LCM(number1, [number2], ...)

  • number1: The first number for which you want to calculate the least common multiple.
  • number2: (optional) Additional numbers for which you want to calculate the least common multiple.