Formulas > =GCD()

How to Use GCD() in Google Sheets

Description

Returns the greatest common divisor of one or more integers.

How To Actually Use GCD() in Sheets

GCD(value1, value2)

Try GCD yourself

In cells A1 and A2, enter two integers. In cell B1, write a formula to calculate the GCD of these two numbers.

Hints (2)

Looking for a video tutorial? Members can email me anytime! Check out the blogs below for more info on this formula. Or generate your formula. Find more formulas here at BetterSheets.co/formulas

Transcript-matched member videos for GCD(). Click through to watch.

Watch more tutorials
Write Apps Script to Create a New Google Sheets Formula

Write Apps Script to Create a New Google Sheets Formula

Create a brand new custom formula in Apps Script. We'll do this for our ...
How to Iterate Counting Blank Cells in Google Sheets

How to Iterate Counting Blank Cells in Google Sheets

Count different types of blank cells. Cells with nothing in them.
Advanced Coding in Google Sheets for Programmers

Advanced Coding in Google Sheets for Programmers

Add a Custom Menu Create Native-like Functions Get URL and Sheet ID's vi...
Google Sheet Basics - The Absolute Basics

Google Sheet Basics - The Absolute Basics

Let's start at the basics of Google Sheets. Where every beginner spreads...

Learn more about the GCD() formula:

Generate a GCD() formula for your needs

Describe your task in plain English and get a paste-ready formula that uses GCD(). 2 free AI generations, no signup. Members get unlimited use.

Generate a GCD() formula