Cleaning Up Messy Excel Data, Part 3: UPPER, LOWER, and PROPER Functions (with examples)
Excel icon

Cleaning Up Messy Excel Data, Part 3: UPPER, LOWER, and PROPER Functions (with examples)

Welcome to part 3 of my series on cleaning up messy Excel data.

Today I'll give specific examples of how to use the UPPER, LOWER, and PROPER functions.

Use the UPPER, LOWER, or PROPER functions: These functions can be used to convert text to uppercase, lowercase, or proper case (capitalizing the first letter of each word). For example, if your data is in cell A1, you can use =UPPER(A1), =LOWER(A1), or =PROPER(A1) to change the case of the text.

The most common use case is to use the PROPER function to correct user-entered fields for first name, last name, and/or city and state. Instead of “mary JONES,” you can correct this to “Mary Jones.” Instead of “virGinia,” you can correct this to “Virginia.”

No alt text provided for this image
Here, you can see I applied the PROPER function to correct the capitalization of the last name "Horning" and "Walters".
No alt text provided for this image
This is the end result, once the PROPER function has been applied to the whole column.

In my opinion, the UPPER and LOWER functions are not as commonly used, but I will list examples below.

The UPPER function converts your text to uppercase.

No alt text provided for this image
Here, you can see I applied the UPPER function to the last name, which made it uppercase.
No alt text provided for this image
This is what the spreadsheet looks like after I have applied the UPPER function to all the entries.

The LOWER function converts your text to lowercase. Again, this is not very frequently used at my work, but I will give an example below.

No alt text provided for this image
In this example, I used the LOWER function to convert the last names to lower case.
No alt text provided for this image
This is the end result, once the LOWER function has been applied to all the last names.

These are just a few examples of the functions and techniques you can use to clean up messy Excel data. The specific functions and methods you choose will depend on the nature of your data and the cleaning requirements. These techniques are particularly helpful when correcting user-entered errors, such as data in surveys like Qualtrics.

要查看或添加评论,请登录

Margaret Efron的更多文章

社区洞察

其他会员也浏览了