Thread: Need formula
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre Ron Coderre is offline
external usenet poster
 
Posts: 2,118
Default Need formula

As a potential alternative....

You could use text-to-columns to parse the text-fractions into the adjacent
cells.

Select the column of cells to be used

From the Excel main menu:
<data<text-to-column
Delimited.....click the [Next] button
Delimiter.....Check: Other and enter / ...click the [Next] button
Destination...Select the cell to the right of the top cell in your list
Click the [Finish] button

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"A.S." wrote:

Yes this helps. I just want to make sure that this is not based on a specific
position of the characters. meaning, its not jsut taking the first character
to the left of the "/", because I may have 10/12. Thanks for the help.

"Ron Coderre" wrote:

Hoping this isn't just homework.....
try this

For a text-fraction in A1 (example: 3/12)

B1: =LEFT(A1,FIND("/",A1)-1)

C1: =RIGHT(A1,LEN(A1)-FIND("/",A1))
or
C1: =MID(A1,FIND("/",A1)+1,255)

Is that something you can work with?
***********
Regards,
Ron

XL2002, WinXP


"A.S." wrote:

Hello, I am looking for a formula that will allow me to take specific figures
from a cell before and after a "/".

Example: 3/12
So in one cell I need it to read 3 and in another cell I need it to read 12.

This has to be done with formula and not macro. Any thoughts?

Thanks.