Solved

Isolating Duplicate Entries in Excel

Posted on 2013-11-17
8
342 Views
Last Modified: 2013-11-20
I've been trying to figure out how to go about completing what I perceive to be a rather complex cell operation involving finding a duplicate entry and then performing an operation on said duplicate entries within the sheet.

Screenshot of an example section of the spreadsheet to illustrate my intentions.
From the screen shot listed above, what I'm looking to try to accomplish is finding the duplicate 'blue' entry of the 'verified' 'white' entry. In other words, 623.225.9999 is a verified phone number. I want to set up a script of some kind to find it's accompanying entry in blue (in this case, right above it, but it won't always be that easy), mark that number as 'verified' (i.e, the J column will say 'yes' like it does in the white cell), and then delete the white row altogether.

I've tried using conditional formatting but that doesn't automate the process. I've also tried advanced filters thinking I could take the results of a unique filter and dump it into a second sheet and continue doing operations there, but the end result is I can't copy those results into a separate sheet, nor does that help me automate the process.

I'm sure there are easier ways to do this, perhaps in Access, but if I can I'd like to keep it in Excel. Of course I'm not completely rigid in this regard.

I appreciate any and all feedback!
0
Comment
Question by:RobertCrist
  • 4
  • 3
8 Comments
 
LVL 9

Expert Comment

by:QuinnDex
Comment Utility
not the most straight forward task,  you need to use excels filter function. this page explains it well


http://www.techrepublic.com/blog/microsoft-office/how-to-find-duplicates-in-excel/
0
 
LVL 6

Expert Comment

by:Michael
Comment Utility
Hello RobertCrist,

this can be done by a vba macro.

Is it allowed to sort the dataset? This would speed up the process significantly, since it won't have to search for duplicate entries through the entire dataset, but just below or above.

Is there a maximum of one duplicate entry or could there be more?

Joop
0
 
LVL 1

Author Comment

by:RobertCrist
Comment Utility
There could be multiple entries. A single group could be 3 rows, it could be 20 rows. I can't determine how best to group those rows dynamically either.
0
 
LVL 6

Expert Comment

by:Michael
Comment Utility
Can you post a file with a sample of the data, which a bit larger than the screenshot in your original post? Then I will try to write you a macro for this task.

Joop
0
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 1

Author Comment

by:RobertCrist
Comment Utility
Example-Thingy.xlsx

Here is a bigger sample of the data to work with that you requested.
0
 
LVL 6

Expert Comment

by:Michael
Comment Utility
Please try the macro in the attached file to see if this fits your needs.

Remember to try it on a copy of your workbook to prevent the loss of data.

Joop
0
 
LVL 1

Author Comment

by:RobertCrist
Comment Utility
Thank you, Jazzy. I apologize but I don't see your attachment. Perhaps I'm missing a step?
0
 
LVL 6

Accepted Solution

by:
Michael earned 500 total points
Comment Utility
My mistake; I missed a step.

Joop
Example-Thingy.xlsm
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now