In B1:
=LEFT($A1, FIND(CHAR(10),$A1)-1)
In C1:
=MID($A1,FIND(CHAR(10),$A1)+1,FIND(CHAR(10),SUBSTITUTE($A1,CHAR(10),"|",1)) - FIND(CHAR(10),$A1))
In D1:
=MID($A1,FIND(CHAR(10),SUBSTITUTE($A1,CHAR(10),"|",1))+1,LEN($A1))
In B1:
=LEFT($A1, FIND(CHAR(10),$A1)-1)
In C1:
=MID($A1,FIND(CHAR(10),$A1)+1,FIND(CHAR(10),SUBSTITUTE($A1,CHAR(10),"|",1)) - FIND(CHAR(10),$A1))
In D1:
=MID($A1,FIND(CHAR(10),SUBSTITUTE($A1,CHAR(10),"|",1))+1,LEN($A1))
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use theicon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks