The GCD Function Calculates the greatest common divisor between two or more numbers. The greatest common divisor is the largest integer that will divide into all of the numbers. For example, =GCD(91,46) returns 1.
Syntax: = GCD (number1, [number2], …)
The GCD function syntax has the following arguments:
- number1: The first number.
- number2 (Optional): The second number.
Example: Let’s look at some Excel GCD function examples and explore how to use the GCD function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following GCD examples would return:
Note: Use the GCD function to get the greatest common divisor of two or more integers. The greatest common divisor is the largest positive integer that divides the numbers without a remainder.