+ Reply to Thread
Results 1 to 7 of 7

Uppercase First letter of Each Word in String but Ignore Other Capital Letters

  1. #1
    Registered User
    Join Date
    09-16-2021
    Location
    Arkansas
    MS-Off Ver
    Office 365
    Posts
    4

    Question Uppercase First letter of Each Word in String but Ignore Other Capital Letters

    I have done a lot of searching, but I have been unable to find an example formula how to have a string in one cell produce in another column the same string but with the first letter capitalized while ignoring other capitals in the string.

    For example:
    ACL Machine Alarm and Error Troubleshooting

    I need this to read:
    ACL Machine Alarm And Error Troubleshooting

    in another cell. When I try using other formulas such as PROPER(), it will remove the other capital letters (i.e. above it would show up as Acl Machine Alarm...)

    Thank you for your assistance!
    Last edited by nikolast; 09-20-2021 at 11:20 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Uppercase First letter of Each Word in String but Ignore Other Capital Letters

    You will probably need VBA and a list of exceptions (ACL, IBM, NASA, ASCII etc) as there no other way of identifying the acronym

  3. #3
    Registered User
    Join Date
    09-16-2021
    Location
    Arkansas
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Uppercase First letter of Each Word in String but Ignore Other Capital Letters

    Thanks for the quick reply. I was hoping there was a way to look at only the first letter and change if necessary. Sounds like VBA may be the only way to make that happen... bummer.

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Uppercase First letter of Each Word in String but Ignore Other Capital Letters

    If there is a limited list then a formula might be an option using a "lookup") BUT I suspect the acronyms are not limited to the first word (?)

  5. #5
    Registered User
    Join Date
    09-16-2021
    Location
    Arkansas
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Uppercase First letter of Each Word in String but Ignore Other Capital Letters

    You are correct acronyms could appear anywhere. The goal was to just look at the first letter and capitalize if it is not.

  6. #6
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,410

    Re: Uppercase First letter of Each Word in String but Ignore Other Capital Letters

    Since you are using a version of Excel with the CONCAT function... and assuming there are not leading punctuation marks for any of the words (in other words, a word won't have a opening parenthesis, dash, etc. in front of it) and that the only letter that needs to be looked at is the one after a space character... then this array-entered** formula should do what you want...


    Formula: copy to clipboard
    Please Login or Register  to view this content.

    **Commit this formula using CTRL+SHIFT+ENTER and not just Enter by itself

    NOTE: This formula assumes none of your text will contain more than 99 characters. If they could contain more, than all three 99's will have to be increased to a number equal to or larger than the longest possible text string.
    Last edited by Rick Rothstein; 09-17-2021 at 03:06 PM.

  7. #7
    Registered User
    Join Date
    09-16-2021
    Location
    Arkansas
    MS-Off Ver
    Office 365
    Posts
    4

    Re: Uppercase First letter of Each Word in String but Ignore Other Capital Letters

    This is perfect Rick. Thank you for your assistance on this.

+ 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] Formating Dates and capital letters in the First Letter of the Month
    By Vinhas in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 09-04-2020, 08:37 AM
  2. Replies: 10
    Last Post: 01-20-2014, 10:09 AM
  3. [SOLVED] Userform Textbox will not allow capital letters after first letter input
    By Stratfordoaks in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-20-2014, 10:07 AM
  4. Replies: 3
    Last Post: 12-08-2010, 09:36 AM
  5. find same word in all capital letters
    By sportingsports in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 08-13-2010, 08:43 AM
  6. Making first letter of each word capital
    By jccip20 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-06-2007, 04:08 AM
  7. [SOLVED] Default Capital letter for 1st letter of a word
    By Jeff in forum Excel General
    Replies: 6
    Last Post: 07-10-2006, 03:39 AM

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