Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=LEFT(A1,FIND("/",A1)-1) will give 3
=MID(A1,FIND("/",A1)+1,255) will give 12 HTH "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. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
No... it works by finding the "/" and selecting the number of characters to
the left or right. "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. |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
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. |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi A.S.
to the left number =left(a2,search("/",a2,1)-1) for the right =right(a2,search("/",a2,1)) hth regards from Brazil Marcelo "A.S." escreveu: 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. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Match then lookup | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Creating a check mark box | Setting up and Configuration of Excel | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |