Professional Documents
Culture Documents
ablebits.com/office-addins-blog/2014/04/25/change-case-excel-uppercase-lowercase
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.
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.
1/16
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.
4. Click Enter.
2/16
As you can see in the screenshot above, cell B3 contains the uppercase version of
the text from cell C3.
3/16
3. Hold the mouse button and drag the formula down over the cells where you want it to
apply.
4. Release the mouse button.
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.
9. Highlight the cells that contain the formula and press Ctrl + C to copy them.
5/16
Since you need only the text values, pick this option to avoid formula errors later.
12. Right-click the selected helper column and choose the Delete option from the menu.
13. Pick Entire column in the Delete dialog box and click OK.
6/16
Here you are!
7/16
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.
8/16
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.
9/16
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.
10/16
Now you have your table with the text case converted in Word. Just copy and paste it back
to Excel.
11/16
Converting text case with a VBA macro
You can also use a VBA macro for changing case in Excel 2010 / 2013. 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:
12/16
Sub Uppercase()
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()
Cell.Value = LCase(Cell.Value)
End If
Next Cell
End Sub
Pick the following macro if you want to convert your text values toproper / title case.
Sub Propercase()
Cell.Value = _
Application _
.WorksheetFunction _
.Proper(Cell.Value)
End If
Next Cell
End Sub
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.
14/16
Note: If you want to keep the original version of your table, check theBack up
worksheet box.
15/16
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 15-day trial version and check out how useful the add-in can be for you.
16/16