Using Excel conditional formatting to do a name/ID data check?
-
I'm hoping there's an easier way to do this than my current manual process: I want to highlight text cells in Excel 2010 that are a duplicate of ONLY the cell below. Specifics inside. I have a spreadsheet exported from Access. Column A = Last Name, Column B = First Name, Column C = ID. Each row is an individual appointment with a person, so a person who comes in multiple times will have multiple rows. The ID is unique to the person. Sometimes the ID gets entered incorrectly the second or third time a person comes in for an appointment and I want to update the original Access database with the correct ID. I am currently checking this in Excel by removing duplicates of ID numbers, which leaves me all the appointments who came in one time only and all the appointments where one of the times the person came in the ID number was entered incorrectly. I then sort this list (currently 6,000+ rows) by last name-first name and then scan down the first name column until I come across the same first name listed next to each other. If the IDs are really close together in number, it's probably a user-entry error, so I verify the correct ID number and update it back in the Access database. I want to use conditional formatting to highlight every time two first names are the same right above & below each other. Is there a formula that will check Row 1 against Row 2, Row 2 against Row 3 and so on down the list, or am I stuck doing this manually? (And yes, I know this isn't catching every instance where an ID is entered wrong, but I'm not about to individually check each appointment against the main system. This is just to get the data we have slightly more correct.)
-
Answer:
Super-easy way: Just add another column with an =if statement. You know, if c4=c3 okay, else FIX ME. Also, didn't Google have a spreadsheet cleanup program for just things like this? anyone?
bibbit at Ask.Metafilter.Com Visit the source
Other answers
I think you're thinking of http://code.google.com/p/google-refine/, which is their tool for cleaning up data. I've heard very positive things about it but have so far not got round to trying it out. Also, if I am reading your question right then I would absolutely be doing it the way etc. suggests. Doesn't even need an if. Just =C4=C3 which would get a nice TRUE/FALSE result. Then you can autofilter on True.
Just this guy, y'know
Found it (I think): Google Refine. https://github.com/OpenRefine/OpenRefine/wiki IIRC, this is exactly the kind of problem this software is for.
etc.
YES! It works!! This just saved at least an hour of work for me every time I do this. Thank you for helping me think out of the box there. :-)
bibbit
Related Q & A:
- how to add a form with a unique id on jquery?Best solution by Stack Overflow
- Can I get a Google Place from a Plus Id?Best solution by Stack Overflow
- What is the punishment for using a fake ID?Best solution by Yahoo! Answers
- Can I trade under a name which is different from my business name?Best solution by Yahoo! Answers
- Why separate worksheets when using excel?Best solution by Blurtit.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.