LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 85
Default Opposite of CONCATENATE

(Tiko)**2,

If you do not prefer Debora's very practical example, and want to do
something in VBA instead, try:
(This assumes that all names are delimited sith spaces. If you have initials
and periods, you will have to do a little more processing)

Sub splitter()

Dim namefield As String
Dim NameX() As String

namefield = "Alfred Jim Muggs"
NameX = Split(namefield, " ")
For i = LBound(NameX) To UBound(NameX)
msg = msg & "Name " & i + 1 & " is: [" & NameX(i) & "]" &
vbCrLf
Next i
MsgBox msg

End Sub

Alex J

"Debra Dalgleish" wrote in message
...
You can use the Text to Columns command to separate the data.

Ensure that there are several blank columns to the right of the
column that contains the names.
Select the cells with names, and choose DataText to Columns
Select Delimited, click Next
Select the appropriate delimiter (e.g. Space or comma)
Click Finish

TikoTiko wrote:
What command would allow me to do the opposite of CONCATENATE in Excel?

I'm trying to break-up a field with a full name, hence i need to extract the
first name, middle and last name.


--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



 
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
Is there an opposite function to "Concatenate" in Excel? drbonne Excel Worksheet Functions 8 April 3rd 23 01:21 PM
opposite of concatenate? BrightHawk Excel Discussion (Misc queries) 3 September 24th 09 08:13 AM
Opposite to CONCATENATE function John Excel Worksheet Functions 2 September 27th 06 07:32 PM
Opposite of Concatenate shane24 Excel Worksheet Functions 6 December 2nd 05 12:14 PM
Opposite of Concatenate Steve Excel Worksheet Functions 2 September 1st 05 02:20 AM


All times are GMT +1. The time now is 11:51 PM.

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

About Us

"It's about Microsoft Excel"