+ Reply to Thread
Results 1 to 11 of 11

Converting capital letters to lower case in all but the first word in a string in a cell

  1. #1
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Converting capital letters to lower case in all but the first word in a string in a cell

    Does anyone know how to do this. Or indeed if its possible. Thanks,

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    well
    =LEFT(A1,FIND(" ",A1)-1)&LOWER(MID(A1,FIND(" ",A1),255))
    doG day AFTERNOON to
    doG day afternoon
    BUT
    =LEFT(A1,FIND(" ",A1&" ")-1)&LOWER(MID(A1,FIND(" ",A1&" "),255))
    WILL also work when only one word in cell
    Last edited by martindwilson; 01-14-2014 at 08:38 AM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    =left(a1,find(" ",a1,1))&lower(substitute(a1,left(a1,find(" ",a1,1)),""))

    ?

  4. #4
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    Thank you yudlugar... however the limit with that one is that the first word, which is entirely in capital letters... remains entirely in capital letters... instead of just the first lettter...still its very nice. Any chance it can be perfected?

  5. #5
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    =proper(LEFT(A1,FIND(" ",A1&" ")-1))&LOWER(MID(A1,FIND(" ",A1&" "),255))
    WILL also work when only one word in cell

  6. #6
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    Upper(left(a1,1))&lower(mid(a1,2,1000))

  7. #7
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    Yulugar that's perfect thanks very much

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    Why not one more

    =UPPER(LEFT(A1,1))&LOWER(RIGHT(A1,LEN(A1)-1))
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  9. #9
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    AlKey, thank you, is there anything better about your one?
    Thanks

  10. #10
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    Quote Originally Posted by davidx View Post
    AlKey, thank you, is there anything better about your one?
    Thanks
    LOL. It rocks! Just trying to give you more choices

    You have a wonderful day

  11. #11
    Forum Contributor
    Join Date
    11-13-2012
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    279

    Re: Converting capital letters to lower case in all but the first word in a string in a ce

    haha thanks, you have a great day too!

+ 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. Sort capital letters before lower case?
    By Tinwelende in forum Excel General
    Replies: 42
    Last Post: 06-17-2013, 03:58 PM
  2. how to change Lower case to capital case in same cell
    By sellva2205 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-21-2012, 11:52 AM
  3. converting letters to lower case
    By legolas in forum Excel General
    Replies: 2
    Last Post: 03-22-2012, 04:48 AM
  4. making lower case letters capital
    By hollandrob81 in forum Excel General
    Replies: 2
    Last Post: 11-12-2008, 09:12 AM
  5. [SOLVED] Capital letters in names written by lower case
    By vv in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-07-2005, 06:45 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