Solved

Isolating Duplicate Entries in Excel

Posted on 2013-11-17
8
351 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
 
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

911 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

20 Experts available now in Live!

Get 1:1 Help Now