GCD

GCD

Synopsis

GCD(number1,number2,...)

Description

GCD returns the greatest common divisor of given numbers.

  • If any of the arguments is less than one, GCD returns #NUM! error.
  • If any of the arguments is non-integer, it is truncated.
  • This function is Excel compatible.

Examples

GCD(470,770) equals 10.

GCD(470,770,1495) equals 5.

See also

LCM.