Home |
Search |
Today's Posts |
#7
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Thu, 15 Oct 2009 09:17:17 -0700, Jen wrote:
Hi! Can anyone help me with a formula for Excel 2003 to split data from 1 column into 2? Data Examples: COUN1234 PS3524 PSY5002 I want to have a formula to split the alpha data from the numeric data. As you can see, the alpha data is of varying lengths. Thanks ahead of time for anyone who can assist with this! -Jen;-) Jennifer Moulton The location of the first digit in your string is given by the formula: =MIN(FIND({0,1,2,3,4,5,6,7,8,9,0},A1&"0,1,2,3,4,5, 6,7,8,9")) Accordingly, to return the alpha data: =LEFT(A1,-1+MIN(FIND({0,1,2,3,4,5,6,7,8,9,0},A1&"0,1,2,3,4,5 ,6,7,8,9"))) and to return the digits: =MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9,0},A1&"0,1,2 ,3,4,5,6,7,8,9")),99) Note the 99 at the end. This just needs to be a value larger than the longest set of digits in your data. --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Shortcut to split data from one column into three? HELP! | Excel Worksheet Functions | |||
Split Data in One Column Into Two | Excel Discussion (Misc queries) | |||
Split data in column | Excel Worksheet Functions | |||
How do I split data in a column (formula)? | Excel Discussion (Misc queries) | |||
How to split one column into two? | Excel Worksheet Functions |