OpenOffice3.org Calc 3. Mathematical Functions
GCD(Integer 1; Integer 2;...) Function
Returns a numeric value. Calculte the
greatest common divisor of the numbers given as arguments. This function takes
minimum of 1 and maximum of 30 arguments. Each argument contain an number, or
reference to a range of cells that contain numbers used to calculate the result.
For example:
=GCD(40;12;8) Returns 4.
=GCD(32;14;28) Returns 2.
=GCD(25;15;35;50) Returns 5.