LCM function

LCM returns the lowest common multiple of all numbers in the list.

Syntax

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

number1 is required and subsequent numbers are optional. The numbers must be integers and cannot be less than 0.

Example

=GCD(7,2) returns 14, because 14 is the lowest common multiple of 7 and 2.