

That would give us a truer representation as to how many duplicates there are. Let’s tweak this a bit, and subtract 1 from each value. When you’re done, the dialog should look like this:Īnd upon clicking OK, the results will show that there are, indeed, items that show up more than once: New column name: Duplicates –> All Rows.Next, click the + to the right of the “New Column Name” section to add another detail row. New column name: Duplicates –> Count Rows.NOTE: We cover the Grouping feature in Chapter 14 of M is for Data Monkey. The trick here is to use the Group By feature in Power Query, while preserving the relevant matching records. Step 2: Indentify Duplicates via Grouping Rows
Excel find duplicates between two columns how to#
Now we need to figure out how to flag any repeating SKU as a duplicate.

This might seem like an odd step right now, but we’re going to add a Index column to this table as well.

While multiple brands are okay here, we need a list that shows only unique SKU numbers. Suppose someone has given you a list like the one shown below (which you can download here if you’d like to follow along): Some time ago I got an email from Alex asking me if there was a way to identify duplicates using Power Query, but without removing non-duplicate records in the process.
