+ Reply to Thread
Results 1 to 4 of 4

Covert last character in text to Uppper case

  1. #1
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    858

    Covert last character in text to Uppper case

    I have a column of a few thousand records where I need to convert the last character of each name to Upper case. I have attached a test file. I need a formula in column B.
    Thanks in advance
    Attached Files Attached Files
    Last edited by Aland2929; 03-15-2012 at 12:25 PM.

  2. #2
    Forum Contributor
    Join Date
    08-04-2011
    Location
    Tampa, FL
    MS-Off Ver
    Excel 2007
    Posts
    109

    Re: Covert last character in text to Uppper case

    =left(a1,len(a1)-1)&upper(right(a1,1))

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Covert last character in text to Uppper case

    Try this

    =LEFT(A1,LEN(A1)-1)&UPPER(RIGHT(A1,1))
    does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Forum Contributor
    Join Date
    06-11-2009
    Location
    Cape Town
    MS-Off Ver
    Microsoft 365
    Posts
    858

    Re: Covert last character in text to Uppper case

    Thanks so much to you both. It works perfectly.

+ 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