+ Reply to Thread
Results 1 to 29 of 29

Mass changing upper case to lower case letters

  1. #1
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Arrow Mass changing upper case to lower case letters

    Hi,

    I have a load of data extracted into a tab and they extract as e.g "john.smith". I need a forumla or a way to to show either "Smith, John" or "John Smith". Can anyone please advise?

    Cheers
    Last edited by jonathan.haynes; 09-03-2012 at 08:03 AM.

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Mass changing upper case to lower case letters

    hI try this
    Please Login or Register  to view this content.
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Hi,

    Sorry this makes no sense what so ever, please can you explain?

  4. #4
    Forum Contributor
    Join Date
    08-29-2012
    Location
    Slough
    MS-Off Ver
    Excel 2007
    Posts
    469

    Re: Mass changing upper case to lower case letters

    Hi Jonathan,

    Tom's way would be the cleanest way of doing it. If you are not happy with using VBA then there are formulas that can do it as I have written below.

    The easiest way to do it would be to first split it into 2 columns. To do this click on the column the names are in and then click on 'Data' and 'Text to Columns'. Select Delimited and click next. Now select 'other' and put a . in the box. Now click next and then finish.

    This should seperate all the cells into 2.

    Say the 2 columns are A and B. You now need the formula

    Please Login or Register  to view this content.
    and then drag the formula down.

    The last code you would need is
    Please Login or Register  to view this content.
    This would end up with 4 columns of data but at least the problem is sorted.

    I would suggest trying the VBA way first as a basic knowledge of VBA is always useful .

    Hope this helped.

    Danny

  5. #5
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    if your name is in a1
    =PROPER(SUBSTITUTE(A1,"."," "))
    for a formula solution
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  6. #6
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Mass changing upper case to lower case letters

    what exactly makes no sense and what should be explain? I do not follow (this code makes what You asked for)

  7. #7
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    All,

    Quote Originally Posted by tom1977 View Post
    what exactly makes no sense and what should be explain? I do not follow (this code makes what You asked for)
    I don't know how to use VBA, I need formulas I can use in excel only.

    Quote Originally Posted by JosephP View Post
    if your name is in a1
    =PROPER(SUBSTITUTE(A1,"."," "))
    for a formula solution
    This doesn't work? It is coming up as 0 after the formula is complete.

    Quote Originally Posted by DannyJ View Post
    Hi Jonathan,

    Tom's way would be the cleanest way of doing it. If you are not happy with using VBA then there are formulas that can do it as I have written below.

    The easiest way to do it would be to first split it into 2 columns. To do this click on the column the names are in and then click on 'Data' and 'Text to Columns'. Select Delimited and click next. Now select 'other' and put a . in the box. Now click next and then finish.

    This should seperate all the cells into 2.

    Say the 2 columns are A and B. You now need the formula

    Please Login or Register  to view this content.
    and then drag the formula down.

    The last code you would need is
    Please Login or Register  to view this content.
    This would end up with 4 columns of data but at least the problem is sorted.

    I would suggest trying the VBA way first as a basic knowledge of VBA is always useful .

    Hope this helped.

    Danny
    This looks good however I cant use 4 columns!

    -

    I apologise for being a pain!

  8. #8
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    what's in a1? if it's "john.smith" as you said then you should get "John Smith" back.

  9. #9
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Quote Originally Posted by JosephP View Post
    what's in a1? if it's "john.smith" as you said then you should get "John Smith" back.
    In my example, this is the formula I have:

    =PROPER(SUBSTITUTE(FM5,jonathan.haynes,Haynes, Jonathan))

    I need an instance number otherwise the forumla isnt complete?

  10. #10
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    why do you have that? use the formula I suggested and change the cell reference-and nothing else-to match your data

  11. #11
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Hi Joseph,

    Can you see the attached file so maybe you can see where I am going wrong?
    Attached Files Attached Files

  12. #12
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    the formula is what I posted
    =PROPER(SUBSTITUTE(A1,"."," "))
    nothing else! ;-)

  13. #13
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    That makes sense, I somehow thought that the " was supposed to be replaced by the name!

    Is there any way we can get the name by surname then forename? e.g Haynes, Jonathan?

    Cheers!

  14. #14
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    yes
    =PROPER(MID(A1&", "&A1,FIND(".",A1)+1,LEN(A1)+1))

  15. #15
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Thats great! Thanks.

    Two more questions - How about if I have two names in the extract and it comes out like this:
    jonathan.haynes; john.smith
    I need it to say: Haynes, Jonathan; Smith, John

    Also

    A few of the extracted names have middle names e.g joe.h.bloggs, this is making the names come out as H.Bloggs, Joe

    See next post for correct attachment

    Cheers!
    Attached Files Attached Files
    Last edited by jonathan.haynes; 09-03-2012 at 10:33 AM.

  16. #16
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Incorrect attachment! Use this one:Example 2.xlsx

  17. #17
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    how many exceptions are there? can you correct them manually? a formula to handle these possibilities would get pretty complicated I reckon

  18. #18
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    There is around over 200, which isn't great!

  19. #19
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    ok I've added a udf to your file that should work with the examples given
    Attached Files Attached Files

  20. #20
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Thats great thanks - however how do I go about getting this across to my own Spreadsheet? I can get as far as opening VB.

    Cheers

  21. #21
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    copy the code from module1 into a new module in your real workbook

  22. #22
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Again excellent help, one last problem! See attached!

    CheersExample 22.xlsm

  23. #23
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    change convertname to
    Please Login or Register  to view this content.

  24. #24
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Nothing seemed to have changed, can you double check on my example?

    Cheers

  25. #25
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    you have to edit one of the formulas for the change to take effect (just f2 and enter one of them)

  26. #26
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    Example 22.xlsm

    That makes perfect sense, thank you so much for the help!

    So my final question is, if I have two or more names in different cells and need to go into the same cell on a different tab how would I go about doing that?

    See attached for example.

    Cheers

  27. #27
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Mass changing upper case to lower case letters

    and I thought we'd already had "one last problem"

    since the names are in yet another format this is a different question really

  28. #28
    Forum Contributor
    Join Date
    09-03-2012
    Location
    Newcastle
    MS-Off Ver
    Excel 2010
    Posts
    132

    Re: Mass changing upper case to lower case letters

    I also thought we had one last question but another problem always pops up.

    And ok well happy to make a new thread if you can't assist here.

    Cheers for the help

  29. #29
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Mass changing upper case to lower case letters

    @ jonathan.haynes

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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