+ Reply to Thread
Results 1 to 9 of 9

Capitalize all first letter

  1. #1
    Registered User
    Join Date
    04-13-2009
    Location
    Upstate NY
    MS-Off Ver
    Excel 2003
    Posts
    14

    Capitalize all first letter

    It has been a while since I used excel to any extent. I have numerous files that were converted from PDF to Excel. There are two columns, Last Name and First Name. When they converted all the letters in each column were capitalized. Is there a way (macro or function) I can use that will leave only the first letter upper case and the rest lower case that I can apply to the entire worksheet or each column?
    CoachBarker

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Capitalize all first letter

    Try the PROPER() function in Excel.
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    08-06-2013
    Location
    Cheltenham, England
    MS-Off Ver
    Excel 2013
    Posts
    19

    Re: Capitalize all first letter

    Hi,

    Add a new column and type in the following formula:

    =proper(a1)

    This is assuming that the word to change is in cell a1. Then drag the formula down. Then highlight the whole of the new column, copy, and paste special (values) back into it. You are then ok to delete the original column. Any good?

  4. #4
    Valued Forum Contributor
    Join Date
    09-15-2011
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    436

    Re: Capitalize all first letter

    Hi,

    You can have my solution as an alternative

    The 'proper' function will display the sentances as follows (Every first letter in upper case)
    Eg: "Excel Forum For Queries"


    If you want only the first word of the sentance to be proper, then you can use this function
    =PROPER(LEFT(A1,FIND(" ",A1)))&LOWER(MID(A1,FIND(" ",A1),LEN(A1)))
    Result: "Excel forum for queries"
    Please click 'Add reputation', if my answer helped you.

  5. #5
    Registered User
    Join Date
    04-13-2009
    Location
    Upstate NY
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Capitalize all first letter

    what if I want to do a range B2 thru B50 and C2 thru C50?

  6. #6
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Re: Capitalize all first letter

    Quote Originally Posted by ramananhrm View Post

    If you want only the first word of the sentance to be proper, then you can use this function
    =PROPER(LEFT(A1,FIND(" ",A1)))&LOWER(MID(A1,FIND(" ",A1),LEN(A1)))
    Or like this:
    =PROPER(LEFT(A1,1))&LOWER(MID(A1,2,255))

  7. #7
    Registered User
    Join Date
    08-06-2013
    Location
    Cheltenham, England
    MS-Off Ver
    Excel 2013
    Posts
    19

    Re: Capitalize all first letter

    You'll need to drag your formula down through your range.

  8. #8
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Capitalize all first letter

    There are two columns, Last Name and First Name.
    If your data looks like this workbook then PROPER() will do the job, drag/Fill E2:D2 down
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-13-2009
    Location
    Upstate NY
    MS-Off Ver
    Excel 2003
    Posts
    14

    Re: Capitalize all first letter

    thank you all for your help

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Only Capitalize First Letter & Delete Last Name
    By zulhfreelancer in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 7
    Last Post: 12-11-2012, 02:16 AM
  2. [SOLVED] Capitalize first letter in a cell
    By oskie89 in forum Excel General
    Replies: 4
    Last Post: 07-31-2012, 06:48 PM
  3. Capitalize first letter
    By randall78 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-14-2012, 03:56 AM
  4. Capitalize first letter of every word
    By inspirone1505 in forum Excel General
    Replies: 5
    Last Post: 02-20-2007, 03:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1