Formatting ratios

To show the result of division as a ratio, you can use a custom number format. For example, the current ratio is current assets divided by current liabilities. Typically, this ratio is shown as x:1, or like this

Ratio

The custom number format applied to the current ratio is set by using Format>Cells>Number

RatioFC

This format works because the current ratio is always shown compared to one. If you want to show a ratio, but the denominator is unknown, you can use tip81 from The Spreadsheet Page.

20 Comments

  1. Paul Edmunds says:

    Thank you! The ratio set up worked perfectly!!!!!!!!!!!!!!!!!!!!
    Paul

  2. Dan Oltman says:

    This reminded me exactly what to do. I knew it was right the second I saw it. Thank you very much, job well done.
    dano

  3. Nubiedu says:

    I have been trying to figure out for days how to do ratios in excel and I was so glad when I came across this…Thanks to whoever posted this

  4. Leonard says:

    Thank you for making this function so simple and so easy. I was able to perform a task which would normally have taken me an hour to research in only a matter of five minutes. Much appreciated!

  5. kc says:

    Thank you

  6. frank says:

    Another amazing formatting trick: type a ratio, e.g. 6/5, and precede it by a 0, that is: 0 6/5. See what Excel displays.

  7. Gail K says:

    Hi, this custom type does not exist in Excel 2007; any idea how to display a ration in this version?

  8. You have to create custom types yourself (although MS creates some to get you started). Choose Custom and type this in the textbox.

  9. Sarah says:

    Thank you so much for posting this. It was a big help with my accounting project!

  10. Ifthar says:

    Here is another way of doing this
    =TEXT(B1/B2,”0.0″)&” : 1″

  11. Keith says:

    I came up with this when wanting to show the ratio between two numbers

    =”1:”&(A1/B1)

    then refined it to show the ratio to only two decimal places

    =”1:”&ROUND(A1/B1, 2)

  12. eliz says:

    what if the denominator is 0? It gives me an error.

  13. Michelle says:

    Hi
    I’m new to this blog page.
    I’m am desperately looking for a ratio on how to attribute a full dollar amount to various departments as a percentage.
    The cost of stationery is $1200 and I have many departments to allocate a percentage to based on what they have spent.
    e.g.
    $1200 has been spent by the Admin Department and I have to % allocated the cost as user pays to each deparment.

    The total is $1200 to distribute
    HR spent $410.00
    Computing $250.00
    soccer $315.00
    Netball $90.00
    Gardening $45.00
    etc.
    What is the excel sum to correctly attribute a percentage of the $1200 cost to the various departments.
    Michelle
    Mvick@value.net.nz

  14. Michael says:

    Hi Michelle -

    It looks to me like it would “department spent/total spent”. That is

    $410/$1200, $250/$1200, $315/$1200, $90/$1200, $45/$1200 etc.

    And since that only totals 93%, etc pays 7% ;-)

    Am I missing something here?

    …mrt

  15. Khuwair says:

    This equation formats the cell to read for example 10:1. How can I get it the other way around - as in 1:10? Thanks

  16. Gordon says:

    @Khuwair - Just reverse it:

    “1 : “0.0

  17. Khuwait says:

    Thanks Gordon. It worked perfectly!

    I tried reversing it but got the order of the quotation marks wrong. I did 1:”0.0″ and the result was 1:00!

  18. Michelle says:

    HI Everyone.

    It doesn’t appear to be working for what I require. Maybe the way I communicated the query.
    If I have a total spent expense and I need to divide it over the various departments that have lesser or higher spent. Then the total % has to add up to 100% with none left over. So when I sum up the percentages against the departments it should equal 100%.

    Example
    total money spent
    1966

    Department 1 has spent 850 ? xxx% of 1966
    Department 2 has spent 950
    D. 3 has spent 50
    D. 4 has spent 64
    D. 5 has spent 52

    the percentage ought to value to 100%
    Cheers

  19. Michelle says:

    Hello Michael.

    This is what you wrote:
    It looks to me like it would “department spent/total spent”. That is

    $410/$1200, $250/$1200, $315/$1200, $90/$1200, $45/$1200 etc.

    And since that only totals 93%, etc pays 7%

    Am I missing something here?

    My answer. Your answer worked out perfectly in this order.

    I used your idea and finally it worked. =total spent/total of all departments (absolute) / 100
    I tried to post the sum graphic but unable to.
    many thanks.

  20. Beezlebob says:

    Thanks - just what I was looking for.

Leave a Reply