Power Query or Get & Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.  One of the steps it allows you to take is to keep duplicate records.

We usually remove duplicate lines but if we need to keep and check what the duplicates are, Excel allows us to do that too!

Let’s suppose you have this set of data. You can see that the marked ones are duplicate values, let us keep them!

Keep Duplicates Using Power Query or Get & Transform

DOWNLOAD EXCEL WORKBOOK

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

Keep Duplicates Using Power Query or Get & Transform

 

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

Excel 2016:

 Keep Duplicates Using Power Query or Get & Transform

Excel 2013 & 2010:

Keep Duplicates Using Power Query or Get & Transform

 

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

Go to Home > Keep Rows > Keep Duplicates

Keep Duplicates Using Power Query or Get & Transform

 

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

Keep Duplicates Using Power Query or Get & Transform

You now have your new table with the duplicate rows kept!

Keep Duplicates Using Power Query or Get & Transform

How to Keep Duplicates in Excel

Keep Duplicates Using Power Query or Get & Transform

 

HELPFUL RESOURCE:

728x90

 

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

email

Pin on Pinterest

Pinterest

Share on Facebook

Facebook

Tweet about this on Twitter

Twitter

Share on LinkedIn

Linkedin

Share on Google+

Google+

Related Posts

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...
Consolidate Multiple Excel Sheets Using Power Quer... Power Query is awesome! You will see why after viewing this tutorial. I get lots of queries from my blog readers asking me if there is a way to easily consolidate multiple Excel worksheets into one. With Power Query the answer is YES! If you have multiple Excel worksh...
Consolidate Multiple Excel Workbooks Using Power Q... One of the most sought after query from the millions of Excel users around the world is: How do I consolidate multiple Excel workbooks into one?   There are a couple of ways you can do this, using VBA or complex formulas but the learning curve is steep and out of reach...
Unpivot Data Using Excel Power Query Power Query is a free add-in created by Microsoft for Excel 2010 (or later) and you can download and install it for Excel 2010 and 2013: Click to see tutorial on how to install Power Query in Excel 2013 Click to see tutorial on how to install Power Query in Excel 2010 In...