4 ways for changing case in Excel

In this article I'd like to tell you about different ways to change Excel uppercase to lowercase or proper case. You'll learn how to perform these tasks with the help of Excel lower/upper functions, VBA macros, Microsoft Word, and an easy-to-use add-in by Ablebits.

The problem is that Excel doesn't have a special option for changing text case in worksheets. I don't know why Microsoft provided Word with such a powerful feature and didn't add it to Excel. It would really make spreadsheets tasks easier for many users. But you shouldn't rush into retyping all text data in your table. Fortunately, there are some good tricks to convert the text values in cells to uppercase, proper or lowercase. Let me share them with you.

Excel functions for changing text case

Microsoft Excel has three special functions that you can use to change the case of text. They are UPPER, LOWER and PROPER. The upper() function allows you to convert all lowercase letters in a text string to uppercase. The lower() function helps to exclude capital letters from text. The proper() function makes the first letter of each word capitalized and leaves the other letters lowercase (Proper Case).

All three of these options work on the same principle, so I'll show you how to use one of them. Let's take the Excel uppercase function as an example.

Enter an Excel formula

  1. Insert a new (helper) column next to the one that contains the text you want to convert.
    Insert a new column to enter formulas in the adjacent blank cells.

    Note: This step is optional. If your table is not large, you can just use any adjacent blank column.

  2. Enter the equal sign (=) and function name (UPPER) in the adjacent cell of the new column (B3).
  3. Type in the appropriate cell reference in the parentheses (C3) after the function name.

    Your formula should look like this =UPPER(C3), where C3 is the cell in the original column that has the text for conversion. Enter the equal sign, function name and cell reference to apply the formula to the adjacent cell.

  4. Click Enter. Click Enter to see the converted text value.

    As you can see in the screenshot above, cell B3 contains the uppercase version of the text from cell C3.

Copy a formula down a column

Now you need to copy the formula to other cells in the helper column.

  1. Select the cell that includes the formula.
  2. Move your mouse cursor to the small square (fill handle) in the lower-right corner of the selected cell until you see a small cross. Select the cell and drag the fill handle down to copy the formula.
  3. Hold the mouse button and drag the formula down over the cells where you want it to apply.
  4. Release the mouse button. Release the mouse button to fill the column with the text in uppercase.

    Note: If you need to fill the new column down to the end of the table, you can skip steps 5-7 and just double-click on the fill handle.

Remove a helper column

So you have two columns with the same text data, but in different case. I suppose you'd like to leave only the correct one. Let's copy the values from the helper column and then get rid of it.

  1. Highlight the cells that contain the formula and press Ctrl + C to copy them. Press Ctrl + C to copy the values from the selected cells.
  2. Right-click on the first cell in the original column.
  3. Click on the Values icon under Paste Options in the context menu.  Choose Values from the Paste Options in the context menu to insert the text without the formula.

    Since you need only the text values, pick this option to avoid formula errors later.

  4. Right-click the selected helper column and choose the Delete option from the menu.
  5. Pick Entire column in the Delete dialog box and click OK. Select the helper column and choose the Delete option from the right-click menu to remove the column.

Here you are! Delete the helper column to get the table with the converted text case.

This theory might look very complicated to you. Take it easy and try to go through all these steps yourself. You'll see that changing case with the use of Excel functions is not difficult at all.

Use Microsoft Word to change case in Excel

If you don't want to mess with formulas in Excel, you can use a special command for changing text case in Word. Feel free to discover how this method works.

  1. Select the range where you want to change case in Excel.
  2. Press Ctrl + C or right-click on the selection and choose the Copy option from the context menu. Click Copy or press Ctrl + C to copy the table from Excel to Word.
  3. Open a new Word document.
  4. Press Ctrl + V or right-click on the blank page and select the Paste option from the context menu  Click Paste or press Ctrl + V to paste the table in Word.

    Now you've got your Excel table in Word.

  5. Highlight the text in your table where you want to change the case.
  6. Move to the Font group on the HOME tab and click on the Change Case icon.
  7. Pick one of 5 case options from the drop-down list. Click on the Change Case icon to pick the case you want.

    Note: You can also select your text and press Shift + F3 until the style you want is applied. Using the keyboard shortcut you can choose only upper, lower or sentence case.

    Select the changed table or columns to copy back to Excel.

Now you have your table with the text case converted in Word. Just copy and paste it back to Excel.  Click Paste or press Ctrl + V to paste the changed table back in Excel.

Converting text case with a VBA macro

You can also use a VBA macro for changing case in Excel. Don't worry if your knowledge of VBA leaves much to be desired. A while ago I didn't know much about it as well, but now I can share three simple macros that make Excel convert text to uppercase, proper or lowercase.

I won't labor the point and tell you how to insert and run VBA code in Excel because it was well described in one of our previous blog posts. I just want to show the macros that you can copy and paste into the code Module.

If you want to convert text to uppercase, you can use the following Excel VBA macro:

Sub Uppercase() For Each Cell In Selection If Not Cell.HasFormula Then Cell.Value = UCase(Cell.Value) End If Next Cell End Sub

To apply Excel lowercase to your data, insert the code shown below into the Module window.

Sub Lowercase() For Each Cell In Selection If Not Cell.HasFormula Then Cell.Value = LCase(Cell.Value) End If Next Cell End Sub

Pick the following macro if you want to convert your text values to proper / title case.

Sub Propercase() For Each Cell In Selection If Not Cell.HasFormula Then Cell.Value = _ Application _ .WorksheetFunction _ .Proper(Cell.Value) End If Next Cell End Sub

Quickly change case with the Cell Cleaner add-in

Looking at the three methods described above you might still think that there is no easy way to change case in Excel. Let's see what the Cell Cleaner add-in can do to solve the problem. Probably, you'll change your mind afterwards and this method will work best for you.

  1. Download the add-in and install it on your computer.

    After the installation the new Ablebits Data tab appears in Excel.

  2. Select the cells where you want to change the text case.
  3. Click on the Change Case icon in the Clean group on the Ablebits Data tab.  Click on the Change Case icon in the Clean group on the Ablebits Data tab to display the Change case section.

    The Change case pane displays to the left of your worksheet.

  4. Select the case you need from the list.
  5. Press the Change case button to see the result. Select the necessary radio button to change the case of text in your Excel table.

    Note: If you want to keep the original version of your table, check the Back up worksheet box.

     Press the Change case button to convert the text to uppercase in Excel.

With Cell Cleaner for Excel the changing case routine seems to be much easier, doesn't it?

Besides changing text case Cell Cleaner can help you to convert numbers in the text format to the number format, delete unwanted characters and excess spaces in your Excel table. Download the free 30-day trial version and check out how useful the add-in can be for you.

Video: how to change case in Excel



I hope now that you know nice tricks for changing case in Excel this task will never be a problem. Excel functions, Microsoft Word, VBA macros or Ablebits add-in are always there for you. You have a little left to do - just choose the tool that will work best for you.

163 comments

  1. FANTASTIC , IT IS VERY USEFUL TO ME

  2. how to convert the ()sentence after writing in a paragarph

  3. Hi,
    Anybody can tell me the short cut key of UPPERCASE in excel 2007.

    Thanks.

  4. Nice article. It really helped me, thanks a lot :)

  5. excellent article. very very easy & comprehensive article. thanks a lot for educating me. warm regards.

  6. excel formula change sentence case shortcut key

  7. thanks a lot.

  8. I am looking for an option to do this:

    EMPLOLYEE_IDENTIFIER_DETAILS - Employee_Identifier_Details

    Basically after each underscore (_), the first letter only need INIT CAPS. Could you please help me on this.

    BTW, your article is excellent and down to earth. You helped lot of our people time and manual effort. We are grateful for that service.

    • Hi Karthick,

      Did you try the "Proper" function? It works with underscores and other special characters as well

  9. I want example RamSingh, please confirm formula how to change Ram Singh.

    RamSinghVasisht Ram Singh Vasisht.

  10. Excellent solution.

    Thanks a lot

  11. Hi,

    I have 2007 xl, in pdf some all the letters in caps only. But I copy the pdf to xl format change it as upper lower case only. ex: in PDF 12505 SW NORTH DAKOTA
    paste in xl 12505 Sw North Dakota. How can I convert in all caps

  12. PLZ GIVE ALL SOLUTION

  13. The keyboard my laptop uses upper cases only, but i would like you to help me on how i can set my keyboard to work normal.

  14. THANK U MY PROBLAM SOLVED DUE TO WORD OPTION

  15. is there any shortcut key to change the case in EXCEL

      • shift+f3

        • This one for MS-Word

      • Technicallly there is a such a shortcut. Using some formulas, you can do some basic case change. You may run into issues with hyphenated words and such.
        =CONCATENATE(UPPER(LEFT(B3,1)),LOWER(RIGHT(B3,LEN(B3)-1))) is an example formula.

  16. I AM RINU.
    I SOLVED MY PROBLEM.

    THANKU SO MUCH

  17. haha copy paste from excel to word, and copied back to excel is a very good trick. thank you so much ekaterina! :D

  18. Hi

    My requirements:

    I need to change case in to Upper & Proper depend on the criteria.
    I have to remove all special charecter excluding parentheses (()), ampersand (&) and hyphen(-)
    English word "And" has to replace by "&".
    when we do the proper case LLC and INC has to be remail same like LLC and INC only
    In a sentense if it is Corp, that has to change as Corporation.

    I need all the above in CellCleaner Add-in

    Please do the needful & your help much appreciated.

    • Hi, Mallikharjuna,
      Thank you for the update. I am really sorry for a delay in my reply.
      Please specify the criteria for changing the case.
      If you want to delete only some special symbols, click on the Remove Characters icon and select the Remove custom characters option. Just enter the symbols you want to delete.
      You can easily make the necessary replacement by using the standard Excel Find and Replace feature.
      Please let me know if you have any other questions.

      • I ended up here looking to find help in converting the first letter of the department in cell C2 to uppercase using the text formula.... Can you help me? I know to click the text formula button and to choose upper, but if I just click C2 to add it to the text box in the functions arguments dialog box it changes all the text to uppercase. please help!

        • Hi Crystal,

          Have you tried the "Proper" function instead of upper?

          • AWESOME

  19. It is very helpful for my process but I cannot downlaod in office. Kindly provide how to create addin & how to add this to toolbar in excel 2007. I need all codings for cell cleaner.
    Thanks in advance

  20. Capitalize first letters is most useful case for me, nice article.

      • hellow
        really help full add
        thanks for the efforts to publish
        easy add text as beginning
        but how to add more rows ?
        thanks

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)