EXCEL LCM FUNCTION

The least common multiple of the number or numbers is returned by this function.

Syntax:

=LCM (number1, [number2], …)

Parameter list:

  • The first number is number1.
  • number2 – the second number (optional).

Step By Step Guide of LCM Function

When you need to find the least common multiple of two numbers, use the LCM function.

The smallest positive integer that is a multiple of all the integers provided as inputs is known as the least common multiple.

Because 48 is the smallest multiple of all three integers 6,8 and 16, =LCM(6,8,16) returns 48. However, because 24 is the lowest multiple of all three integers, =LCM(8,12,3) returns 24.

  • LCM returns the #VALUE! error value if any of the arguments are nonnumeric.
  • LCM returns the #NUM! error value if any of the arguments is less than zero.

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now