Select Page

Let’s Have Data Fun with Excel: Find and Replace part 2

by | Jan 26, 2020 | Uncategorized | 0 comments

In my last blog https://datasciencing.com/f/lets-have-data-fun-with-excel-find-and-replace I talked about the “Find” function in Excel. It lets you find any text on your Excel worksheet. The “Replace” function, as the name implies, lets you replace any text on your worksheet, with different text. This is very helpful when looking for errors in your worksheet, like spelling mistakes or extra spaces.

To access this function you an use the shortcut Ctrl+H or on the menu select Home->”Find & Select”.

A pop-up window will pop up. Click on “Replace”. In the “Find what:” text box enter the text you want to find and in the “Replace with:” text box enter the text you want to be replaced with.

Here you can use the “Find All” and “Find” functions as described in part 1. You can also the “Replace All” and “Replace” functions. 

Clicking “Replace All” replaces the text in every cell on your worksheet.

Clicking “Replace” only replaces the text in the cell you’ve selected. However Excel will then select the next cell that contains the text you’re looking for.

Another benefit to the “Replace” function is making formatting changes on your worksheet. In this sample data items sold are categorized into categories such as: Handmade – Candles, Handmade – Pottery, Vintage Clothing, and Vintage Accessories. To be consistent we want to change all the categories that start with Vintage to also have a – (dash).

In the “Find what:” field we enter “Vintage” and the “Replace with:” field we enter “Vintage -“. Click “Replace All” and voila all the categories that start with Vintage, now have a – (dash). To be consistent with the “Handmade – ” categories.

Looking for more fun with data? You might enjoy some of our other posts!

US Population Density Map using Tableau

https://www.youtube.com/watch?v=tZcrQsT8HMM&ab_channel=datasciencing Join our founder, Peter Koebel as he demonstrates a population density map using Tableau. You've probably seen population density visualizations everywhere, but how can you use them in your own...

Datasciencing Customer Demographics with Power BI

https://www.youtube.com/watch?v=t7GkRwIRqQI&t=152s&ab_channel=datasciencing Join our founder, Peter Koebel, as he walks through datasciencing customer demographics with Power BI. Datasciencing can be tough, but does it have to be? Check out this demonstration...