Collate Multiple Values Into One Column
May 1, 2014Is there a way to collate multiple entries for the same record all into one column, as shown in the attached workbook?
View 12 RepliesIs there a way to collate multiple entries for the same record all into one column, as shown in the attached workbook?
View 12 RepliesI 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 RelatedIs there a formula to isolate observations in the same column (different values) and also all have the same column heading like the file attached?
View 2 Replies View RelatedWhat I am trying to do is give the rank in column D based on the values in columns B and C. Some of the values in column B will have then same rank, and as such I want to add further criteria on which to rank them. I would first like to rank the values in column B and then rank the values in column C, which should give the rank in column D. For example Dog and Frog have the same value of 400 from the Non UK column. Therefore, rather than having these as both rank 1, I want them to be ranks 1 and 2, so want to add another criteria (UK). As Dog is greater than Frog in the UK (i.e. 10>7), I would like to rank Dog as 1 and Frog as 2. Goat will be ranked as 3 because it had the thrid highest value in the Non UK.
ABCD
1Non UKUKRank
2Cat20055
3Dog400101
4Eel200114
5Frog40072
6Goat30023
I have IDs in the first column of an excel chart. After that I have three more columns, being date of test, type of test (start, 3 months, 6 months, 9 months, finish), and lastly the result for the test.
Right now, the same IDs are listed multiple times for different results, so for example:
ID | Date | Type | Result
27 | 3/27 | Start |8.3
27 | 6/27 |3 Mon |7.9
27 | 9/27 |6 Mon |7.4
27 | 12/3 |9 Mon |7.2
27 | 3/27 | FINISH |6.5
What I need is the following layout:
ID | Start | Date | 3 Months | Date | 6 Months | Date | 9 Months | Date | Finish | Date
ID is only shown at left, and the values for the test result and corresponding dates are shown in their respective columns.
I tried to do an IF function with a LOOKUP inside, and it worked originally, but when I add more values for the same ID to the original column, it only shows the latest date, and only gives that result.
I have a excel sheet with several columns and 2700 numbers in each column. In the first column there is standing from witch quarter to witch quarter of the day the values are (and this for several days in one sheet). I want to take the average of all the first quarters of the day, the average of all the second quarters of a day,.... But if I would do that by just sorting my table on the quarters and than manually make the formullas I would need to give in 800 formules. (way to much)
So I would like to find an easier way to take the average of column B for the valeus were A is "00:00 -> 00:15" (this are avery time 28 numbers in the month february)
In attachement you can find an example of my problem, although it isn't with real values.
I am trying to sum up the rows that have multiple values in one column.
Here is my curent formula THAT works
=SUMPRODUCT(($H$46:$H$5787="EO-Deal Processing-Closing")*($K$46:$K$5787="Submitted")*($I$46:$I$5787="2-medium"))
Now I also want to add the following
($K$46:$K$5787="Assigned")
How can I get the value I need so that column "K" I get returned both "submitted" and "assigned"?
Matching Multiple repeating values in one column with another.
I have a three columns of data that I need to map the requird Ids in Col A against multiple repeats in Col C. AS per data below ....
I have a column:
LABEL COUNT
1 of 2
empty cell
1 of 2
empty cell
1 of 2
empty cell
1 of 2
empty cell
1 of 2
empty cell
1 of 16
15 empty cells
I need to fill the empty cell with the "series" (2 of 2, 2 of 16, 3 of 16). This is just an example of data - there are all different series - 1 of 12, 1 of 5, etc.
Anyway - was hoping to highlight the whole column and be able to auto fill instead of having to extend each series. I have tried straightforward fill series which doesnt work of course. I have tried go to special - blanks but cant find right combo to make it work.
Will it work or do I have to either do manually or with a macro?
I am trying to pull peoples names from 3 diferent tabs into one column in a separate tab. But if a name is shown more than once only display it once. How can I do this?
View 1 Replies View RelatedI have a challenge which I am trying to solve without VBA and I am uncertain how to approach
If I have the following spreadsheet consisting of three columns:
FieldA, FieldB, FieldC
A........3................
B........5........6......
C.................7......
D.........................
E.........................
F........6........4......
The result I would like to achieve is
FieldA, FieldB, FieldC
A........3................
B........5........6......
C.................7......
F........6........4......
So, it means I would like to return the rows where Columns B and C have a value. Is this possible with strictly formulas?
I am working with an aging report where data is formatted in column. In the last column I would like to assign a value based on criteria from the adjacent columns (ex: If balance > $10,000 then value = "Hold").
My idea was that I would asign variable to the column, start a for next loop, and insert the criteria in an if then else loop. Is this the best way to go about it, should I be using case select, and how do best assign the variable to column so that I can loop down the entire report.
Here's an example of what I'm working with
Balance
Current
90
[Code]....
My problem is how do i get multiple column values at one shot.
For example in one excel sheet i have columns A,B,C,D,E and in A column i have all the Partner ID's and rest of the columns i have the data.
Now in other excel file I have Partner ID's which are not in order...now i want the data in all 5 columns according to partner id's from the previous sheet i need to do a vlookup function for five times to get the same data....is there any way that we can do it in one shot.
Option Explicit
Dim lastrow As Long, t As Long
Sub Method()
lastrow = ActiveSheet.UsedRange.Rows.Count
For t = lastrow To 1 Step -1
If Cells(t, 8).Value <> "" Then
If Cells(t, 9).Value = "Y" And Cells(t, 10).Value = "" And Cells(t, 12).Value > _
6 And Cells(t, 12).Value < 60 Then Range(t, 25).Value = 20
End If
Next t
End Sub
Alright, the above code is not working. I am not sure if it is the write part (t,25 value) that is wrong. I want the Y column to be written with a method numbered "20" if the conditions (H is not null, J="Y", K="", and 6<M<60). I have numerous other methods to put in. The reason I'm not doing Case Statements is this is jsut to write the basic code, and then I will have to move it over to ReportSmith using ReportBasic.
Is there a way where i can vlookup a column and return all matches if there are multiple values?
View 3 Replies View Relatedwe 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
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 have attached an example workbook with a tiny subset of data and a number of criteria from the Dashboard Engine page removed.
What I need is to sum the total value for each division on the second sheet based on the date criteria (so for the first cell Jan 1/2010 - Jan 31/2010) and on a match between division name on the Dashboard Engine sheet table and the Masterdata sheet. I have tried a number of variations but keep getting a 0 for each return.
Sample Workbook.xlsx‎
What i'm trying to do is i would like to compile in 1 column all duplicate values from multiple cells.
ex. A1 to 10 is numbered 1 to 10 respectively, B1 to B10 is numbered 6 to 15 respectively. which means in A1:B10 the duplicate values are 6,7,8,9,10. i could like these number to show automatically in C1 to C5.
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‎
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 RelatedI 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 View RelatedI 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 RelatedI am working on an attendance spreadsheet in Excel 2003 at work that will display data showing number of learners allocated to an activity, number unallocated, number attended, number not attended, number of acceptable reasons and number of unacceptable reasons by Block Letter. My problem is that for a number of reasons the same learner number is allocated to a number of activities each day. I need to know how many learners from each block have been allocated, not how many allocations each learner has from each Block.
I have tried different formulas, but fast running out of time
I have attached a modified sample from the main spreadsheet
I need : Cell H4 to calculate the number of unique values from Column C on Mon tab but only meeting the following criteria Mon!$N$3:$N$4000="AM", Mon!$O$3:$O$4000=D4, Mon!$B$3:$B$4000="mon1" I can then apply to the other rows.
I am working on formatting a spreadsheet report where the values will change in column A. Here is what I would like to do via a Macro. Compare the cells in column A (e.g., compare A2 to A3, compare A3 to A4, and so on). If the values between the two cells in column A are different, insert three blank rows and set the active cell to the next cell following the blank lines. Example:
if cell A5 is different from A6, insert three blank rows below row 5 and new active cell is now A9 and the comparison would start again. I have been trying to code the macro for this but with no success. Here is the macro I have been working on.
Sub Macro1()
Const NumRow As Integer = 3
Dim StartCell As Range
Dim RowNR, NewCnt As Long
Dim RowCount As Long
Dim Count As Long
Dim intRow As Integer
Dim bFmtComplete As Boolean
RowCount = Application.WorksheetFunction.CountA _
(Range("A1", Range("A" & Rows.Count).End(xlUp)))
bFmtComplete = False
RowNR = 2
Range("A1:J1").Select
' Rows("1:1").Select
Selection.Copy................
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] ..........
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 RelatedI 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 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.
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.