+ Reply to Thread
Results 1 to 5 of 5

Thread: How to display text & fractions, referencing another cell?

  1. #1
    Registered User
    Join Date
    06-08-2007
    Posts
    22

    How to display text & fractions, referencing another cell?

    I'm trying to simplify a conversion process, and am having trouble incorporating text and maintaing formating.

    I have numbers formatted as fractions in a cell: 1/4, 1/2, 3/32, and so on. I want another cell to display the fraction and add text.

    So if cell B2 is 1/4, I want cell A1 to state "Cell B2 is 1/4", but can only get it to state "Cell B2 is 0.25". If I format B2 as text, this works fine, but it throws off the math in critical formulas.

    Is there some way to display a number as a fraction and have text in the same cell?

    Thanks! Oh, I'm using Excel 2003 if that's of any use.

  2. #2
    Forum Guru VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    12,010
    Maybe

    ="Cell B2 is "&TEXT(B2,"?/?")
    or
    ="Cell B2 is "&TEXT(B2,"0/0")
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636
    Try

    "Cell B2 is "&TEXT(B2,"?/?")
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  4. #4
    Registered User
    Join Date
    06-08-2007
    Posts
    22

    Thanks, this mostly works.

    However,

    for fractions like 3/32....


    Nevermind! It works great all the way (just have to add the extra "?"'s for fractions with 2 or more digits.

    Very helpful! Great job, as always! Thanks!

  5. #5
    Registered User
    Join Date
    03-02-2011
    Location
    Colts Neck, NJ
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Thanks, this mostly works.

    It worked for me too. THANK YOU!!

    Quote Originally Posted by stir-crazy View Post
    However,

    for fractions like 3/32....


    Nevermind! It works great all the way (just have to add the extra "?"'s for fractions with 2 or more digits.

    Very helpful! Great job, as always! Thanks!

+ 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.2.0