Compare Two Columns-delete Duplicates From Just ONE Column

Oct 7, 2009

I have column A that is 1,500 records.
I have column B with 40,000 records.

Among the 40,000 records in column B, duplicates of ALL 1,500 records from column A exist.

My question is: How do I find WHERE the 1,500 dupes are and how can I delete JUST those records?

View 3 Replies


ADVERTISEMENT

Macro To Compare Columns A & B And Dispaly Any Duplicates In Columns C & D

Feb 21, 2009

what I'm after is a macro to check the contents of Column 'A' against column 'B' and display any duplicates in Columns 'C' & 'D'.

N.B. The headings of Columns C & D are :-

C = Value Found in Column A

D = Value Found in Column B

Any duplicate entries logged in columns C & D should be listed in C2,C3,C4....C20 and D2,D3,D4......D20 etc (in effect creating two new lists)

View 5 Replies View Related

Compare Number Lists On Different Sheets And Delete Duplicates

Mar 26, 2011

Need to find a column of numbers from one worksheet and delete them from another.

Example
To be deleted is below:
83221
83223
83232
83233
83236
to be deleted from is below:
83221
83223
83226
83227
83228
83229
83230
83232
83233
83234
83235
83236

Another issues is that the worksheet that needs to have the numbers deleted from has 3 columns total so the whole row would need deleting, or if its easier I could replace the numbers with 0 and then sort and delete.

View 9 Replies View Related

Compare The 1st 9 Digits In Two Columns Looking For Duplicates

Mar 22, 2006

I have two columns of data. Each row cell is 27 characters long. I want to
find any duplicate matches between the two columns on just the 1st 9
characters of each cell. Is there a function that can do this?

View 9 Replies View Related

Macro To Compare Two Columns And Identify Duplicates?

Jul 10, 2013

So here I have two columns Column 1 with repetitive values of some 10000 records Column 2 with unique values of 100 records I want to compare Column 1 and Column 2, identify the values in Column 1 that match with Column 2 and highlight them. Conditional formatting for duplicate values doesnt work because Column 1 has repetitive values.

View 6 Replies View Related

Compare Multiple Columns - Flag Duplicates?

Nov 14, 2013

Columns A, B, and C have data (first name, last name, state) - 125k rows. Columns F, G, and H have data (first name, last name, state) - 5k rows. Some of these individuals are bound to appear on both lists, and I need to know which ones are indeed on both lists. So in other words, let's say I've got "John" "Doe" "TX" in cells F1, G1, and H1, respectively. I want to search through columns A, B, and C to find out if there are any instances in those columns of "John" "Doe" "TX" in the same row.

I'm thinking there will be multiple VLOOKUP formulas involved, but I could be way off.

View 2 Replies View Related

Compare Data Between 2 Columns And Highlight Duplicates Using 2007

Aug 6, 2008

searching between 2 columns (A:B) and finding duplicate emails using some type of formatting that will highlight duplicate emails?

For example?
A B
me@yahoo.comsmelly@yahoo.comegg@msn.comspazz@guno.comdupada@hotmail.comhope@aol.comokay@gmail.comhelp@popp.comhope@aol.comfunky@chicken.com
check@team.com hope@aol.com

I am using MS Excel 2007 and not very experienced, but this is for a marketing golf tournament my company is hosting.

View 9 Replies View Related

Compare Column A To Column B Then Highlight / Format Any Duplicates

Mar 17, 2014

Trying to compare a list of names in 2 columns. Column A has a short list of names I'm looking for in the long list of Column B.

How can you create the macro that does...

If any value in Column A matches any value in Column B

Then format (bold, highlight, etc...)

View 1 Replies View Related

Delete Duplicates Value Combinations From Two Columns?

Mar 29, 2013

I have two columns of data, one with an ID # and the other one with a date. Some ID# + date combinations are repeated and I need to delete the duplicates. Here is a visual:

ID# date
54 19720211
54 19720211
54 19810512
67 19590312
89 19931104
89 19931104

I need to keep only unique ID/date combinations. I would need the final list to look like this:

ID# Date
54 19720211
54 19810512
67 19590312
89 19931104

View 2 Replies View Related

Delete Entire Rows With Duplicates In Two Columns Only

Apr 20, 2012

I need excel to delete entire rows if there are duplicates in two columns combined.

So, if I have this sample data (in reality I have a lot more columns)

1 Tr. ID Last Name First Name Sex
2 RBM_A Miller Johnny M
3 RBM_A Bayron Josephine F
4 RBM_A Jackson Reynaldo M

[Code] ........

I want excel to delete only row 9, not 11, 13 or 14.

So far, if I look for duplicates in both columns it marks duplicates in either one. Also if I delete the duplicates, it deletes them only in those two columns, leaving me with distorted data (in this example, row 14 would have no last or first name, but only the values "RBM_C" in column B and "F" in column E.

View 2 Replies View Related

Delete Rows Based On Duplicates In X Columns

May 14, 2006

I've been looking through various forums looking for a macro for a particular task, but I have not found something that works yet. Maybe someone could help me out? It's pretty straightforward situation.

I need a macro that removes an entire row when: information in column B and column C are both found in other rows ( duplicates).

I'm dealing with a worksheet with store record information ... Store Name (column B), Street Name (column C), State/Province, etc. I import new store records all the time and many are invalid because they share the same name and street address and therefore need to be removed. The ones that I’ve played with unfortunately end up deleting the cells only and not the entire row.

It's a tedious process to do manually remove entire rows (for duplicate column B&C) when dealing with thousands of rows and I would very much appreciate any assistance or insight into how simplify the process with a macro. I've attached a sample of what I'm working with.

View 9 Replies View Related

Delete Duplicates Rows Based On 2 Columns

Dec 6, 2006

I want to delete the current row if the data on row A and Row B match. Its hard to explain so I posted an example.

View 5 Replies View Related

Compare Two Columns And Delete Duplications?

May 28, 2013

I have a spreadsheet with 4 columns.

I would like to Compare Column A with Column B, if Column A contains text or numbers anywhere in Column B, then remove the corresponding rows not just in Column B, but Column C and D as well for that row.

View 3 Replies View Related

Find, Compare And Delete From 2 Columns

Feb 8, 2008

I an using Excel 2003. In that i am having 2 columns (A&B). I need to take each value from Column A and search that cell value in Column B. If it is not found in Column B then delete the cell data in Column A. Then take the next cell data in Column A. Find operation and delete if not found. Do it for entire rows in column A. Then repeat that for Column B also. So my final result will be the same cell value in Column A and B. I need VBA code.

View 2 Replies View Related

Find In 2 Columns, Compare And Delete

Feb 20, 2008

I an using Excel 2003. In that i am having 2 columns (A&B). I need to take each value from Column A and search that cell value in Column B. If it is found in Column B then delete the cell data in Column A. Then take the next cell data in Column A. Find operation and delete if found. Do it for entire rows in column A. Then repeat that for Column B also. So my final result contains uncommon cell value in Column A and B. I need VBA code.

View 3 Replies View Related

Compare Columns & Insert / Delete Rows

Feb 22, 2008

I have a large data file. In column A is 8760 entries (every hour of every day of the year). Columns D & E are linked, Column D is the time and date whilst Column E is a parameter assocaied with that time and date.

There should also be 8760 entries in these columns, however there are some missing data lines in columns D & E. I would therefore like to move the rows in columns D & E so they match with the entries in column A. Can anyone help? I have a headache as i have over 70 files to complete this operation on.

View 9 Replies View Related

Delete Duplicates From A Column

Jun 19, 2013

I have a column with text values, I would like to remove all the duplicates. How can I do that??

View 4 Replies View Related

Delete Duplicates In Column D Only?

Jun 3, 2014

how to Delete Duplicates in Column D with a macro. It would search all of Column D and look for Duplicates and if it finds an exact value match it will delete one of the rows containing the duplicates. This is running in between a much longer macro which is the reason why I can't do it with conditional formatting.

View 12 Replies View Related

Delete Duplicates In Column D?

Jun 4, 2014

I'm trying to create a macro that will Delete Rows of Duplicates found in Column D. It will start with the first row it finds that is yellow and check to see if that Column D matches any other yellow Column D's. If it does then the row the match is in gets deleted. Right now it searches in between the yellow rows, but for this portion I'm looking for it to use the yellow rows only. I included a file that has the examples on sheet1 and the expected outcome on sheet2.

View 6 Replies View Related

Delete Duplicates In Column

Jul 2, 2009

Hi, the code in the codebox under here, which I wrote, is supposed to delete all duplicate records in the column. Which column to uniquify is stated in cell Skin!B17. I searched the internet round, and there are different solutions everywhere. I have been unable though to find the right one - so I thought, why not ask here. If you have a solution, I'd be happy to hear it ...

View 14 Replies View Related

Delete Duplicates In A Column

May 9, 2007

Here in the excel sheet i have columns upto K with rows upto 3295 In these columns the F column has Duplicates in that columns

My question is how we can delete the duplicates in that F column so that i can see my excel sheet without any duplicates in that F column.

View 3 Replies View Related

Compare 2 Columns Delete Rows With Matching Values

Feb 5, 2009

I've got two workbooks, Workbook1 with a list in column a and Workbook2 with a list in column F. I want to compare the cells in these columns and delete the entire row in Workbook2 if there is a match.

View 3 Replies View Related

Excel 2003 :: Delete Duplicates Based On Value In One Column

Jun 5, 2014

Excel 2003 - delete duplicates based on value in one coloumn.

very simple but how!i want the whole row deleted where there are duplicates in one column but ONLY the duplicates, so, if they're 3 duplicates in the column i want 2 deleted leaving 1 unique record.

View 4 Replies View Related

Compare 2 Columns & Delete Rows Ouside Scope & Show Formula Result In Message Box

Jan 22, 2008

I have the following code to compare two columns and delete adjacent rows if 1 is greater than or equal the other...

Sub LastReceipt_GT_Confirmed()

Dim intLstRow As Integer

For intLstRow = Range("E" & Rows.Count).End(xlUp).Row To 2 Step -1
With Range("E" & intLstRow)
If .Value > .Offset(0, 1).Value Then .EntireRow.Delete
End With
Next intLstRow
For intLstRow = Range("E" & Rows.Count).End(xlUp).Row To 2 Step -1 .............

View 9 Replies View Related

Count Duplicates In 2 Columns, But Not If Column A=b

Jun 20, 2007

I have data in two columns where column A is a name and column B might be a synonym or might just equal the value in column A. I want to count duplicates if cell A2 matches any other cell in column A or B, unless the only match is with cell B2. If cell A2=B2, but also matches cell A7 then it should be counted as a duplicate. I've searched through a lot of the threads and found a lot of useful information, but nothing that seems to do what I need.

View 4 Replies View Related

Combine Columns To Create A New Column With No Duplicates

Nov 7, 2013

Columns A, B, C and D contan a list of Names, I want to be able to in column E list all the items in A,B,C and D with out duplicates. How would I do this?

View 1 Replies View Related

Merge Several Columns If Duplicates Exist In Column A

Apr 13, 2008

I have got a wordlist in worksheet "original" which looks like:

Before: [Code] .....

I need a macro which merges the columns B,C,D,E and F depending on if there are duplicates in Column A or not. If there are one two or more duplicates in column A,then those should be deleted and only one of them should remain in column A. The members of deleted duplicates in column B,C,D,E and F should be merged together. No duplicates should be made by the process of merging. Each member in column B,C,D,E and F has to be unique. The results are supposed to be put in worksheet "new".Columns B,C,E and F should be merged through signe "/". And Column D should be merged through signe ",".

After: [Code] ......

The macro must be able to deal with very large lists. biger than 200 000 words in column A

Here is the excel file containing the example : excel file

View 14 Replies View Related

Merge Columns B,C,D,E And F, If Duplicates Exist In Column A

Apr 13, 2008

i have got a wordlist in worksheet "original" which looks like:

Before:

View 14 Replies View Related

Delete Multiple Columns By Column Name No Criteria Need, Just Delete Them

Jun 24, 2009

I would like a macro to find the columns named "apple" and "peach" and delete them. These would always be in row 1 but would always be in different column letters which is why I want the macro to simply find these columns by their name and not by their column letter.

And yes, I do mean the entire column altogether, shifting entire columns to the left. Wipe it off the face of the earth

View 4 Replies View Related

Compare 2 Columns And Put 1 In 3rd Column If They Match Else 0

Jul 4, 2013

I have column A of 700 usernames and column b with 85, I want to compare b with a and if appears in the list place a 1 in column C

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved