+ Reply to Thread
Results 1 to 9 of 9

Capitalization.

  1. #1
    Registered User
    Join Date
    05-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    38

    Capitalization.

    I need to capitalize only the very first word of each sentence in a paragraph.

    How can I do this? Thanks!

  2. #2
    Registered User
    Join Date
    02-23-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Capitalization.

    Have you looked at using the "Proper" formula?

    Not sure of your layout but this might be a good start?

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Capitalization.

    Proper() will cap the 1st letter of every word, not just the 1st word

    perhaps something like this?
    =SUBSTITUTE(A2,LEFT(A2,1),UPPER(LEFT(A2,1)))
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Capitalization.

    Try this UDF....

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Registered User
    Join Date
    02-23-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    26

    Re: Capitalization.

    [QUOTE=FDibbins;3262492]Proper() will cap the 1st letter of every word, not just the 1st word

    Ah, yeah.

    Learnt something new today too. Thanks for the substitution lesson

  6. #6
    Valued Forum Contributor
    Join Date
    05-20-2013
    Location
    Ohio, USA
    MS-Off Ver
    Excel 2013
    Posts
    941

    Re: Capitalization.

    =get(word)

  7. #7
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Capitalization.

    Quote Originally Posted by jhren View Post
    =get(word)
    Just curious to know in which version of excel the get() function exist?

  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: Capitalization.

    You could expand on this, but I'd go with a UDF.
    This handles the punctation marks, "Full Stop", "Question Mark", and "Exclamation Mark" with carriage return thrown in for good luck ...

    Drag C3 Across as far as you like
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Then in B2 expand on this, I have only allowed for 3 sentences.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by Marcol; 06-01-2013 at 12:45 PM. Reason: Bad spelling
    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.

  9. #9
    Registered User
    Join Date
    05-12-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    38

    Re: Capitalization.

    thanks everyone.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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