![]() |
#1
|
||||
|
||||
![]() ![]() Hi guys, I need some help here. I have about 1000 subscribers name & email list here. I want to do some housekeeping where: 1. I want to remove 'last name' (in this case, Smith is the last name and I only want John to be there). 2. I want to only capitalize the first letter and did not want ALL CAPS records like JOHN SMITH. Any Excel shortcuts to settle this? Thank you. |
#2
|
||||
|
||||
![]()
Welcome to the forum.
1. =LEFT(A1,SEARCH(" ",A1)-1) 2. =PROPER(A2) |
#3
|
||||
|
||||
![]()
Thank you very much!
|
#4
|
||||
|
||||
![]()
Good day guys,
I've another question here that closely related to this thread. If I have these records in an Excel file (http://i.imgur.com/o13Cv.png), what could I do to trim them to obtain just their first name? 1. Remove text after space (Smith) and obtain only John. 2. Remove text after space (SMITH) and obtain only John and capitalize only the front letter. 3. Maintain records that already capitalize it's front letter and doesn't have last name. 4. Capitalize front letter for name that doesn't have last name. 5. Normalize the case and only capitalize the front letter for name that doesn't have last name. Thank you. |
#5
|
||||
|
||||
![]()
Hi,
Try: Code:
=PROPER(LEFT(TRIM(A1),SEARCH(" ",TRIM(A1)&" ")-1)) |
#6
|
||||
|
||||
![]()
Thank you very much Colin! It's worked for me.
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Exceptions for 'Capitalize first letter of sentences' | gazpacho | Word | 1 | 01-12-2012 11:43 AM |
Is there a way to capitalize the all the words except the prepositions? | Jamal NUMAN | Word | 2 | 08-06-2011 11:46 PM |
![]() |
angeltread | Word VBA | 4 | 01-17-2011 03:50 PM |
delete email message via blackberry and have it delete on my pop3 and my outlook | Iamthestorm | Outlook | 2 | 10-28-2010 12:21 AM |
capitalize first letter of sentences | norco1 | Word | 0 | 06-25-2006 12:37 PM |