+ Reply to Thread
Results 1 to 4 of 4

How to show a number as a fraction of a given numerator and denominator?

  1. #1
    Registered User
    Join Date
    04-27-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    25

    How to show a number as a fraction of a given numerator and denominator?

    Hi,

    I have two columns containing integer numbers. One of the columns contains numerators, the other one their respective denominators. I seek how to put them into a fraction "x/y", where "y" will be exactly the number in the denominator cell, not changed into the lowest denominator. For example, A1 (nominator) is 0, B1 (denominator) is 3. I'd like to get "0/3" as the result, not "0/1". I tried with TEXT function, still after =TEXT(A1/B1; "?"/B1) I am shown the "value!" error.
    Thanks in advance.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: How to show a number as a fraction of a given numerator and denominator?

    If you are just looking to view it

    =A1&"/"&B1
    If you want to use it for calculations or summing, it gets more complicated
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to show a number as a fraction of a given numerator and denominator?

    =a1&''/''&b1
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Registered User
    Join Date
    04-27-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: How to show a number as a fraction of a given numerator and denominator?

    Thank you both, it helped, should have known this before.
    Quote Originally Posted by ChemistB View Post
    If you are just looking to view it

    =A1&"/"&B1
    If you want to use it for calculations or summing, it gets more complicated
    Nah, I just needed to copy the fractions into a text file

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1