Returns the greatest common divisor of two or more integers. The greatest common divisor (or highest common factor) is the largest positive integer that will divide, without remainder, each of the given integers.
Syntax
Remarks
1 divides all the integers evenly, and is returned when there is no common divisor for the given integers.
Examples
|
Formula |
Result |
|
=GCD(23; 4; 32) |
1 |
|
=GCD(12; 6) |
6 |
|
=GCD(45,60,5,35) |
5 |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
|
#NUM! |
|
Similar Functions