Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RC
 
Posts: n/a
Default Remove all characters following the first character in a string

In a spreadsheet containing a long list of names, with the last, first, and
middle names in separate columns, what is the easiest way to replace each
middle name with only a middle initial?
  #2   Report Post  
Rowan
 
Posts: n/a
Default

Assuming the middle names are in Column B, in another column (say D1) enter
the formula =Left(B1) and copy it down.

Hope this helps
Rowan

"RC" wrote:

In a spreadsheet containing a long list of names, with the last, first, and
middle names in separate columns, what is the easiest way to replace each
middle name with only a middle initial?

  #3   Report Post  
Dave Peterson
 
Posts: n/a
Default

Do you need to keep the original middle names?

If no, I'd select that column
data|text to columns
fixed width
draw a line between the first and second character
(and remove any that excel guessed)
And choose to ignore (skip) the second column.

If you need to keep the data, I'd use another column with a formula like:

=left(c1,1)

and drag down.



RC wrote:

In a spreadsheet containing a long list of names, with the last, first, and
middle names in separate columns, what is the easiest way to replace each
middle name with only a middle initial?


--

Dave Peterson
  #4   Report Post  
Govind
 
Posts: n/a
Default

Hi,

Add another column and insert this formula there and copy it down to
entire column.

=LEFT(B1,1)

where B1 is the Middle name. This formula will return the first
character of the middle name which can be used as a middle name.

If you want the middle name column to be replaced, copy this formula
column and paste as value in the middle name column.

Regards

Govind.

RC wrote:

In a spreadsheet containing a long list of names, with the last, first, and
middle names in separate columns, what is the easiest way to replace each
middle name with only a middle initial?

  #5   Report Post  
RC
 
Posts: n/a
Default

Thanks Rowan, since there several columns of data on either side of those
middle names, I can insert a column, use the formula you recommended in the
"new" column, and remove the "old" column with the middle names when finished.
Thanks again,
RC

"Rowan" wrote:

Assuming the middle names are in Column B, in another column (say D1) enter
the formula =Left(B1) and copy it down.

Hope this helps
Rowan

"RC" wrote:

In a spreadsheet containing a long list of names, with the last, first, and
middle names in separate columns, what is the easiest way to replace each
middle name with only a middle initial?



  #6   Report Post  
RC
 
Posts: n/a
Default

Thanks Dave, this worked out great, as the middle names were no longer needed.
RC

"Dave Peterson" wrote:

Do you need to keep the original middle names?

If no, I'd select that column
data|text to columns
fixed width
draw a line between the first and second character
(and remove any that excel guessed)
And choose to ignore (skip) the second column.

If you need to keep the data, I'd use another column with a formula like:

=left(c1,1)

and drag down.



RC wrote:

In a spreadsheet containing a long list of names, with the last, first, and
middle names in separate columns, what is the easiest way to replace each
middle name with only a middle initial?


--

Dave Peterson

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
remove non-numeric characters from a cell SWBodager Excel Discussion (Misc queries) 14 December 16th 05 07:49 PM
remove last three characters of cell mira Excel Discussion (Misc queries) 8 July 28th 05 12:06 AM
Remove characters from a text string using a formula duncrbrt Excel Discussion (Misc queries) 1 June 4th 05 02:19 AM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 09:56 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 12:25 AM


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