Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Split text into multiple columns using a common delimiter

My data in col A is as follows:

1*15
101268*6
101352*16
101513*11
10406*2
10406*37
10411*13
10411*7

I want to add two columns with the data preceding the * going into Col
B and the data following the * going into Col C. I can't use RIGHT or
LEFT because the data is not the same length. If someone knows a way to
do this, I'd certainly appreciate knowing how. Thanks in advance.

  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Split text into multiple columns using a common delimiter

Sure, I can help you with that. Here are the steps to split the text into multiple columns using a common delimiter:
  1. Select the column that contains the data you want to split (in this case, column A).
  2. Click on the "Data" tab in the ribbon at the top of the screen.
  3. Click on the "Text to Columns" button in the "Data Tools" group.
  4. In the "Convert Text to Columns Wizard" that appears, select "Delimited" and click "Next".
  5. In the next screen, select the delimiter that separates the data in your column (in this case, the asterisk "*") and click "Next".
  6. In the next screen, you can choose the format of the columns you want to create. For this example, select "General" for both columns B and C and click "Finish".
  7. Your data should now be split into two columns, with the data preceding the "*" in column B and the data following the "*" in column C.

That's it! Your data should now be split into two columns based on the common delimiter.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Split text into multiple columns using a common delimiter

buffgirl71, have a look at Data, text to columns, post back if you need help
with it

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"buffgirl71" wrote in message
ups.com...
My data in col A is as follows:

1*15
101268*6
101352*16
101513*11
10406*2
10406*37
10411*13
10411*7

I want to add two columns with the data preceding the * going into Col
B and the data following the * going into Col C. I can't use RIGHT or
LEFT because the data is not the same length. If someone knows a way to
do this, I'd certainly appreciate knowing how. Thanks in advance.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 13
Default Split text into multiple columns using a common delimiter

Thank you - that works perfectly. I knew about that functionality...I
don't know why I didn't think of it. Brain f*rt I guess. Thanks!


Paul B wrote:
buffgirl71, have a look at Data, text to columns, post back if you need help
with it

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"buffgirl71" wrote in message
ups.com...
My data in col A is as follows:

1*15
101268*6
101352*16
101513*11
10406*2
10406*37
10411*13
10411*7

I want to add two columns with the data preceding the * going into Col
B and the data following the * going into Col C. I can't use RIGHT or
LEFT because the data is not the same length. If someone knows a way to
do this, I'd certainly appreciate knowing how. Thanks in advance.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 709
Default Split text into multiple columns using a common delimiter

Your welcome, "Brain f*rt I guess" it happens :) More to me now
than days:(

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"buffgirl71" wrote in message
oups.com...
Thank you - that works perfectly. I knew about that functionality...I
don't know why I didn't think of it. Brain f*rt I guess. Thanks!


Paul B wrote:
buffgirl71, have a look at Data, text to columns, post back if you need

help
with it

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"buffgirl71" wrote in message
ups.com...
My data in col A is as follows:

1*15
101268*6
101352*16
101513*11
10406*2
10406*37
10411*13
10411*7

I want to add two columns with the data preceding the * going into Col
B and the data following the * going into Col C. I can't use RIGHT or
LEFT because the data is not the same length. If someone knows a way

to
do this, I'd certainly appreciate knowing how. Thanks in advance.




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
Copy from a Cell to a text box. AJL Excel Worksheet Functions 9 November 7th 06 05:58 PM
"Text to Columns" for many columns in Excel 2003 NickName Excel Discussion (Misc queries) 12 September 8th 06 10:14 PM
How do I create multiple columns from a one-column list in Excel? Melissa Excel Worksheet Functions 5 October 5th 05 03:32 AM
Combining text from multiple columns into 1 stelee Excel Discussion (Misc queries) 3 July 6th 05 11:04 AM
splitting text to multiple columns maryj Excel Discussion (Misc queries) 5 December 1st 04 04:37 PM


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

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"