Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Does anyone have any suggestions on how to select the numbers within a string?
For example, in cell A1, there is a string 6023 - 10056. I would like to retrieve any number before "-" in cell B1, it should return 6023, and I would like to retrieve any number after "-" in cell C1, it should return 10056. Does anyone have any suggestions? Thanks in advance for any suggestions Eric |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
As responsed in your earlier query yesterday
---------- Easiest way is via Data Text to Columns Select the col containing such data (ensure you have empty cols to the right) Click Data Text to Columns Delimited In step 2, enter a dash (-) in the "Other" box, click Finish -- Max Singapore http://savefile.com/projects/236895 Downloads:23,000 Files:370 Subscribers:66 xdemechanik --- "Eric" wrote: Does anyone have any suggestions on how to select the numbers within a string? For example, in cell A1, there is a string 6023 - 10056. I would like to retrieve any number before "-" in cell B1, it should return 6023, and I would like to retrieve any number after "-" in cell C1, it should return 10056. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Select even or odd numbers | Excel Discussion (Misc queries) | |||
I CANNOT SELECT NUMBERS ON MY KEYBOARD? | New Users to Excel | |||
auto select of numbers | Excel Discussion (Misc queries) | |||
How to select top six numbers from a of range of random numbers | Excel Worksheet Functions | |||
randomly select numbers | Excel Discussion (Misc queries) |