[Solved] How to calculate & display a ratio Ex. 2.69:1
Posted: Sun Jul 17, 2016 5:22 pm
I'm trying to have my sheet calculate and display a ratio like this ( Ratio 3:1) of 2 speeds in a single cell.
Example:
Speed A= 17mph
Speed B= 6.32mph
The ratio is 2.69:1
Currently I am trying this formula:
This gives the proper format X:X in the answer cell, But the result is not right.
Example:
Speed A= 17mph
Speed B= 6.32mph
Gives the ratio as 17:6.32
But it should show this 2.69:1
What am I doing wrong?
I'm using OpenOffice 4.1.2
Example:
Speed A= 17mph
Speed B= 6.32mph
The ratio is 2.69:1
Currently I am trying this formula:
Code: Select all
=A2/GCD(A2;B2)&":"&B2/GCD(A2;B2)Example:
Speed A= 17mph
Speed B= 6.32mph
Gives the ratio as 17:6.32
But it should show this 2.69:1
What am I doing wrong?
I'm using OpenOffice 4.1.2