+ Reply to Thread
Results 1 to 7 of 7

Convert Text-Formatted Fraction (4 / 4) to Percent %?

  1. #1
    Registered User
    Join Date
    04-01-2010
    Location
    Williamsburg, VA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Convert Text-Formatted Fraction (4 / 4) to Percent %?

    I have a number of cells that currently have formulas that output text-fractions ie: "3 / 4" (with space before and after /). I am trying to convert these to a % ie: 75%

    I've tried using
    * ="="&C9 but this outputs '=3 / 4' as text
    * =FIXED(C9,0,TRUE) but this outputs the numeric date quivalent of 40272
    * A number of different variants using Indirect() but keep getting #REF! errors

    I'm trying to do this without VBA if at all possible.

    Any suggestions?

    WT

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Convert Text-Formatted Fraction (4 / 4) to Percent %?

    Why not modify the formula that outputs those value to eliminate the spaces and return a numeric result?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Valued Forum Contributor JeanRage's Avatar
    Join Date
    03-02-2009
    Location
    Nice, France
    MS-Off Ver
    Excel 2003
    Posts
    705

    Re: Convert Text-Formatted Fraction (4 / 4) to Percent %?

    Hi,

    Please Login or Register  to view this content.
    and format as percentage ...

    HTH

  4. #4
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Convert Text-Formatted Fraction (4 / 4) to Percent %?

    Or, if either numerator or denominator exceeds 9, =LEFT(A1,FIND(" ",A1)-1)/RIGHT(A1,LEN(A1)-FIND("/",A1)-1).

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

    Re: Convert Text-Formatted Fraction (4 / 4) to Percent %?

    you could get away with
    =LEFT(A1,FIND(" ",A1)-1)/RIGHT(A1,2) as there always is a space after /
    "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

  6. #6
    Forum Expert darkyam's Avatar
    Join Date
    03-05-2008
    Location
    Houston, TX
    MS-Off Ver
    2013
    Posts
    2,191

    Re: Convert Text-Formatted Fraction (4 / 4) to Percent %?

    Perhaps, but I'm a fan of handling all cases when possible. 1041 / 7123 would be handled by mine and we don't really know the OP's true requirements for the formula.

  7. #7
    Registered User
    Join Date
    04-01-2010
    Location
    Williamsburg, VA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Convert Text-Formatted Fraction (4 / 4) to Percent %?

    Thanks all for your help, the formulas did the trick perfectly; I appreciate it!

    WT

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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