Parse a Cell value using another listing showing criteria
I'm noticing first character is in A, 3rd column starts with M and 4th is
last digit.
If this is always the case, you can just do =LEFT(A2,1) in column 1,
=mid(A2,2,find("m",A2)-1) in column2,
=mid(A2,find("m",A2),len(A2)-find("m",A2)) in column 3 and =RIGHT(A2,1) in
column 4
Otherwise, you may be able to use LOOKUP(), but would kind of depend on the
combinations there are to pick from...
"rosefest" wrote:
I have two part numbers:
A
1 CR4MD6
2 C418MDX7
I need to parse these out into other cells so they look like as follows:
A B C D
1 C R4 MD 6
2 C 418 MDX 7
On a separate sheet I have a listing of all posible combinations of values
in column A, B, C, D.
I was hoping to use data in second sheet to help parse these part numbers
out. I have some 20k lines that I will have to do again at least 2 more
times. As you can see there is no real trend in the data.
Any help is greatly appreciated.
|