Hi all,
I need to split text in one cell to multiple cells. the text contains numbers as well & in fact the starting character within the cell is a number.
see attached file & kindly provide solution
Thanks
Hi all,
I need to split text in one cell to multiple cells. the text contains numbers as well & in fact the starting character within the cell is a number.
see attached file & kindly provide solution
Thanks
Last edited by MaheshK5277; 02-23-2016 at 07:15 AM.
Could you supply more rows of sample?
Quang PT
or just simly use "Text to column" for ur given example
Text to column-----------fixed width
If answer helped you say Thanks by Add Reputation
Hi Bebo,
rows added. see file attached
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
Ok Let try
C6=LEFT(A6,FIND(" ",A6)-1)
D6=TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A6,E6,""),F6,""),G6,""),H6,""),C6,""))
E6=IFERROR(TRIM(RIGHT(SUBSTITUTE(TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A6,F6," "),G6," "),H6," "))," ",REPT(" ",50)),50)),0)
F6=IFERROR(-LEFT(SUBSTITUTE(TRIM(RIGHT(SUBSTITUTE(A6,"-",REPT(" ",50)),50))," ",REPT(" ",50)),50),0)
G6=IFERROR(TRIM(LEFT(SUBSTITUTE(TRIM(RIGHT(SUBSTITUTE(SUBSTITUTE(A6,"-",REPT(" ",50)),ABS(F6),REPT(" ",50)),50))," ",REPT(" ",50)),50)),0)
H6=IFERROR(TRIM(RIGHT(SUBSTITUTE(TRIM(RIGHT(SUBSTITUTE(SUBSTITUTE(A6,"-",REPT(" ",50)),ABS(F6),REPT(" ",50)),50))," ",REPT(" ",50)),50)),0)
and drag down
If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Maybe with a code ?
Kind regardsPlease Login or Register to view this content.
Leo
Hi Ankur,
Yes it works...many thanks bro...!!!
Hi leo,
What a wonderful piece of work...works amazingly well...! Many thanks to you..
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks