이 함수는 Google Sheets에서도 Excel과 동일하게 작동합니다 — 구문과 인수가 같습니다.
LCM(number1, [number2], ...)The LCM function calculates the smallest positive integer that is a multiple of all argument numbers. It is commonly used for adding fractions with different denominators or scheduling recurring events.
=LCM(5, 2)결과: 10
The smallest number divisible by both 5 and 2 is 10.
=LCM(4, 6, 8)결과: 24
The smallest number divisible by 4, 6, and 8 is 24.
The LCM function truncates non-integer values to integers.