Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default 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


  #4   Report Post  
Posted to microsoft.public.excel.misc
sri sri is offline
external usenet poster
 
Posts: 37
Default 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



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Identifying text to split into columns Cynthia Excel Worksheet Functions 7 November 14th 07 09:11 PM
Text to Columns or TRIM? Kevin Excel Discussion (Misc queries) 2 February 5th 07 10:20 PM
Text to columns, split at first space only Wowbagger New Users to Excel 3 April 21st 06 09:22 PM
split text , insert to columns nshanmugaraj Excel Discussion (Misc queries) 4 March 3rd 06 01:17 PM
How do I split 16 char text 'XX XXX= +. X' into 16 columns Jeff Excel Discussion (Misc queries) 9 August 15th 05 02:17 PM


All times are GMT +1. The time now is 09:59 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"