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
Why not modify the formula that outputs those value to eliminate the spaces and return a numeric result?
Microsoft MVP - Excel
Entia non sunt multiplicanda sine necessitate
Hi,
and format as percentage ...=LEFT(A1,1)/RIGHT(A1,1)
HTH
Or, if either numerator or denominator exceeds 9, =LEFT(A1,FIND(" ",A1)-1)/RIGHT(A1,LEN(A1)-FIND("/",A1)-1).
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 a dabbler in Cisco
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
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.
Thanks all for your help, the formulas did the trick perfectly; I appreciate it!
WT
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks