Collate A Range Of Data
Dec 23, 2009
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.
View 3 Replies
ADVERTISEMENT
May 20, 2008
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.
View 4 Replies
View Related
Jan 26, 2014
I would like to put all my data from many workbooks into one workbook. all the columns will be the same but the rows will be different.
If possible I would like the file name in "f"
The file location on the file is C:Userssteve.kirkDocumentsbompartsdn. this is where all the files are
CQ821-004 Earth brush bracket - Fabrication.xlsx‎
View 14 Replies
View Related
Mar 14, 2014
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.
View 13 Replies
View Related
Jun 9, 2008
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?
View 9 Replies
View Related
Mar 16, 2012
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.
View 2 Replies
View Related
Apr 16, 2013
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.
View 2 Replies
View Related
Jul 18, 2013
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
[Code] .........
View 5 Replies
View Related
Nov 28, 2009
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".
View 2 Replies
View Related
Apr 9, 2007
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?
View 9 Replies
View Related
Sep 8, 2006
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
View 9 Replies
View Related
May 1, 2014
Is there a way to collate multiple entries for the same record all into one column, as shown in the attached workbook?
View 12 Replies
View Related
Oct 17, 2011
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.
[URL] ..........
View 2 Replies
View Related
Oct 20, 2009
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.
View 9 Replies
View Related
Feb 28, 2009
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.
View 5 Replies
View Related
Aug 9, 2006
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.
View 9 Replies
View Related
Jun 4, 2013
I have approximately 5000 excel files in a folder with which are named by cost centre e.g 45684 (all differing lengths).
some script so I run a macro and an excel sheet captures the name of every single excel file in the folder?
View 2 Replies
View Related
Aug 1, 2013
I am attempting to make a range of cells' data be deleted if a cell outside of that range that had a name in it is no longer there. So if I have a list of names in cells A1:A6 and a range of data in cells D10:E20 that corresponds to a name in cell A2. If the name in A2 is deleted I would want the data in D10:E20 to be deleted.
View 9 Replies
View Related
Jul 19, 2009
I have 20 sheet in the Excel file. in the below Format.
i want collate all the sheet in to 1 sheet.
Sheet1
View 9 Replies
View Related
Jun 17, 2014
Simple transpose question: Lets say I have a verticle range of data from B3:B13. I wish to have code that will transpose that data into a horizontal range at D3:M3, is that possible?
View 5 Replies
View Related
Nov 25, 2009
I have a macro that first refreshes a specific data range that imports data from a text file as such:
View 2 Replies
View Related
Aug 31, 2013
I have a two sheet, in Sheet1 i have a data, and in sheet 2 i have a count of location wise data in it, which is from sheet1.. And beside it u will see a button "View Detail". When you click on that button it will pop up a userform which have listbox and 2 button.. Now in listbox i get a filtered value of column C of sheet1 (For eg. Mumbai, Pune, Chennai).. When i click on the value (Mumbai) in Listbox and then click on View Location Details. It should give me a details of mumbai based candidate, like name, pod no, location in the range of (H5:J100) of sheet2..
I wrote the code for it but its not giving me the correct data..
View 1 Replies
View Related
May 23, 2014
I need a formula that will look into a range of data and tell me whan the last time a value exceeded 0 (working backwards).
So below the first row would return a value of 6, the next 5, the next 0, the next 1 and so on....
I can do it with an if formula but the amount of days it will be looking at will be too many, plus the range will keep growing as time passes.
FriSatSunMonTueWedThuFriSat
222000000
111100000
111100011
110111110
000111111
000000011
111111111
111111111
5117400000
564000000
8110660000
0000018171318
View 3 Replies
View Related
Mar 21, 2014
I have a range of weekly data that I need to copy into another workbook, paste it below the data that already exists there and then delete the data from the original workbook. I would love to do this with vba but after hours of searching on how to do this my brain is frazzled.
I have 50 workbooks that I need to import weekly into one master sheet (Master.xlsm) but they need to be done individually after the weekly data has been checked. The master sheet will therefore have existing data and the new data needs to be appended at the bottom. Also column A will be blank in both workbooks so to find the last used row it will need to look in column B.
The number of rows in the weekly sheet will also vary rather than be a fixed range so I guess the last used row will also need to be found there too.
The attached file is a cut down version of my working file showing where the data starts on Row 14, I won't need to copy the headings.
Example file 21.03.xlsm‎
View 4 Replies
View Related
Oct 17, 2012
I have a workbook with 3 sheets
Sheet1 - TeamList - Column A is a list of all the team leaders which is used to create a new worksheet for every team. Col B is blank. Column C, D, E are the team lists where teams can consist of anywhere from 10-25 employees.
For example
Column A
Column B
Column C
Column D
Column E
Team Leaders
Team Leader
Employee
Pin
TL 1
TL 1
Emp 1
10001
[Code] ......
Sheet2 "RawHours" A raw data sheet that contains employee hours information
For Example
Employee #
PIN
NAME
Reg
OT
TRN
Stat
Sick
Vac
Berv
2000100
10001
Emp 1
24.00
0.00
[Code] .......
Sheet3 - Template
Basically what I want to be able to do is create a sheet for every team leader and copy and paste there team into the appropriate sheet.
I have the sheet create done by simply copying the template and renaming each sheet using the Team Leaders list from column A from the TeamList sheet. And then I copy the page setup information using the template as well but when it comes to pulling over the appropriate team members in to the appropriate sheet I can not seem to wrap my head around it.
Below is the current code I am using:
Code:
Option Explicit
Sub CreateSheet()
Dim LR, i As Long
Dim shCount As Integer
Dim Sh As Worksheet
Dim Cell As Range
Dim CpySht As PageSetup
[Code] ........
View 3 Replies
View Related
Dec 13, 2008
I have 30 worksheets in a workbook in which the first sheet is called summary. The summary sheet has 29 formulas with all named ranges, so one named ranged per worksheet. The issue I have is when i clear old data and add new data every month, the named range changes on some worksheets not pointing to the correct range as previous month file even if I have $
View 9 Replies
View Related
Jul 29, 2012
i have a treatment centre with 22 rooms some with mutiple beds, i need to view occupancy in a grid form to optimise bed useage. i need to look up a date that is after arrival but before depature that matches a room number, i have tried match, index, and, vlookup etc but all this info must exist on the same row
View 1 Replies
View Related
Sep 28, 2008
i have a main.xls file and two data file dat1.xls and dat2.xls
mail named file have ar - br- cr- dr- er -fr sheets
dat1 named file have ar-br-cr sheets
dat2 named file have dr-er-fr sheets
and all this files data source is
colomn source a - fd
row source 29-4000
i want to make two commandbutton to main file first for dat1 second for dat2 file and i need a code to use at this buttons to make
when dat1 and dat2 close
main file user when click first button
copy dat1 file ar sheet colomn source a - fd row source 29-4000 cells to main file ar sheet colomn source a - fd row source 29-4000 cells
copy dat1 file br sheet colomn source a - fd row source 29-4000 cells to main file br sheet colomn source a - fd row source 29-4000 cells
copy dat1 file cr sheet colomn source a - fd row source 29-4000 cells to main file cr sheet colomn source a - fd row source 29-4000 cells
View 9 Replies
View Related
Oct 7, 2009
I am trying to determine a range of rows which a number falls in between to restrict a secondary match criteria based on some keywords
I have two columns acting as a data range
Col A Col B
8 15
8 15
8 15
16 21
16 21
16 21
22 55
22 55
22 55
Then I have a value which I am trying to determine the min and max rows that the number fits in that range, where the min row is from ColA and the max row is from ColB.
i.e. the number 12 should give me the first row of column A and the last row of Column B that is the value nearest 12 i.e. row 3 with the value of 15
and the number 42 therefore would give me row 7 from column A and row 9 from column B
I have tried using;
INDEX(ROW(INDIRECT(RANGE)),MATCH(TRUE,INDIRECT(RANGE)>=INDIRECT(VALUE),0)
AND...............
View 7 Replies
View Related
Jul 28, 2012
The find functions is useful to find the emails I want to find. And what I actually need is the data between the emails which are in different categories,e.g. in column A are names ,column B is sex, Column C is age, etc...
And now to do an analysis I only need column A and C, but I dunno how I can extract those columns from Range(found.Offset(1, 0), found1.Offset(-2, 8)).
Code:
Sub Header()
Worksheets("sheet1").Activate
Dim found As Range
Dim found1 As Range
With Range("A:I")
Set found = .Find(what:="Learningenglish@gmail.com", after:=.Cells(.Cells.Count), _
[Code]....
View 1 Replies
View Related