Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I need to be able to either set a variable value or use a formula that will
extract only the numbers that appear prior to the first "X" in a cell starting from the right. For example: 3.5X16X6 Would return 6 15233.5X16X28 Would return 28 3.5X16X10.5 would return 10.5 Any ideas? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Try this:
=MID(A1,FIND("~",SUBSTITUTE(A1,"X","~",LEN(A1)-LEN(SUBSTITUTE(A1,"X",""))))+1,999) HTH, Elkar "Dave L" wrote: I need to be able to either set a variable value or use a formula that will extract only the numbers that appear prior to the first "X" in a cell starting from the right. For example: 3.5X16X6 Would return 6 15233.5X16X28 Would return 28 3.5X16X10.5 would return 10.5 Any ideas? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Worked perfect. Thanks!
|
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how to extract numbers from imported cell with text and numbers? | Excel Discussion (Misc queries) | |||
Extract numbers from cell with Text and Numbers | New Users to Excel | |||
How do I extract numbers from a cell with both text and numbers? | Excel Worksheet Functions | |||
extract numbers from cell containing text & numbers | Excel Worksheet Functions | |||
extract numbers from cell problem | Excel Worksheet Functions |