LCM (least common multiple)

<< Click to Display Table of Contents >>

LCM (least common multiple)

Syntax:

LCM(Number1 [, Number2, Number3 ...])

Description:

Returns the LCM (least common multiple) of the specified integers. The LCM is the smallest positive integer that is a multiple of the given integers.

You can specify numbers or cell references as arguments.

Number1, Number2, etc., are the numbers to be evaluated. All of them must be ≥ 1. Additionally, all of them should be integers. Digits to the right of the decimal point are ignored.

Example:

LCM(5, 10, 15) returns 30

If cells A1 to A3 contain the values 4, 8 and 6:

LCM(A1:A3) returns 24

See also:

GCD