finding duplicates columns

TrustPilot

starstarstarstarstar Excellent

  • Home
  • Courses
  • Promotions
  • Schedule
  • Formats
  • Our Clients

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Finding duplicates in columns

Finding duplicates in columns

resolvedResolved · High Priority · Version 2013

Rachel has attended:
Excel Introduction course

Finding duplicates in columns

If you put two columns of data beside each other in excel, is there a way to compare and find cells that are duplicates so that they can easily be deleted?

RE: Finding duplicates in columns

Hello Rachel,

Thank you for your post. I have attached an Excel file which gives you two solutions for finding duplicates.

The red cells are a result of the Conditional Formatting function (in the Home ribbon). You select the relevant data, click Conditional Formatting - Highlight Cell Rules - Duplicate Values.

In cell C1 there is a more complex function which compares the two columns and flags up the values in the second column which have duplicates in the first.

I kept the data simple so that it is easier to make sense of the formula. Have a look at the cell references in the Vlookup part. The Iferror part simply prevents error messages to appear in the rest of the cells.

Both methods work on both numbers and text.

I hope this helps.

Kind regards
Marius Barnard
Trainer
Best STL



Attached files...

Finding Duplicates.xlsx

RE: Finding duplicates in columns

Hi Marius,

Thank you very much for your response but I cannot see the attachment?

RE: Finding duplicates in columns

Hi Rachel,

If you could give me your email address, I will email the file to you.

Kind regards
Marius


 

Excel tip:

Return to the active cell after scrolling

When I scroll a long way down the screen from a selected cell, I can return to that cell with the Ctrl+Back Space shortcut. The active cell now appears in roughly the middle of the screen.

Shift+Back Space does something similar. Scroll down from the active cell and Shift+Back Space returns me to it and puts the active cell at the top of the screen; scroll up from the active cell and Shift+Back Space returns me to it and puts the active cell at the bottom of the screen.

Note also, that while Ctrl+Back Space will return me back to a selected range, Shift+Back Space only ever returns me to the active cell, which is normally at the top left-hand corner of any selected range.

View all Excel hints and tips


Server loaded in 0.07 secs.