Power Query lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to replace values easily.

DOWNLOAD EXCEL WORKBOOK

 

Let’s go through the steps in detail:

STEP 1: Select your data and turn it into an Excel Table by pressing the shortcut Ctrl + T or by going to Insert > Table

Replace Values 01

 

STEP 2: Go to Data > Get & Transform > From Table (Excel 2016) or Power Query > Excel Data > From Table (Excel 2013 & 2010)

Excel 2016:

 Replace Values 02

Excel 2013 & 2010:

from table

 

STEP 3: This will open up the Power Query Editor.

We want to change the Country Australia into New Zealand. Make sure you have the Country column selected by clicking on the Country header.

Replace Values 03

 

STEP 4: Within here you need to select Transform > Replace Values

Replace Values 04

 

STEP 5: This will open up the Replace Values dialogue box.

Place Australia in Value to Find, and New Zealand in Replace With. This will replace all of the Australia values with New Zealand.

Click OK.

Replace Values 05

STEP 6: Now you will see your changes take place.

Replace Values 06

 

STEP 7: Click Close & Load from the Home tab and this will open up a brand new worksheet in your Excel workbook with the updated values.

Replace Values 07

You now have your new table with the updated values.

Replace Values 08

Replace Values-new

 

HELPFUL RESOURCE:

Oz_Podcast_Banner

 

 

If you like this Excel tip, please share itEmail this to someone

email

Pin on Pinterest

Share on Facebook

Tweet about this on Twitter

Share on LinkedIn

Share on Google+

Related Posts

Create Pivot Columns Using Power Query Power Query lets you perform a series of steps to transform your Excel data. One of the most common steps I do, is I want to simplify my data and aggregate them together into something like this:Thankfully Power Query has an option that allows us to create Pivot Columns! ...
Import Data from Text Using Power Query or Get �... Power Query or Get & Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.But what if your data source is not in your Excel spreadsheet?If it's inside a text file, it's very easy to import data from text and right into Power Query!...
Fill Down Values Using Power Query Power Query lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to fill data down easily.You might be wondering when you might need to fill data down in your table.Let's suppose you have this set of data:A lo...
Replicating Excel’s LEN Function with M in P... Power Query lets you perform a series of steps to transform your Excel data. There are times when we want to do things that are not built in the user interface. This is possible with Power Query's programming language, which is M.Unfortunately not all of Excel's formulas can ...