Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Extracting text from string

How can I extract the following string: Aaa/AAA/AAA? These need to be
extracted into three separate column. The end result would look like this
Aaa (in column 1), AAA (in column 2), AAA (in column 3).

Can someone please help me?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,942
Default Extracting text from string

hi
if string is in colurn a...
in column b put...=LEFT(A1,3)
in column c put...=MID(A1,5,3)
in colurrn d put...=MID(A15,9,3)

regards
FSt1

"Confused" wrote:

How can I extract the following string: Aaa/AAA/AAA? These need to be
extracted into three separate column. The end result would look like this
Aaa (in column 1), AAA (in column 2), AAA (in column 3).

Can someone please help me?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Extracting text from string

Confused wrote:
How can I extract the following string: Aaa/AAA/AAA? These need to be
extracted into three separate column. The end result would look like this
Aaa (in column 1), AAA (in column 2), AAA (in column 3).

Can someone please help me?


How about Data/"Text to Columns" using the slash as a delimiter?

Beege
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default Extracting text from string

The string can vary and will have different combinations, ie BB/AAA/B or
/B/B-.
Is there a formula that will just extract the characters before the "/"? so
in the string BB/AAA/B, column 1 will have BB, column 2 will have AAA, column
3 will have B.

Thanks,

"Confused" wrote:

How can I extract the following string: Aaa/AAA/AAA? These need to be
extracted into three separate column. The end result would look like this
Aaa (in column 1), AAA (in column 2), AAA (in column 3).

Can someone please help me?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 66
Default Extracting text from string

Confused wrote:
The string can vary and will have different combinations, ie BB/AAA/B or
/B/B-.
Is there a formula that will just extract the characters before the "/"? so
in the string BB/AAA/B, column 1 will have BB, column 2 will have AAA, column
3 will have B.

Thanks,

"Confused" wrote:

How can I extract the following string: Aaa/AAA/AAA? These need to be
extracted into three separate column. The end result would look like this
Aaa (in column 1), AAA (in column 2), AAA (in column 3).

Can someone please help me?


1] Select your column
2] Go to menu item Data, then Text to Columns in the list of Data options
3] A dialog box will appear. You can choose either "delimited" or "fixed
width"
4] Choose "delimited", then next.
5] Different kinds of delimiters are displayed. Choose the "other" box
and enter a front slash mark.
6] Click "Okay"

Still confused?

Beege


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
Extracting the last set of words from a text string IPerlovsky Excel Worksheet Functions 14 March 2nd 07 02:47 AM
Extracting a numbers from a text string IPerlovsky Excel Worksheet Functions 24 February 27th 07 04:55 PM
Extracting integers from a text string. Bhupinder Rayat Excel Worksheet Functions 10 September 28th 05 05:15 PM
Extracting from a text string AmyTaylor Excel Worksheet Functions 3 June 24th 05 01:34 PM
Extracting Surname from within a text string Iainkerr01 Excel Worksheet Functions 6 March 14th 05 10:16 AM


All times are GMT +1. The time now is 02:18 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"