Solved

Isolating Duplicate Entries in Excel

Posted on 2013-11-17
8
365 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
ID: 39654285
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
ID: 39654399
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
ID: 39654401
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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 6

Expert Comment

by:Michael
ID: 39654459
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
 
LVL 1

Author Comment

by:RobertCrist
ID: 39654946
Example-Thingy.xlsx

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

Expert Comment

by:Michael
ID: 39655813
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
ID: 39655846
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
ID: 39656037
My mistake; I missed a step.

Joop
Example-Thingy.xlsm
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

809 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