Solved

Merging workbooks in Excel

Posted on 2011-09-20
9
272 Views
Last Modified: 2012-05-12
I'm about to start a huge project.  I need to clean up our data from 2006-2011.  I have 5 years of weekly spreadsheets with a dump of employee data.

I'm attaching 4 workbooks.  
1) Is there a way to combine the books
2) Can an audit be performed and any data changed displayed? (from any column).  
(for example 3552 went from status Active Pending (8/31) to Active (9/6).

EMPLOYEE is the key

I merge about 300 workbooks.  Is Excel the best way to go with this?

In the 5 years, the worksheets have grown (add more data columna), data columns has changed position in the file, column titles have changed.

I thought about Access.

Is there a more powerful tool that can handle this.
8-31-2011--merge-.xls
9-6-2011--Merge-.xls
8-15-2011--merge-.xls
8-23-2011--merge-.xls
0
Comment
Question by:ablove3
  • 4
  • 3
  • 2
9 Comments
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
yes this can be done.
* i will use access to import all workbooks to an access table.
* after the importation, you can run queries
   * to eliminate duplicate information
   * update information
   

* you may need a mapping table to handle the change of column titles.
0
 

Author Comment

by:ablove3
Comment Utility
Oh WOW, can't wait to see how this works.  This project is such a big undertaking
0
 

Author Comment

by:ablove3
Comment Utility
Could you please demostrate this from the 4 files that I attached.  I'm not as familiar with Access, but once this is started I can replicate it for my project.
0
 
LVL 119

Expert Comment

by:Rey Obrero
Comment Utility
what are the actual names of the excel files?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 12

Expert Comment

by:danishani
Comment Utility
Hi there,

I create a Demo Database, which will import your XLS files at your give path, with or without subdirectories. It will then append the Records to tblNoDuplicates, which will contain no Dups of Employee.

MergeXLS-v0203.zip

It will work only when all your XLS files have the same columns and the same format, if it differs it will be more complicated to Automate this.

If you have any questions let me know.

Hope this is what you after.

Cheers,
Daniel
0
 
LVL 12

Accepted Solution

by:
danishani earned 500 total points
Comment Utility
NOTE: I need more info in regards to the criteria of EMP_STATUS. So I can modify the Demo to your needs.

If you need all EMPLOYEE <> "Term" ... then here is the modified Demo:

 MergeXLS-v0203-v2.zip
0
 

Author Comment

by:ablove3
Comment Utility
I like this demo.  This works for me.  Thank you very me.
0
 

Author Closing Comment

by:ablove3
Comment Utility
This demonstration was exactly what I needed.  I can tailor my workbooks to contain the same columns and then I'll use this demo to perform the import
0
 
LVL 12

Expert Comment

by:danishani
Comment Utility
Glad you like it, and glad to assist!

Daniel
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

744 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

18 Experts available now in Live!

Get 1:1 Help Now