You may find you need to change multiple cells from one case to another in Excel. Maybe you imported data that came in all upper case, or maybe you convert headings on columns to upper case. Changing case is easy using some special functions.
There are three functions that allow you to change the case of text in multiple columns easily:
- = Upper(B1) – converts text to all upper case
- = Lower(B1) – converts text to all lower case
- = Proper(B1) – converts text to proper case, or title case (the first letter of each word is capitalized)
For our example, we will change two columns of first and last names in a sample address list. First, we want to insert a new column after the Last name column. To do this, highlight the column after which you want to insert the blank column by clicking on the lettered header, right-click on the header, and select Insert from the popup menu.
The new column is formatted the same way as the original column. In our example, we entered the title of the column in the gray highlighted cell at the top of the column. We will be deleting the original column once we’ve converted the case.
In the first cell of the new column, enter the desired case function, with the cell reference in the parentheses, for the text you want to convert. In our example, we want to convert each name to title case, so we entered the Proper() function in the first cell in the column (below the heading row) with A2 as the cell reference.
NOTE: Remember to preface your function with the equals sign.
Now, we need to propagate the function to the rest of the cells in the column. To do this, select the cell containing the case function and click Copy in the Clipboard section of the Home tab or press Ctrl + C.
Highlight the remaining cells in the column and click Paste or press Ctrl + V.
TIP: You can also quickly copy the contents of a cell into the remaining cells in the column by double-clicking the box on the lower, right corner of the cell.
Each of the cells in the new column look like they contain the names in a different case. However, each cell still contains the Proper() function referring to another cell. Because we are planning to delete the original column, we need to replace the function with the actual name to which it evaluates. To do this, highlight all the cells in the column containing the function and copy them.
To paste the values back into the same cells, click the down arrow on the Paste button in the Clipboard section of the Home tab. Then, click Values in the Paste Values section.
NOTE: This is the same procedure we discussed in a previous article about converting a numerical formula to a static value.
Now, all the cells in the column should contain text, not functions.
To delete the original column, select the entire column by clicking the lettered header, right-click on the header, and select Delete from the popup menu.
To convert the first names to title case, we followed the same procedure.
It’s that easy to tidy up your text. These case functions will also work if the case of the text is jumbled (e.g., bUFfEt).
- Published 06/5/13