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. thanks a lot
    Im satisfactory to solve my problem

  2. Thank you!!

  3. Very useful information for changing cases in Excel. Thank you and with best wishes for you.

  4. I will always be grateful for this I have been having a lot of issues when it comes to changing cases in my excel data. thanks

  5. Absolutely very important article. The Ablebit Add in makes it so easy and simple with even more options at your disposal. Thank you very much and God bless you

  6. Thanks

  7. Thank you

  8. Such BS just to get upper case changes made in Excel. Microsoft - you can do better than this. It should be in the list to add to the menu instead of making us create formulas or go to a site to DL an add on. SMH Making it too hard.

  9. A very helpful write up

  10. Thank you so much for this article! The steps were super clear and easy to follow. And you just saved this busy art teacher hours of retyping names!!

  11. NICE EXCELLENT

  12. Very very useful. i am searching since long. Thank you.

  13. This article is a life-changer for me as I just started out in Admin a year ago and am still learning all the computer short-cuts to make work less tedious and repetitive.
    Great job!
    And, Thank you

  14. I have download the addin, but the menu is not there

    • Hello, Faried,
      I’m very sorry to hear that you’re having difficulties with our product.

      If you have successfully installed our add-in, but don't see Ablebits tabs in your Excel Ribbon, please first make sure that the add-in isn’t disabled:
      1 Go to File -> Options -> Add-ins, open the “Manage” drop-down list at the bottom of the window, select “Disabled Items” and click Go. If you see the Ablebits add-in in the list, select it and click the ‘Enable’ button.

      Then make sure that the add-in loads correctly:
      2 Go to File -> Options -> Add-ins again, select “COM Add-ins” from the “Manage” drop-down list and click Go. Find the Ablebits add-in in the list. If it is unchecked, check it and click OK.

      If these steps don’t work for you, please contact our support service team, support@ablebits.com, for further assistance.

  15. Good Working it is helpful for users .
    Thank you.

  16. Thank you for the add, very useful

  17. Thanks a lot. I had known how to copy to MS Word, change case and return, but doing it on my spreadsheet was just mind blowing. I have learnt something new today, thanks to you.

  18. Could the macros or add-ins be modified to include "smart sentence case," excluding acronyms and abbreviations (capital letters either consecutive or separated by periods) and with the option to add exceptions for company and brand names with stylized capitalization (example: BAMTech)?

  19. Thank you sooooo much for this article!!!!!!!!!!! This truly makes my excel work easy and fast :-) More power to you, dear writer!

  20. Very, very useful piece.
    Thanks a lot!

  21. Thank you soo much for this information

  22. Thanks a lot, My problem Solved

  23. I need to change a pasted string such as 2A3177b0Ce8a to 2A:31:77:B0:CE:8A where the incoming data is text representation of a MAC address and the displayed string is upper case text with colons in it I can paste to a text field that requires the formatting I have shown. Any ideas?

  24. VERY HELP FULL THANKS A LOT

  25. This was so helpful and the detailed step by step - right on! Thank you!

  26. Thanks sooo much to solve my problem to see your article.

  27. thank you. it's help me a lot. again & again thanks

  28. thank you. it's help me a lot

  29. This article saved my day. Thank you

  30. Good, you solved my problems of changing Case

    Thanks

  31. Thanks for this.
    Very helpful.

  32. It is very nice way for changing the method ......

  33. Is there any way for the case to be changed AS YOU WRITE the text? I mean to be changed directly when editing the cell, not afterwards by selecting the cell(s) and applying a formula. Thank you for the answer.

      • I thought your advise would be more helpful and especially more professional. But in front of this answer I realized I made a mistake addressing my question to this site. Very good, because I intended to buy your product. And now, you just saved me 100 EUR! Your company should thank you for chasing away another client :) Keep up your good work, Natalia!!! For other people who are looking the same thing I did, here is the search string you can use in Google: "vba force proper case" (or "... sentence case", if you need). Proper case (in Excel) = Title Case (in Word). You will find the solution.

        • Eric,

          I sincerely apologize if you were offended by my reply and if the suggested workaround is not what you were looking for. You see, from the task you described it looked like you needed an instant solution for changing the case when you type. Since there are lots of people who are new to Excel and don't know whether this or that works, this was the first obvious thing to offer.

          Though I think the vba as a solution is a bit more complicated than it has to, I'm glad that you've managed to find it and shared it here in case.

          • My reply is ONLY for people searching same thing as me. Please DO NOT follow Natalia's opinion ("vba is a bit more complicated"). You don't have to learn VBA to be able to apply a script. You can solve it with a simple copy/paste. And using the search string i gave you, you will find complete instructions where and how to paste it. Good luck :)

  34. Thank you so much for excellent solution.

  35. Thanks your article helped me to avoid retyping the document.

    Regards

  36. Thank you so much for this. It is informative, detailed and quite helpful. you saved alot of my time

  37. I am looking to have my WORKSHEET entirely UPPERCASE. Is there a way to do so? I realize that your short cuts all affect one or two cells/rows/columns; I need to do the entire sheet.

    Thank you.

  38. how use the shortcut key for 2010 ms office means in words document to apply upper and lower case letter....

  39. Requested Sir/Mam,I found a short key in excel to upper case to lower case and lower case to upper case.Please reply me.

  40. Thanks for much for this article. It was informative, detailed and quite helpful.

  41. what is shortcut key of upper and lower and proper case

  42. very helpful article, thank you so much

  43. this is very helpful, thank you.

  44. Thanks a lot

  45. Thanks a lot, it's indeed helpful

  46. Proper is not working for me.

  47. Thank you very much for helping me and saving my time.

  48. Thanks you saved my lot of times to change in uppercase. I'm working on copy paste work. & your article is good for me thanks again. :)

  49. Hi Sir/Madam

    I want to know formula in excel for make short letter from sentence.
    Example A1= Roumdul White Rice, the result =RWR

    Please help me as soon as possible.

    thank

    • Hi Sam,

      the logic for your case is to find all the "spaces" and then convert the next character to uppercase and add them all into one string. There are a couple of challenges with this. First, how many spaces will be there in each of the text? Excel does not have a looping function to keep running for several times. So the number of spaces should be definable. Second, there should not be any cases where you would want a different logic of shortening. For example, if there are two cases where the characters are same RWR, you might want to adjust one of them to differentiate. This would call for AI.

      The second issue is hard to crack. But for the first one, we can solve it using the Text to column function to split the text at each space. Based on the number of spaces, your text would be sitting in multiple columns and you can enter the formula in an empty column to add all the first characters of the different columns.

      Taking the example you have provided, there would be three columns - A, B, C - where the text would be. Your formula will be in column D as "=upper(left(A1,1))&upper(left(B1,1))&upper(left(C1,1))"

      If your text has 4 words (4 spaces), it will be spread in 4 columns (A, B, C, D) and you have to add one more &upper(left(D1,1)) to the formula. The good thing about this formula is that it will work with text that has lesser words as well.

      Hope this helps

  50. This is a very quick guide and was very helpful.. the short cut (Shift + F3) didn't work for me.. i use Excel 2010. i had to make use of the formular.

    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 :)