Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a list of names in the format last, first. The whole name is stored
in a variable to be sorted later. How can I remove the , first from the string before putting it in a cell? Ex. The name is Smith, John. I want to put this in cell A1 but all I want in A1 is Smith. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Select Column of data - hit Data / Text To Columns / Delimited / Comma as
delimiter - During wizard highlight the seocnd column and choose 'Do Not Import'. Hit next and finish. -- Regards Ken....................... Microsoft MVP - Excel Sys Spec - Win XP Pro / XL 97/00/02/03 ---------------------------------------------------------------------------- It's easier to beg forgiveness than ask permission :-) ---------------------------------------------------------------------------- "Erik" wrote in message ... I have a list of names in the format last, first. The whole name is stored in a variable to be sorted later. How can I remove the , first from the string before putting it in a cell? Ex. The name is Smith, John. I want to put this in cell A1 but all I want in A1 is Smith. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() -- HTH RP "Erik" wrote in message ... I have a list of names in the format last, first. The whole name is stored in a variable to be sorted later. How can I remove the , first from the string before putting it in a cell? Ex. The name is Smith, John. I want to put this in cell A1 but all I want in A1 is Smith. |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think you removed the *whole* string there Bob <g
-- Regards Ken....................... Microsoft MVP - Excel Sys Spec - Win XP Pro / XL 97/00/02/03 ---------------------------------------------------------------------------- It's easier to beg forgiveness than ask permission :-) ---------------------------------------------------------------------------- "Bob Phillips" wrote in message ... -- HTH RP "Erik" wrote in message ... I have a list of names in the format last, first. The whole name is stored in a variable to be sorted later. How can I remove the , first from the string before putting it in a cell? Ex. The name is Smith, John. I want to put this in cell A1 but all I want in A1 is Smith. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.771 / Virus Database: 518 - Release Date: 28/09/2004 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
vlookup part of string... | Excel Discussion (Misc queries) | |||
delete a - if it is the last part of a string | Excel Discussion (Misc queries) | |||
Search/Match/Find ANY part of string to ANY part of Cell Value | Excel Worksheet Functions | |||
Extract Part of String | Excel Worksheet Functions | |||
extracting part of string value | Excel Programming |