| | | Senior Member Registered Member
Join Date: Nov 2007 Location: Colbert Nation
Posts: 817
Certifications: life+ | How to compare two excel files I have two excel files with three columns each.
Address | city | zip.
One file I get from our database, one file I get externally. I need to compare the two files and exclude duplicates. So, if Address in file 1 = address in file 2, exclude it in the new sheet - edited sheet, whatever.
I dont know if it can be done in excel or not, i was hoping it could - since I'd like to give this routine to the manager that needs it and just let him do it all after I give him the files. I figure worst case scenario is that I would have to create a SQL db, import them both into seperate tables, and compare/export the table. |
| | Login/register to remove this advertisement. | | | Senior Member Registered Member
Join Date: Jan 2008 Location: Deforest, WI
Posts: 1,018
Certifications: B.S. Technology Mgmt., MCTS: Vista Configuration, MCTS: Windows 7, Configuring | While I forget the exact syntax, you might want to Google the INDEX and MATCH functions, they should be able to do what you want. |
| | | That's Not My Name Registered Member
Join Date: Jun 2007 Location: Texas
Posts: 1,042
| Quote:
Originally Posted by brad- I have two excel files with three columns each.
Address | city | zip.
One file I get from our database, one file I get externally. I need to compare the two files and exclude duplicates. So, if Address in file 1 = address in file 2, exclude it in the new sheet - edited sheet, whatever.
I dont know if it can be done in excel or not, i was hoping it could - since I'd like to give this routine to the manager that needs it and just let him do it all after I give him the files. I figure worst case scenario is that I would have to create a SQL db, import them both into seperate tables, and compare/export the table. | You could probably use the SEARCH function in Excel to do something like this (it might take some work to make it happen)....I think both files would have to be in separate worksheets in the same workbook. Out of the box I don't believe that Excel will perform a comparison of two different .xls files.
There are various shareware and freeware tools that will do exactly what you're asking. The proposed solution you've given sounds valid too....
MS
__________________
Certifications: ITIL Expert (v3), ITIL Manager's Certificate in ITSM (v2), ISO/IEC 20000 Consultant, ASQ Certified Six Sigma Black Belt, CISA, MCITP: DBA 2005, PMP, MCT, IBM SD SOA, IBM CA SOA, IBM Certified Business Process Analyst - WebSphere Business Modeler Advanced v6.1
|
| | | Senior Member Registered Member
Join Date: Jun 2008 Location: UK
Posts: 943
Certifications: A few and more to come | 30 Inch screen and side by side
No serious, we used to have a program in my last job to compare / search large documents (and I mean LARGE documents).
I'll dig a bit and report back  |
| | | Senior Member Registered Member
Join Date: Nov 2007 Location: Colbert Nation
Posts: 817
Certifications: life+ | Quote:
Originally Posted by Gomjaba 30 Inch screen and side by side
No serious, we used to have a program in my last job to compare / search large documents (and I mean LARGE documents).
I'll dig a bit and report back  |
Thanks I appreciate it. I figured out a SQL solution, but if I cant get it to work in excel only that means I'll have to do this every time this supervisor wants. |
| | | Looking for work, again!! Registered Member
Join Date: Dec 2008 Location: Upstate NY
Posts: 563
Certifications: A+, Network+, CCNA | How did you get your job? JK! Compare Spreadsheets for Excel |
| | | Drops by now and again Registered Member
Join Date: May 2008 Location: Vancouver, Canada
Posts: 2,766
Certifications: n+1 | Excel Add-ins, Advanced Excel Tips - DigDB a subscription will pay for itself in an hour if you find yourself mining Excel for data. Give the trial a whirl and I bet you'll be hooked. |
| | | Senior Member Registered Member
Join Date: Nov 2007 Location: Colbert Nation
Posts: 817
Certifications: life+ | Quote:
Originally Posted by astorrs | wow that looks awesome |
| | | Drops by now and again Registered Member
Join Date: May 2008 Location: Vancouver, Canada
Posts: 2,766
Certifications: n+1 | Quote:
Originally Posted by brad- wow that looks awesome | and it is.
I've been using it for 5 years and couldn't live without it. I find myself using Excel for things I never though of using it before since it's so damn fast to clean-up data (from a DB, a report, or whatever).
The other Excel add-in I absolutely love is ASAP Utilities, the two of them are fantastic and complementary. |
| | | Senior Member Registered Member
Join Date: Jun 2008 Location: UK
Posts: 943
Certifications: A few and more to come | Quote: |
Originally Posted by me No serious, we used to have a program in my last job to compare / search large documents (and I mean LARGE documents). | Quote:
Originally Posted by astorrs | Astorrs beat me to it .. That is the one we used. The guy was also very helpful when we had an issue with licenses etc., within the hour we received one which didn't require one (and no I don't share it lol). He also modified it so we could do some custom stuff
This is very powerful and worth every penny ... Our VIP department (I used to work for an online casino) was able to compare thousands of pages in a heartbeat ..
Last edited by Gomjaba; 07-01-2009 at 07:28 AM.
|
| |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT. The time now is 01:48 PM. | |