I have attached a before and after image of what I am looking to accomplish.
In the before image, you can see that there are 3 rows of data - a header - a repeating model number (in column F) with accompanying data (values in columns G - J are the items of interest)
In the after image, you can see that I took the 3 rows of data and turned it into simply two rows of data - a header - the repeating model number
What I did however in the after image, as can be seen, is I took certain data values that appeared on the repeating row (columns G - J), and included them as PRICE, COST, BEGIN, and END values in new columns on row 2.
Is there a way to accomplish this via some functions or maybe even a VBA script?
I am looking for some code that will use A,B,C as filters to find duplicate cells, and if duplicate found, there should be deleted the duplicated row (but not only the row from a,b,c column, but the whole 8 cells from that row - A,B,C,D,E,F,G,H).
As filter I would like to be used A,B,C columns.
EXAMPLE: BEFORE A B C D E F G H Kristijan Markovski 26,2,1992 1389 Prilep Prilep Mice Kozar1 1 Kristijan Markovski 26,2,1992 1389 Prilep Prilep Mice Kozar01 1 Kristijan Markovski 26,2,1992 1389 Prilep Prilep Mice Kozar001 1 Bojan Smileski 5,2,1992 1356 Prilep Prilep Borka Taleski 1
AFTER A B C D E F G H Kristijan Markovski 26,2,1992 1389 Prilep Prilep Mice Kozar1 1
Bojan Smileski 5,2,1992 1356 Prilep Prilep Borka Taleski 1
I am waaaaay in over my head here. I've not done any scripting/macro/vb/whatnot work in Excel, but I'm staring down a potential all-night project manually merging data.
I have a sheet with over 1000 rows showing me every employee's benefit choices. It has multiple rows for each employee - one that indicates their health option, one that indicates their dental option and so on.
I'd like to combine them so I have one row that has columns for health, dental, etc...and then their options would be listed all in the same row. I've attached the original with the solution I'd like pasted below. I'm sure this isn't difficult but I'm having trouble figuring it out.
ive got columns of dates that i want to aggregate up into a single column of distinct dates. the dates columns are of varying length, some with gaps in the middle of the column, and some columns are blank. dates in teh columns may duplicate, but i only want distinct dates copied in the single column.
i cant do this by hand because there are dates in around 200 columns so i need a macro or way to do this quickly. ive attached a picture to explain the problem.
I have two very long columns of client names. The columns represent reports that were run at different times on the same information.
What I want to do is merge the two clomuns. The issue is that there are many names that are the same but some that are different. Is there a way that you can merge the info. So it ignores the client names that are the same but auto adds the ones that are new. There are financials in other columns that I want to have come along during the merger.
A B C D Visit_Date Day_of_the_VisitHousing_Tour_TimeNumber_in_Party 3/22/2012 0:00Thursday 12:00 P.M. 2 3/22/2012 0:00Thursday 12:00 P.M. 4 3/22/2012 0:00Thursday 12:00 P.M. 1 3/22/2012 0:00Thursday Not Requested 2 3/22/2012 0:00Thursday 12:00 P.M. 3 3/22/2012 0:00Thursday 12:00 P.M. 3 3/22/2012 0:00Thursday 12:00 P.M. 4 3/22/2012 0:00Thursday Not Requested 1 3/22/2012 0:00Thursday 12:00 P.M. 2 3/23/2012 0:00Friday Not Requested 2 3/23/2012 0:00Friday Not Requested 5
What I'd like to be able to do is if Column A,B, and C are the same to sum column D. So, for example, I would like the data above to look like this:
A B C D Visit_Date Day_of_the_VisitHousing_Tour_TimeNumber_in_Party 3/22/2012 0:00Thursday 12:00 P.M. 7 3/22/2012 0:00Thursday Not Requested 3 3/22/2012 0:00Thursday 12:00 P.M. 12 3/23/2012 0:00Friday Not Requested 7
Is there a function in Excel that allows you to combine non-numeric columns as a list?
For example, 91401 is a zip shared by three cities: Van Nuys, Sherman Oaks and Valley Glen.
The data is in a workbook as three rows (each with 91401 as the first column, and cities listed individually:
91401 Van Nuys 91401 Sherman Oaks 91401 Valley Glen
I am eventually wanting to do a v-lookup with the zip, but the duplication is causing problems. I want the associated cities listed, but only want one row. The cities could be listed, separated by commas (preferably), like below:
91401 Van Nuys, Sherman Oaks, Valley Glen
The list of zips I have is several thousand long, so it's not practical for me to do it manually. Is there a "pivot table" of text that I could use?
I found a useful resource on the web that gives a macro that deletes rows when the cells within a SINGLE column are identical. [url]
Does anyone know of a macro that can do more than that, one that will delete rows if ALL cells within ALL columns are identical?
For example, the macro should delete row 4 of the attached spreadsheet. It should leave row #2 there because it's the orginal row. But the duplicate row #4 should be deleted. The macro should leave row #5 there because not all columns are identical for that row.
What I have is a massive table of data (15k+ entries), which consists of 4 different tables merged together. I have a lot of duplicate entries. However, most of these entries have information in one or another columns that its duplicate does not.
What I need to do is:
Identify the duplicate entries (by part number, which is one of the columns).
Merge the duplicate entries. In the merging process, I need to carry information over, taking data that is currently in 2 or more rows and merging it into one row.
Here's an example:
column1 column2 column3 column4 row1 a . . d row2 . b row3 . . c
needs to turn into:
column1 column2 column3 column4 row1 a b c d
If I'm not explaining this well, I will do my best to clarify. My main question is, is there any way to automate this process (even partially)
I need to merge rows with duplicate values in column A (Patient Name being the most important one), with columns B, C, & D usually having different isolated values as well. Columns E, F, G, H, & I are date columns, but the data is always going to be the number 1, meaning a patient was seen once that day (if they were seen two times that day for different reasons, information would be in an unmerged second row [same patient name listed in two separate rows], where columns B & C would be different). Column J is an autosum of columns E through I if that makes a difference. Column K is a notes column. The data that needs to be merged is always added to the bottom of the spreadsheet in order to show that a patient was seen on any given day, with columns B through K almost always being blank. Example:
Alice Alpha--------AB----------PT-------1---------------------------------------------0-------------blah Boris Beta---------BC----------SELF----2----------------------------------------------0------------blahblah Carl Carlisle-------CD---------PTA------3----------------------------------------------0 Carl Carlisle-------AB---------SELF-----2----------------------------------------------0 Donny Delta-------DE---------PT--------1---------------------------------------------0 Ernie Elephant-----EF---------PTA-------2---------------------------------------------0 Alice Alpha-----------------------------------------------1 Carl Carlisle--------------------------------------1--------------1---------------1 Ernie Elephant-------------------------------------------1---------------1
Alice Alpha--------AB----------PT-------1---------------1-----------------------------1-------------blah Boris Beta---------BC----------SELF----2----------------------------------------------0------------blahblah Carl Carlisle-------CD---------PTA------3-------1--------------1---------------1------3 Carl Carlisle-------AB---------SELF-----2----------------------------------------------0 Donny Delta-------DE---------PT--------1---------------------------------------------0 Ernie Elephant-----EF---------PTA-------2--------------1---------------1-------------2
In this example Carl Carlisle is being seen for two different things, however how would it be written so the macro would know which Carl Carlisle row to merge with? I'm thinking that before running the macro I could manually enter the information into column B so it knows which Carl Carlisle row above to merge with.
Data always starts at row 14 (row 13 is frozen pane header column), and extends to a row that is different every week depending on how many people happen to be in the list.
I found something from this link that looks very similar to what I need, but with no knowledge of coding, I have no idea how it should be tweaked: Merge Duplicate Rows Keeping Data In Same Columns
I know I'm asking a lot, but the amount of time this takes to manually go through hundreds of rows of patient names every week is incredibly time consuming, and I have too many other things to stay on top of at work for this to drag me down day in and day out.
I need to combine rows with that have the same column A value into one row. The duplication will be no more than 3 (ie 3 As, 2 Bs, 3 Cs, 1 D etc). I am looking for one of two options. 1) Ideally I'd like to be able to take 2 columns and turn them into up to 4 columns total. 2)Alternately, I can format the data to be in the correct columns to start, but will still need to merge the duplicate rows. The data can have any number of rows to start.
I've found something close, but it puts the new column data into ascending number order, which won't work for me because I need it to be in the specific order I input.(It also put all the data into one column, which I don't mind because I can do text to columns, but the order was the bugger.)
In my sheet I have it search for duplicate records and give those records the same id. Is there anyway to combine data into one record. For example, I have a person with a value in column Points1, on another row a value in column Points2, and another row a value in column Points3. I want take those values from the duplicate records and put them all in one record. I've attached a sample.
I currently have a worksheet filled with data from other worksheets. I want to combine data from different columns when they share an identical row header and don't know how. For example:
1b-- 1--c 1-d- 2-x- 2y-- 2--z
Would go to:
1bdc 2yxz
Another specific issue is that some row headers are bold and need to be considered a separate header from the non-bold alternative.
I have a long (about 180 000 rows) list of part numbers, descriptions, prices and quantities. There are many duplicate part numbers. I need to go through and find the duplicates, add all their quantities into one cell and delete the remaining duplicates. I have used conditional formatting to find the duplicates easier but cannot use the remove duplicates button as it will delete the whole row and I need the quantity information in each row.
Any formula or macro I can set up to search the part number column (F) for duplicates and add the figures in the quantity column (J) and THEN delete the duplicate part number rows?
Maybe I need to put the new combined information in another sheet?
I have 2 separate excel sheets. Both contain different data about the same account. I need to combine the 2 into one spreadsheet without duplicating records. The accounts do have a unique account number that appears on both data sheets.
I have a spreadsheet in which invoices are listed. Some of these invoices have been cancelled with a negative invoice, so I want to match the negative invoice to the corresponding positive invoice so that accurate averages of all the data can be attained.
Any way of finding particular data from a data set and deleting the data from that field without using conditional formatting or remove duplicates?
I have used a vlookup to find the words that I needed I now need to find where the are located in my original data set and delete these so I am left with data that if I perform a vlookup on it will not bring back any words as they will have been deleted.
In my spreadsheet (27,000 + rows), there are sections (multiple rows) that are duplicates of other sections. A section is a header row followed by other rows of data.
The number of rows in each in section can vary from 5-20 – therefore, you cannot use the number of rows as a criteria.
However, each section has a header row that contains a four digit number. The following is an example of two such sections:
Basic -- Zero Line ==> Zero Line ID=7076 (submitted by Calvin Campbell)
Star Thru
Pass Thru
Trade By
Star Thru
one half Square Thru
[Code] ..........
As you will notice the header row contains an ID number. Every header contains “ID=” followed by the four digit ID number.
I need a macro that will identify the duplicate IDs and their sections and delete the duplicate rows of data.
I mention the following – which may or may not be useful. - Not only are the header rows duplicates but the content of the entire section is duplicate - There are no blank rows in the spreadsheet - Entire rows may be deleted (not just specific cells) - The data will be in Column A - There’s only one duplicate of any given ID
There are a total of 2716 sections. It has been determined that 201 of them are duplicates. I can provide the 201 duplicate ID’s if needed.
I am trying to extract unique Data from the information in the output data in the file attached after i have extracted data based on criteria from the database sheet. i have noticed that because i extract data from the database sheet and from there i perform the extraction of the of the unique data , it is not able to extract unique isser name form the output sheet.
There is one crucial feature to the 2007 Excel that has been overlooked.
Throughout all versions of Excel there has always been the feature of converting text to table, however there is no way to do this in reverse.
There is no way to merge two columns of data and to keep all of the data without one column overwriting the other. If only there were an automatic way to merge two columns of data and to be able to place a delimited character in-between, just like the “Convert Text to Columns Wizard”, except in reverse. Currently, the only way to merge two columns of data is to manually go row-by-row and cut and paste them together. However, for 500,000 rows of data… this is impossible. Or to use a function to merge two columns, however this requires that the original two columns remain. This is also unacceptable. If Microsoft really wants to make Excel more functional, how can this vast improvement be overlooked?
I've been trying unsuccessfully to find a way to merge data into a matrix, but can't quite figure out a way to manage it. I have a list of employees in column A, in the list there are employees, many with multiple instances, and in columns C onwards there are dates in dd/mm/yyyy format.
Each line represents the number of nights in a trip, from 1 to 35 nights and the start to finish dates. Where as some employees may only have one row with one date others may have 20 rows with between 2 to 35 dates.
I'd like to merge this into a matrix with one line for each employee showing which nights in the year they were away (tab matrix) which has a day of the year to illustrate which employees were away on which nights of the year.
I've uploaded an example to highlight what I mean.
I've tried a pivot and an index match formula but couldn't get either to work.
If I have two columns which are lists of names, how do I make a new column which merges the names from each column into one list, and will refresh when new data is added to the two originals.