+ Reply to Thread
Results 1 to 5 of 5

Help with Formula for Capitalizing First Letter of Each Word

  1. #1
    Registered User
    Join Date
    08-10-2022
    Location
    Toronto
    MS-Off Ver
    2020
    Posts
    42

    Help with Formula for Capitalizing First Letter of Each Word

    Hi

    I am using a formula to capitalize the first letter of each word. I wanted to know if there is a way to exclude the last word, which is a serial number that should remain all capital letters.

    Attached is a sample

    capital letter sample.xlsx

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Help with Formula for Capitalizing First Letter of Each Word

    if, per sample, the serial codes are always 10 chars, then:

    =PROPER(LEFT(B1,LEN(B1)-10))&RIGHT(B1,10)

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Help with Formula for Capitalizing First Letter of Each Word

    Try:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,447

    Re: Help with Formula for Capitalizing First Letter of Each Word

    Go with XLent's solution. Mine doesn't work properly if the code is split.

  5. #5
    Registered User
    Join Date
    08-10-2022
    Location
    Toronto
    MS-Off Ver
    2020
    Posts
    42

    Re: Help with Formula for Capitalizing First Letter of Each Word

    This worked thank you

+ 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. capitalizing first letter of strings
    By bsapaka in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-27-2014, 10:14 PM
  2. Replies: 5
    Last Post: 10-02-2013, 12:29 PM
  3. Replies: 8
    Last Post: 09-25-2013, 10:20 AM
  4. How to toggle off First letter auto capitalizing
    By noxema in forum Excel General
    Replies: 4
    Last Post: 08-22-2013, 02:17 PM
  5. [SOLVED] Capitalizing First letter of name in VBA
    By jayinthe813 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-18-2012, 10:57 AM
  6. [SOLVED] Capitalizing first letter in each word
    By rmcc in forum Excel General
    Replies: 12
    Last Post: 07-24-2012, 09:10 PM
  7. [SOLVED] Need help with capitalizing first letter in each word
    By vonneffdobermans in forum Excel General
    Replies: 3
    Last Post: 12-10-2008, 04:57 PM

Tags for this Thread

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