GCD function. The greatest common divisor.(Microsoft Excel)

Function to get the greatest common divisor given multiple numbers.

How it works

=GCD(number1 to 255)
number1 to 255Required argument. 
Multiple numbers to get the greatest common divisor. In many cases, a cell range is specified.


In this example, 3 numbers are specified, but up to 255 can be specified.
Negative numbers will result in a #NUM!.



Microsoft Excel Functions Math & Trig

LCM Function.Least common multiple.