ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Trim text and split across three columns (https://www.excelbanter.com/excel-discussion-misc-queries/233756-trim-text-split-across-three-columns.html)

Juswant Rai

Trim text and split across three columns
 
I am trying to slit the following text info across three columns

xxxxx yyyyyy zzzzzzzzzzzzzzzz

Is there a function that will allow me to do this without having to type all
the info into separate columns

Can I just copy it all into three columns and trim out the all but the xxxxx

and then in the next column yyyyyy


Juswant

Jacob Skaria

Trim text and split across three columns
 
One way.Copy the formulas and drag down as required..

In B1
=TRIM(LEFT(TRIM(A1),FIND(" ",TRIM(A1))))

In C1
=LEFT(TRIM(SUBSTITUTE(A1,B1,"")),FIND(" ",TRIM(SUBSTITUTE(A1,B1,))))

In D1
=TRIM(SUBSTITUTE(SUBSTITUTE(A1,B1,),C1,))

If this post helps click Yes
---------------
Jacob Skaria


"Juswant Rai" wrote:

I am trying to slit the following text info across three columns

xxxxx yyyyyy zzzzzzzzzzzzzzzz

Is there a function that will allow me to do this without having to type all
the info into separate columns

Can I just copy it all into three columns and trim out the all but the xxxxx

and then in the next column yyyyyy


Juswant


muddan madhu

Trim text and split across three columns
 
you can use "text to columns" option available in excel.


On Jun 13, 12:49*pm, Juswant Rai <Juswant
wrote:
I am trying to slit the following text info across three columns

xxxxx yyyyyy zzzzzzzzzzzzzzzz

Is there a function that will allow me to do this without having to type all
the info into separate columns

Can I just copy it all into three columns and trim out the all but the xxxxx

and then in the next column yyyyyy

Juswant



sri

Trim text and split across three columns
 
help me in trimming the leading spaces of text in columns. TRIM is not
deleting the spaces in the begining of the text. any help?

"muddan madhu" wrote:

you can use "text to columns" option available in excel.


On Jun 13, 12:49 pm, Juswant Rai <Juswant
wrote:
I am trying to slit the following text info across three columns

xxxxx yyyyyy zzzzzzzzzzzzzzzz

Is there a function that will allow me to do this without having to type all
the info into separate columns

Can I just copy it all into three columns and trim out the all but the xxxxx

and then in the next column yyyyyy

Juswant




David Biddulph[_2_]

Trim text and split across three columns
 
If TRIM doesn't remove your leading spaces, then the characters are
presumably not spaces.
Does =CODE(LEFT(A1)) return 32? If not, the character isn't a space. It
may be a non-breaking space (160 instead of 32). You may need to use a
SUBSTITUTE function.
--
David Biddulph

Sri wrote:
help me in trimming the leading spaces of text in columns. TRIM is not
deleting the spaces in the begining of the text. any help?

"muddan madhu" wrote:

you can use "text to columns" option available in excel.


On Jun 13, 12:49 pm, Juswant Rai <Juswant
wrote:
I am trying to slit the following text info across three columns

xxxxx yyyyyy zzzzzzzzzzzzzzzz

Is there a function that will allow me to do this without having to
type all the info into separate columns

Can I just copy it all into three columns and trim out the all but
the xxxxx

and then in the next column yyyyyy

Juswant





All times are GMT +1. The time now is 03:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com