[]
        
(Showing Draft Content)

LCM

This function returns the least common multiple of two numbers.

Syntax

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

Arguments

This function has these arguments:

Argument

Description

number1, number2, ...

Number1 is required, subsequent numbers are optional. 1 to 255 values for which you want the least common multiple. If value is not an integer, it is truncated.

Remarks

The least common multiple is the smallest positive integer that is a multiple of all integers given.

Use this function to add fractions with different denominators by calculating the least common multiple of both denominators first.

Examples

LCM(B12,C22)

LCM(R12C2,R22C3)

LCM(300,500) gives the result 1500

LCM(12.3,16.99) gives the result 48