The least common multiple is the smallest positive integer that is a multiple of all numbers supplied.
The LCM function takes one or moreargumentscallednumber1,number2,number3, etc.
All numeric values are expected to be integers.
Numbers with decimal values will be truncated to integers before a result is calculated.
Each argument can be a hardcoded constant, a cell reference, or arangethat contains multiple values.
The LCM function can accept up to 255 arguments total.
Therefore, it’s important not to include empty cell references.
The greatest common divisor is the largest integer that goes into all supplied numbers without a remainder.
For example, =GCD(60,36) returns 12.