How To Use Excel GCD Function

This post will guide you how to use Excel GCD function with syntax and examples in Microsoft excel.

Description

The Excel GCD function Returns the greatest common divisor of two or more integers. So you can use the GCD function to get the largest positive integer that divides the numbers evenly in Excel.

The GCD  function is a build-in function in Microsoft Excel and it is categorized as a MATH Function.

The GCD function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2011 for Mac.

Syntax

The syntax of the GCD function is as below:

= GCD(number1, [number2], ...)

Where the GCD function arguments are:

  • Number1 -This is a required argument. The first number.
  • Number2 – This is optional argument. subsequent numbers

 Note:

  • If argument value is non-numeric, the GCD function will return the #VALUE! Error value.
  • If argument value is less than zero, the GCD function will return the #NUM! error value.
  • If one number to GCD function is greater than 2^53, the GCD function will return the #NUM! error value.

 Excel GCD Function Examples

The below examples will show you how to use Excel GCD Function to get the greatest common divisor of given numbers.

#1 to get the greatest common divisor of the numbers 720 and 420, using the following formula based on the GCD function :

=GCD(720,420)

excel GCD Function1

See Also:

Related Posts

Calculate Loan Interest in Given Year

When you borrow money, you are supposed to repay it gradually. Lenders, on the other hand, want to be compensated for their services and the risk they incur by lending you money. That is, you will not just repay the ...

Calculate Interest Rate for Loan

The interest rate is the fee charged by a lender to a borrower and is expressed as a percentage of the principal—the lent amount. The interest rate on a loan is often expressed as an annual percentage rate, abbreviated as ...

Calculate Interest for Given Period

Using the IPMT function in Excel, we can compute the interest payment on any loan. This step-by-step tutorial will guide Excel users of all skill levels through the process to calculate interest for given period. Finally, the formula: =IPMT(B3/12,1,B5,-B2) The ...

Calculate A Ratio From Two Numbers In Excel

In elementary mathematics, a ratio is a connection or comparison between two or more integers. For example, ratios are often expressed as ":" to demonstrate the relationship between two numbers. You would think that manually calculating a ratio from two ...

How To Use Excel RRI Function

This post will guide you how to use Excel RRI function with syntax and examples in Microsoft excel. Description The Excel RRI function Returns an equivalent interest rate for the growth of an investment. So you can use the RRI ...

CAGR Formula Examples in Excel

CAGR in Excel is a formula that calculates the compound annual growth rate for any invested amount over the specified years or timeframe. Although there is no direct function in Excel that can help us identify the CAGR value, there ...

Build Hyperlink With VLOOKUP in Excel

You might have come across a task in which you were assigned to build hyperlinks, which seems very easy, and if you are new to excel or don't have enough experience with it, then you might wonder about doing this ...

Break ties with helper COUNTIF and column

Suppose you got a task to adjust the values that contain the ties; what would be your first attempt to break the ties of the given value? If you are wondering about doing this task manually, let me add that ...

Calculate Total Cost with Excel VLOOKUP Function

In today's article we will show you how to calculate the total cost for a given weight using the Excel VLOOKUP function. This function will help us to find the appropriate unit price for that weight and then we can ...

Excel Formulas To Calculate The Bond Valuation

Assume that you've been assigned a task of calculating bond valuation; so if you are new to Ms Excel or do not have much experience with it, then I am pretty sure about it that doing this task manually might ...

Sidebar