+ Reply to Thread
Results 1 to 8 of 8

Thread: UPPERCASE to lowercase

  1. #1
    Registered User
    Join Date
    11-07-2011
    Location
    A, A
    MS-Off Ver
    2011 for MAC version 14.1.0
    Posts
    8

    UPPERCASE to lowercase

    We have an export that is roughly 3,000 rows. In column A, customer names, export is in ALL CAPS. We want to change from ALL CAPS to normal formatting.

    ie:

    KAUAI FRESH FARMS to Kauai Fresh Farms
    ROBERT TORNELLO to Robert Tornello

    We are trying to do this without retyping the data in each cell. Any quick fixes?

    Cheers,

    Eric Christian
    Last edited by ericinarcata; 01-09-2012 at 10:33 PM. Reason: Got it figured

  2. #2
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: UPPERCASE to lowercase

    Hi Eric,

    Did you look at the functions: Upper(), Lower(), and Proper()
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  3. #3
    Registered User
    Join Date
    11-07-2011
    Location
    A, A
    MS-Off Ver
    2011 for MAC version 14.1.0
    Posts
    8

    Re: UPPERCASE to lowercase

    Jeff. Thanks. Yes. We are trying to have the data in the cell from uppercase to proper, without having to pull from another cell.

  4. #4
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: UPPERCASE to lowercase

    I don't have 2011 MAC, but guessing maybe it has VBA.

    Try...

    Sub ProperCase()
        Dim LR As Long
        Dim i As Long
        LR = Range("A" & Rows.Count).End(xlUp).Row
        For i = 1 To LR
            Range("A" & i).Value = Application.WorksheetFunction.Proper(Range("A" & i))
        Next i
    End Sub
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  5. #5
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Cochrane,Alberta
    MS-Off Ver
    XL 2003,2007,2010
    Posts
    6,843

    Re: UPPERCASE to lowercase

    =proper(range)
    This would have to be used in a separate column
    If you want this to be done automatically, VBA would have to be involved.
    Attach a sample workbook reflecting what your workbook setup is like, so somebody can assist you.

    Darn it!!
    Okay, then go with Jeff's solution.

  6. #6
    Valued Forum Contributor vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - Guimba-Nueva Ecija
    MS-Off Ver
    2010
    Posts
    777

    Re: UPPERCASE to lowercase

    another vba i think??!


    Sub uppertoproper()
        Dim r As Range
        On Error Resume Next
        Err.Clear
        Application.EnableEvents = False
        For Each r In Selection.SpecialCells(xlCellTypeConstants, xlTextValues).Cells
        If Err.Number = 0 Then
        r.Value = StrConv(r.Text, vbProperCase)
        End If
        Next r
        Application.EnableEvents = True
    End Sub

    Note: Select all first the entries then run macro ... don't know MAC...
    Contributors to this forum do not get paid. They give their valuable time to help you solve your problem. That's why feel free to CLICK their STAR icon to say thank you -even the given idea/solution didn't really solve your queries. The time given to you deserves a small gratitude anyway.

    Dare to give a pencil to a child. http://www.blackpencilproject.org/

  7. #7
    Registered User
    Join Date
    11-07-2011
    Location
    A, A
    MS-Off Ver
    2011 for MAC version 14.1.0
    Posts
    8

    Re: UPPERCASE to lowercase

    Thanks. Here is part of the file. Column A is in all caps. Trying not to use another column. Never created a macro or VBA before. Is it pretty simple.

    Cheers,

    Eric Christian
    Attached Files Attached Files

  8. #8
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: UPPERCASE to lowercase

    Quote Originally Posted by ericinarcata View Post
    Thanks. Here is part of the file. Column A is in all caps. Trying not to use another column. Never created a macro or VBA before. Is it pretty simple.
    Hi Eric,

    Are you asking another question?

    http://www.rondebruin.nl/code.htm

    Creating macros are relative to the amount of time they take and are they easy. Well, I have been hanging around this forum for quite some time and I feel pretty comfortable with a macro like this one, but some of the macros these other folks do are simply amazing.
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

+ 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.2.0