Then the first number is divided by the GCD.

On the right, the same operations are performed with the second number.

So, altogether, we have:

Note that the final result of this formula is a text value.

Excel GCD function

The greatest common divisor is the largest integer that goes into all supplied numbers without a remainder.

For example, =GCD(60,36) returns 12.