How to Calculate Ratio in Excel | Excel Formula

This article is been written to find calculate ratio in Excel

Ratio: In simple mathematics, relationship or comparison between two more numbers is known as ratios. Ratios are normally written as “:” to show the connection between two numbers, for instance. If there are 2 red balls and 3 blue balls on the table you could write their ratio as [2:3]. Unfortunately, there is no systematic way to calculate a ratio, but there is an easy way around for doing the same, you can try the below guidelines to calculate ratio in Excel.

Now, let’s learn how to calculate ratio in Excel.

how to calculate ratios in excel

Calculate the ratio of products between two shops

Step 1: Create a table same as like above picture. Since this table is showing a number of products in the store of two shops. We are going to calculate the ratio of each product between these 2 shops. Column D is for calculating GCD and Column E is for a ratio.

Watch Free Lessons on Advanced Excel Shortcuts: Free Video Lessons

What is GCD?

The GCD Function is used to calculate the greatest common denominator between two or more values. We can use GCD to then create our ratios. The GCD Function is extremely easy to use. Simply type =GCD( followed by the numbers that you wish to find the greatest common divisor of (separated by commas).

Formula: =GCD(Number 1, Number 2)

Once you understand how GCD works you can use the function to find your ratios by dividing each of the two numbers by their GCD and separating the answers with a colon “:”. Hence, now we are ready on how to calculate ratio.

First, we need to calculate GCD in column D then we will calculate ratio in column E using GCD.

how to calculate ratios in excel 2006
Step 2: In cell D2 type this formula to calculate GCD between B2 and C2.  =GCD(B2,C2)

how to calculate ratios in excel using formula
Step 3: Now we have got GCD result 5 for cell B2 and C2. So, now copy this formula into other cells of the column using Fill Handle dragging below to other cells of column D. calculate ratios in excel Step 4: Now we have got all GCD values of all rows in column D. Now let’s Calculate ratio.

Formula: = Num1/GCD(Num1, Num2) & “:” & Num2/GCD(Num1, Num2)

This complicated formula is basically saying,

= (Number of times Number 1 contains GCD) & “:” & (Number of times Number 2 contains GCD)

In our example the formula would be written as:

=B2/GCD(B2,C2) & ”:” & C2/GCD(B2,C2)


=B2/D2 &”:”& C2/D2

(Because We already calculated GCD (B2,C2) in cell D2.

So, we can say D2= GCD(B2,C2))

Results:  =100/5 & “:” & 15/5   = 20 & “:” & 3   = 20:3

CALCULATE ration in excel with example Step 5: In cell, E2 type this formula to calculate ratio:

=B2/D2 &”:”& C2/D2

Press ENTER. Now we have got the ratio between 100 and 15 as 20:3 in cell E2.

calculated-ratioStep 6: Copy the ratio formula in another cell of column E. Finally, we have got the ratio of the whole table. So, we have successfully learned how to calculate ratio in excel.

Also Read: How to use VLOOKUP Excel Formula | How to do autofiller in excel using VBA

1 Response

Leave a Reply

Pre-Registration Open

Power BI Dax

Related Tutorials

Text To Column in Excel | Split Cells
January 4, 2019
Pivot Tables (Complete Guidelines)
December 27, 2018
Power Bi Dax Deduplication Based On Column
December 17, 2018
Special Character Symbol List with Shortcodes in Excel
December 15, 2018
December 10, 2018
December 10, 2018
How to use ABS Function in Excel
December 10, 2018
How to use AND Function in Excel
December 10, 2018
Delete Duplicate in Excel or Remove Duplicate in Excel
November 9, 2018
Excel Formulas PDF
September 6, 2018
How To Lock Cells in Excel | Unprotect Excel
August 13, 2018
4x Faster at Excel
August 6, 2018
Separate Content of One Excel Cells into Separate Columns
August 3, 2018
How to Transpose Excel Columns to Rows | Paste Special Method
July 26, 2018
How to create sparklines in Excel
July 19, 2018
AutoSum in Excel with Shortcut
July 17, 2018
OFFSET Function in Excel
July 6, 2018
Strikethrough Shortcut in Excel & Word
July 4, 2018
INDIRECT Function with SUM, MAX, MIN & Independent Cell Value
June 29, 2018
Pivot Table Slicers In Excel
June 12, 2018
How to Wrap Text in Excel Automatically and Manually
June 6, 2018
How to Hide/Unhide Column in Excel
June 5, 2018
Highlight row based on cell value
June 4, 2018
Learn how to remove blank cells in Excel
June 3, 2018
How to Group Numbers, Dates & Text in Pivot table in Excel
June 1, 2018