i have 500 excel sheets which are used for data collection from various organisations
i need to collate all the data into a variety of summary excel sheets
at the moment this is all done manually, cut and paste and then create big forumlas to calculate across several sheets to tally it up
i am looking to automate this somehow, I would like to run a set of tests on the excel files to make sure the data is correct, and them import it all into a database, and then spit summary sheets back out in excel format.
is there something out there that does this sort of thing already, based on a set of rules ?
I've built a number of excel projects where I needed to import data from an uploaded spreadsheet. I used this library and built what i needed out of it:
http://excelpackage.codeplex.com
Example to read data:
http://excelpackage.codeplex.com/Wiki/View.aspx?title=Reading%20data%20from%20an%20Excel%20spreadsheet
It's a .net solution though...
Related
I am working in a lab, we are generating excel workbook with three sheets titled with CGPI, CGPII, and CGPIII. Each sheet is fullfilled with the results of our analysis for three shifts per a day. I want to make a seperate workbook and append all the results choronologically in order to manipulate the results and interpret it for statistical purposes. I tired using ChatGPT to help me creating VBA script to do it easly but i could find the proper prompt.
I want to have one excel file with all the analysis results stacked and labelled.
I am currently in the following situation:
I have an Excel file where I perform calculations and charts + diagrams are created based on the calculations.
I have a PowerPoint report where I have to copy-paste these visualizations into.
I will need to repeat this process for many Excel files, all containing the same lay out. You can view them as a questionnaire: each Excel file is completed with different answers, though the structure remains the same.
Is there a way for me to create a template PowerPoint report file, where at the start I select which Excel file to 'load', and it pre-populates my PowerPoint file with the correct charts from the selected Excel file?
ndeed, there is a free option available. With SlideFab 2 (lite) you can automate Excel to Powerpoint without coding: You would need to setup the Powerpoint template and link all shapes with the required Excel ranges or charts. Then SlideFab creates the slides for you. When the structure is really the same, you could just let SlideFab connect to the next Excel file and rerun the slide-making process again.
You could also consider using RDBmerge to collect all workbook sheets into one Excel and using formulas to create a kind of staging area which is used for linking with Powerpoint. This would have the benefit that when you iterate a list of worksheet names, your lookup (e.g. using vlookup or index/match) functions would grab the appropriate data into the staging area. SlideFab could then create all slides at once through changing the selected worksheet in a repetitive way.
In case of questions, feel free to reach out.
Disclaimer: I am the owner of SlideFab 2.
Cheers
Jens
I recently made an Excel workbook (with the help of Stackoverflow) where I have a regular input of data (each entry is one row with different columns). I then have a macro that extracts the data from a specified row to a different sheet and saves this sheet as a .PDF.
That way, I can extract specific data from this Excel "database" to a readable pdf. I do this because I need a paper version from specific entries.
For a different project I need to implement the same principle. The only difference is that I need to work with an .mdb file where the data is stored, instead of an Excel workbook.
Is there a way I can reuse my code from Excel or is it now a completely different story?
Thank you for the advice.
You can link your excel workbook to your Access tables. On the "DATA" ribbon there is a section for "External Data".
Once you've got the Access data displayed on one of your worksheets, you should be able to adapt your existing code accordingly.
From Microsoft:
Connect an Access database to your workbook
I have tried the various different methods that Excel offers to work with external data.
I have inherited a system in work that involves copy and pasting data from one SSRS report into a pretty complex Excel workbook. I want to automate this system, but for the time being I still have to work with the Excel file.
This Excel file needs to be updated daily - I want to schedule the SSRS report using Windows File Sharing; have it run every day and have the Excel workbook look at the report each time the spreadsheet is opened, updating (adding data to) various tables and cells with the values in the report.
I'm finding this process really unstable. It will work for some reports, but not others. Any pivot charts based on the connection will lose their data and formatting if the sheets cannot link to each other. On opening the main, destination excel file, I get errors about links not being updated, etc. Browsing for the file and reconnecting it works, but this defeats the object.
Could the be something integral to these set up working every time that I might be missing, or does Excel have a feature that better suits what I'm trying to do?
Many thanks for your help!
I'm using SQL Server 2005, Excel 2013 and the reports and datasheet are stored in a shared folder
I think you are heading down a dead-end. You will never have enough control over the rendered output from SSRS and any solution will be fragile.
I assume the SSRS data source is SQL or some other source that Excel can read. I would take the Dataset code from the SSRS report and implement it as Data tables in Excel, e.g. Data ribbon / Get External Data.
In the simplest implementation, each query just populates an Excel Table. You can set the connection definitions to auto-refresh on open.
For more complex requirements you can build an Analysis Model in Excel using the Power Pivot Add-In (included (but not enabled) with Excel 2013). This lets you relate datasets to each other and add calculations etc. The gotcha here is that you cant auto-refresh without SharePoint.
"The Business" wrote a sophisticated Excel VBA Macro that scans multiple complex and irregular (multiple logical tables per tab) spreadsheets and produces a summary XLS. Management wants IT to "productionize it" and run it on a server.
I've seen example of using the Jet drive to read regular tables (1 per tab) in a spreadsheet, but the spreadsheets are irregular and this macro does more than read, it sets cell formulas, etc. Therefore, I guess we need full VBA.
How do you do this in production if you can't install Excel on a production server?
You can use a library for interacting with Excel files like Spreadsheet Gear for instance... I am sure there are plenty of others. You can then read the Excel files and then produce the summary XLS. You'd need to tie it all together using VB. You wouldn't need to install Excel on the production server though.