7. How to clean data with Google Sheets (part 2): delete extra spaces and change case in strings

#datacleaning #datapreparation #GoogleSheets

Further Cleaning data steps continued from the part 1 with the reference table available in https://docs.google.com/spreadsheets/d/1PkAbgXC7C1g2dKzCCpaHBcAyPw-s1z7iUxIEJ0cCYWQ/template/preview

Step 3: Delete extra spaces in cells with string data

Highlight the data in the spreadsheet, click on the Data tab, from Data cleanup select Trim whitespaces

The following message explains that extra spaces were deleted in 4 cells:

Step 4: Change case (upper and lower) text

Google Sheets provides an Add-On for this task: click on the Add-ons option at the top of Google Sheets, click on Get add-ons and search for ChangeCase.

To change the case, select the text to be edited, e.g. a column, click on the Add-Ons tab and select ChangeCase and select the option All lowercase or the needed option

to obtain all lowercase in the selected column

This step can be reverted with Clear formatting: click the Format tab and select the Clear Formatting option.

Comments

Leave a Reply