I have multiple excel files with a form popping up whenever these files are opened (form has been called in Workbook open function). I need to collate data from these multiple excel files without opening these files. Can somebody help with a sample code?
I have created an Excel Spreadsheet to capture essential information pertaining to a project within a programme. I have used Excel 2003 and protected the sheet with the password ‘Secret’ and the file can be downloaded here: [url]
I now have a number (30 or 40) of these filled out for each project. I now need to be able to extract the data, specifically the resource profile. I want to be able to run a macro that will open each spreadsheet in a directory and extract the data and populate the spreadsheet ‘Collated Output’ which can be found here: [url]
The data needs to be appended into the table but ignore empty rows. I created the template in such a way that each section has a static range of cell references. The Template allows the user to change the start month of the resource profile so that needs to be taken into account when extracting the data so that the profile is aligned to the correct month.
I am looking to collate Data of Peoples Activities from their status and duration. I would like to have a table where I would be able to see each agent name, their status and how long they took in each one. e.g.
Name | Status | Total Time Humpty Dumpty | NotReady | 0:15 | Wait | 0:12
I have attached a sample worksheet of data, if anyone can guide me as to how i can do this also if this can be done through a macro, that would be alot easier as i have to collate atleast 200 peoples activities.
I always copy data from all tabs to a single tab. I am looking for a macro which does this and saves time. Criteria is Data starts from Col B to Q not further in all tabs, but the rows will vary in all tabs.
I developed a database for tracking our Search and Rescue activities on an annual basis; this usually involves ~140 calls per year. Amongst other things, we log the time the call came in. The time is entered in numbers format, not text, as I couldn't figure out how to get a time range (09:30, etc.) to work. It's like military time...0015, 0945, 1730, etc., so in numbers format, 0930 comes out as "930", 0030 as "30", etc. I developed a tracking column in one hour increments...0000-0059, 0100-0159, etc. Each time a call is entered and the time logged, I'd like to keep a sum total down in the time range column...so a call received at 0930 would end up in the 0900-0959 box. Among other things, I tried formatting with, "=COUNTIF (range:range, ">0900, <0959") but that doesn't work.
I have a data on sheet1 which goes from A2:T unlimited, I already have a macro that enables me to pull data from A2:T2 that then collates to sheet2, but I need it to then go to the next populated row which will be A3 and collate the data then progress onwards until final row.
Every month we collect data from a number of employees and average it out in a new excel workbook ready for analysis. Each employee sends in their monthly data, structured identically, with only the numbers in the data tables different.At the moment, we just copy and paste every single data return into the separate worksheets of a single workbook, and on the front page of the workbook we create a simple formula which adds the equivalent cell in each sheet together to get a total. Its not hard to do, but its very lengthy as a process.What I've been researching, is the possibility of a macro that can automatically send the outputs of separate workbooks into one central workbook, so that we don't need to go through the copy and pasting of each return every month.
E.g, Say I have 10 workbooks, named Book1, Book2, Book3 etc, which each have a number ranging from 1 - 10 in cell A2. Could A macro be designed to bring all those values together into cell A2 of an 11th workbook, e.g one entitled book11? I'm aware that said Macro may need to exist in each separate workbook in order for the process to be carried out.
I'm trying to collate data from two sheets (sheet1 & 3) , paste it on sheet5 and do some calc. But the macro keeps copying the same row after 2 iterations. Also the find function stops working after 1st iteration. Not sure what to do
Sub Macro17() ' ' Macro17 Macro ' ' Sheets("Sheet1").Select Range("B3:L3").Select Do Until Selection.Row = 10000 Selection.Copy
Have some code I have found from this site shown below. It works great however I need some help in editing it to change what it does. Basically the code currently takes all the data from set cells from all sheets after a set point and adds a new sheet and copies data from each of the sheets between this point and the new sheet and then pastes it to this final sheet.
What I wish to change is I already have a sheet which I will be using to analyse data from so how would the code look to be able to point to such a sheet within the same workbook? The sheet will be within the first 2 sheets of the workbook so from the code below you can see I have already set it to not include this sheet. I wont be needing a new sheet to be created at the end, I just want the data to paste to my analysis sheet which we can call "analysis".
Most excel/vba books say not to use the sumif function. I have a very large workbook (9meg) and cant use VBA code as it slows down the interation calculations required. I have used the sumif function to find and collate unqiue data on different worksheets. Is there another function that i should be using?
we have 1500 workbooks where the format is the same but the data could be different. I have marked up in red which i would class as headings, the rest in black are varibles
sheet 2 is how i would like it if possible. please note the file name is need to be in column A
can a macro be written to get all 1500 files into one. all the files are in one folder
Macro to collate four workbooks into single workbook.
Sheets in workbooks also to be copied. The sheet 1 of the 4 workbooks should be combined into the sheet 1 of the new workbook. Sheet 2 of the 4 workbooks should be combined into the sheet 2 of the new workbook, and so on.
I have a few hundred multi sheet workbooks that have address data in one of the sheets that I wish to collate into a single worksheet to use as a mail merge with word.
I have approx 850 workbooks with different names. In each workbook there are unique cells that I need to collate into rows in another separate workbook. For example:
Workbook named ABC123 - on the sheet named �cover sheet� I need to record the information from cell�s A1, C3, D3, C37 and D37. Into another workbook called record book. I need each row in the record book to unique to the individual workbooks. For example information from ABC123 will be recorded in row 2 of the record book while information from ABC456 will be recorded on row 3 and so forth.
I have been opening each book and copying and pasting each cell (my fingers are killing me) into the record book. Just thought somebody may know another way. Not familiar with vba or even how to insert it into excel.
i need to compare the data in two different excel files and ask if the data in column A that contains a registration number is the same in both and if not to flag up any that are missing
Is there a macro or command I could use that will do this
I have 2 excel files(X and Y), and I would like to collect data from file X to file Y. ................. In file X, I have a products prices lists that I got from my supplier. It look like that: column: A = LIST NUMBER (NUMBER) B=ITEM NUMBER (TEXT) C=DESCRIPTION (TEXT) D=PRICE (TEXT OR "CALL" OR PRICE LIKE $90.00) E= LIST NUMBER (NUMBER) F=ITEM NUMBER (TEXT) G=DESCRIPTION (TEXT) H=PRICE (TEXT OR "CALL" OR PRICE LIKE $90.00)
Rows of A,B,C,D,E,F,G,H start from 1 to 400 .................. In file Y, I have 1 column and it looks like that: column: A= MODEL NUMBER (TEXT OR NUMBER) ..................
The calculation I would like to do is:
pass in each ROW of Coulmn A in file Y and search if there is the same MODEL NUMBER (TEXT OR NUMBER) in file X at ROWS C,G (The DESCRIPTION (TEXT)) for example:
If in file Y Column A1 = FG45673 (MODEL NUMBER ) the macro will look in file X in Columns C,G to see if it finds this MODEL NUMBER. It can find text like: "3 pcs of FG45673 " so it means it find it ! THEN the MACRO should copy from the price Columns D or H to Column B of file Y.
In other words to collect the products prices from file X according to their model number field and to copy it to the same MODEL NUMBER of file Y.
in file X there are 2 lists of products prices as you can understand from my info.
#2 the other is a .csv excel file which contains several fields: email, name, address, etc
Basically what I need to do is to create another .csv excel file that contains all the emails in file#1 that are also present in the file #2 plus their corresponding additional fields ( name, address ) etc
Trying to write a script to carry out a number of tasks but is there code to enable an Excel to look in a particular file for the list of csv files - carry out the tasks and return the appropriate values in the Excel sheet whilst leaving the original csv files untouched?
Need a way to update a single master file. What happens right now is that the cost manager sends out one file to a lot of different project heads and then on having them return back to him he basically has to individually add in all the data. What i am trying to do is that he somehow carries on sending out the data as there are a lottt of projects and then on returning them they automatically update.
While the first file contains about 300 active products the second one has a list of about 2000 active and deactivated products. What I need is to extract the UPC from the second file matching the active SKU from the first file so I have a final file that looks like this:
I have about 7000 Excel files that I need condensed to one file. The data shown that I need in example one. In this example the data needed is in column B20 then B3-B19. My problem is the data in B20 is sometimes above or below.
In the other attached file(ExampleOutput) is how I am trying to get the data outputted.
Do you think that a macro/script con go thru all 7000 files automatically in a row to do this?
I have to delete data from D15 to AZ129, D168 to AZ282, D312 to AZ426 in 46 excel files, saved in the same folder. I go through the process manually by opening each file and then deleting data.
I have two excel file name as A.xlsx and B.xlsx. Avoiding double work if I entering the production data in A.xlsx , need to automatically display the same data in B.xlsx. Let me know how the entered data in A.xlsx automatically display in another excel file B.xlsx.
I am trying to do a comparison of numbers from two excel files (one with data from Google Analytics and one with data from Ad-words).
I would like to compare data in the two files, and when there is a match (of keywords), the data from google analytics excel file should be copied into the correct row in the spreadsheet with data from google ad-words.
Company Name | Model # | Comments | ABC | 1234 | Good | DFG | 3245 | Bad | IUR | 8950 | Moderate | ABC | 2435 | Bad | IUR | 2432 | Moderate | . (could be >100 entries under 20 companies)
We need to group the above data by company, copy it into a new file, and send it to respective company...
Any macro can serve this purpose? Save .xls to a location named by company name will be perfect as we'll send the files by mail merge to email with attachment.
In addition, the headers need to be included in the new files too...