Nuclear_Dude
New Member
- Joined
- Jun 13, 2011
- Messages
- 4
Heres my question: I have data that looks like this:
...
445QQR99
445WWY90
465UXY85
0
UNKNOWN
'random text string'
...
What I want to do is split the cell according to what is in it. I was planning on using nested IF statements, but I need to know if it is possible to do the following:
C1=IF(ISNUMBER(LEFT(A1,3)),[LEFT(A1,3) and D1=MID(A1,4,5)],IF...
In laymans terms, i want to check if the first 3 make a number (e.g. 445 or 465 in above example), if true then C1 is the first 3, and D1 is the rest of the string, but if false go on to a different if statement.
Is this possible? Thanks in advance!!!!
NukeDude
----------
Point of clarification on raw data:
data can be a string of totally random letters, or a description, or blank, or 0, or it will be in the following form where '#' represents a digit, and '?' represents a character from the 26 letter alphabet: "###???##'. This form is one thing that I am specifically needing to split.
...
445QQR99
445WWY90
465UXY85
0
UNKNOWN
'random text string'
...
What I want to do is split the cell according to what is in it. I was planning on using nested IF statements, but I need to know if it is possible to do the following:
C1=IF(ISNUMBER(LEFT(A1,3)),[LEFT(A1,3) and D1=MID(A1,4,5)],IF...
In laymans terms, i want to check if the first 3 make a number (e.g. 445 or 465 in above example), if true then C1 is the first 3, and D1 is the rest of the string, but if false go on to a different if statement.
Is this possible? Thanks in advance!!!!
NukeDude
----------
Point of clarification on raw data:
data can be a string of totally random letters, or a description, or blank, or 0, or it will be in the following form where '#' represents a digit, and '?' represents a character from the 26 letter alphabet: "###???##'. This form is one thing that I am specifically needing to split.