Finding Duplicate Data And Deleting

Jan 27, 2014

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.

View 4 Replies


ADVERTISEMENT

Finding And Deleting Both Duplicate Rows

Aug 5, 2007

I deal with leads for a sales room and get sent over leads in bulk, I've created a master scrub list that I can attach to the end of a new lead file and sort by number to show which are duplicates.

When you do the: Data, Filter, Advanced Filter, select Unique Records, it hides the duplicate but what I need is not only for the duplicate to be hidden or gone but the row that it is a duplicate of, i.e. I need BOTH rows to go

Name-----number
Dave 555-1212
Dave 555-1212
John 536-2343
Smith 423-2312

needs to become

Name-----number
John 536-2343
Smith 423-2312

I would need a formula that figured out that Dave with number 555-1212 was a duplicate and delete BOTH rows,

View 10 Replies View Related

Deleting Duplicate Data

Oct 29, 2007

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.

RefSurnameNameMonthTimesheet Rate PHValue
24963DoeJohnJun-0712-Jun-0719.5975.15
30693DoeJohnJun-0720-Jun-0719.5975.15
30693DoeJohnJun-0725-Jun-0719.5975.15
30693DoeJohnJun-076-Jul-0719.5975.15
30693DoeJohnJul-079-Jul-0719.5975.15
30693DoeJohnJul-0713-Jul-0719.5-975.15
41270DoeJohnJul-0713-Jul-0720.761120.95
30693DoeJohnJul-0726-Jul-0719.5-975.15
41270DoeJohnJul-0726-Jul-0720.761120.95
30693DoeJohnJul-076-Aug-0719.5-975.15
41270DoeJohnJul-076-Aug-0720.761120.95
30693DoeJohnAug-076-Aug-0719.5-975.15
41270DoeJohnAug-076-Aug-0720.761120.95
41270DoeJohnAug-0710-Aug-0720.761120.95

View 9 Replies View Related

Finding Data From A List And Deleting

Jun 6, 2007

I have a large keyword phrase list.

In a sheet called "AllKWs".

What I would like to be able to do is find all Country and town names in that list and delete the names only in the phrase, not the whole row.

Several points though.

Can the macro (As I will assign a text button to it).
Only find and delete these words if they are either at the start or end of a phrase?

4 example phrases; ....

View 9 Replies View Related

Deleting Duplicate Sections Of Data

Sep 15, 2012

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.

View 9 Replies View Related

Finding Duplicate Data

Feb 29, 2008

I have a set of data which are deal numbers

So week 1 i could have

Deal

ASD
ADF
AGF

Then next week i would get another list of deals

ASD
AHJ
ADF
AGF
AIG

Is there a formula i can use which well tell me if a new deal has been entered in the following week.

So in the above AHJ and AIG would be new deals

(i would simply copy the deals and put them in Column A and B and the formula to go in column c)

View 9 Replies View Related

Finding And Managing Duplicate Data?

Jun 18, 2014

I have two spreadsheets of "leads"

One lead is a do not call list that has 4 separate columns of phone numbers,

The second list is a batch I purchased.

I need to make sure that the second batch does not contain the info from the first spread sheet.

I guess I could modify the 1st spreadsheet to just be one column of numbers, then I would be comparing one column to one column.

View 5 Replies View Related

Finding If The Copied Data Is A Duplicate?

Feb 4, 2014

I use this code below to copy information from various sheets on to one sheet,

PHP Code: 

Private Sub CommandButton1_Click()
Application.ScreenUpdating = False
Dim copySheet As Worksheet
Dim pasteSheet As Worksheet
Dim xrow As Integer, xcol As Integer

[code]....

i use a command button to run the macro, but i would like something added that if someone else pressed the button and ran it again that it would check to see if it had duplicated the previous line and if it did it would delete it leaving just the one record for that week.

View 7 Replies View Related

Finding Duplicate Data And Merging Cells

Nov 5, 2007

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)

View 14 Replies View Related

Combining Unique Data Into One Row With Columns While Merging / Deleting Duplicate Information

Jun 13, 2014

I have data in excel that has some information the same with a unique field. See below:

Last Name
First Name
ID
Date
Address
Apt #
Acct #
Code 1

[code]...

I want it to consolidate all of the like information but add on the codes in separate columns like this:

Last Name
First Name
ID
Date
Address
Apt #
Acct #
Code 1
Code 2
Code 3
Code 4

[code]...

Also, sometimes the same code is used multiple times but i want any duplicate codes to show as separate codes.

View 5 Replies View Related

Finding A Value In A Cell And Deleting A Row

Feb 10, 2009

I'm looking to do a search and delete in Excel 2007 and I'm having a great deal of difficulty trying to do this. I've attempted to modify some code I found on the internet and not having very good luck with it. Here is the scenario, I've got a spreadsheet with 5 columns (A to E). In column C, there is a product name with certain identifiers that set it apart. An example of this product name with identifier is "product XXX_type 2_attribute ". I want to search for "type 2" in Column C of each row and then delete the row.

Here is what I have written so far and I'm not having any luck.

Sub RowDel()
Dim cell As Range
For Each cell In Range(Range("c4"), _
Range("c65536").End(xlUp))
If cell = "_GPnl_" Then
Range(cell, _
Cells(Rows.Count, 1)).EntireRow.Delete
Exit For
End If
Next cell
End Sub

View 9 Replies View Related

Deleting Row Having Duplicate Unique Id?

Apr 29, 2013

VB:
Sub aa()
Dim roow As Long
Dim i As Long [code]...

View 3 Replies View Related

Deleting Duplicate Records (both)

Oct 7, 2008

I have 2 columns A and B.

There are 1000 records in column A and 500 records in column B.

I would like to compare both columns for duplicate entries and deleting all instances of those record in both columns, leaving behind records that were not duplicated to begin with in their respective columns.

View 5 Replies View Related

Deleting Duplicate Rows

Oct 14, 2009

In my Excel 2003 worksheet I need a macro to search column B for duplicate entries. The data in column B is both numeric and string. If there are any duplicate entries, then I need the duplicate rows to be deleted.

View 4 Replies View Related

Deleting Duplicate Emails

Nov 24, 2009

I have a list of emails and want to check a new list (a new column) if there is a duplicate email (comparing with the original column). I know some common filter methods, but my problem is that they work on "identical cells"; however, my cells are different

A1: Title, email1@email.com
A2: Title

View 9 Replies View Related

Deleting Duplicate Values In A Row

Aug 22, 2006

My excel looks like this. The rows have duplicate names which I want to delete:
TimeNamesNamesNamesNamesNamesNames
5 hoursBobTimTonyBobTom
7 HoursLisaPamPamHeatherKimKim
6 HoursLisaTimBobTimTim

I want the excel to look like this:
TimeNamesNamesNamesNames
5 hoursBobTimTonyTom
7 HoursLisaPamHeatherKim
6 HoursLisaTimBob

View 6 Replies View Related

Finding And Deleting Specific Rows

Jul 31, 2013

I was wondering if there is a formula or command to find and delet specific rows. I want to remove people from an excel email list.

On Sheet 1, I have 500 rows with columns for first name, last name, and email.
On Sheet 2, I have 30 rows with columns for first name, last name, and email that appear on Sheet 1 but need to be removed.

Is there a way to do this without manually searching for each email and then deleting the row?

View 4 Replies View Related

Finding And Deleting Row With Match In Macro

Jan 13, 2007

I want to delete a row in a spreadsheet by finding the row that contains a particular value. I use MATCH on spreadsheet #1 to identify the row number on spreadsheet #2 to delete. I need the macro to select the row number on spreadsheet #2 and delete it.

I don't know the syntax for the commands in VBA to write this and I'm coming to this forum for help because I'm too lazy to learn VBA. I've recorded macros to add rows, populate cells, hide sheets, etc. The following code is extracted from a macro I recorded to try to get started, and was hoping to be able to substitue a reference to sheet1 within the parentheses at

Rows("4:4").Select

but I can't make this work. The following is the code I was trying to adapt.

Sheets("Sheet2").Select
Rows("4:4").Select
Selection.Delete Shift:=xlUp
End Sub

View 4 Replies View Related

Deleting All Duplicate Items In A List

Jul 24, 2007

I am a tax auditor, and I am working with excel and I have two lists. One is a complete list of items, both taxable and non-taxable, the other is a list of just non-taxable. I highlighted the non-taxable sales and copied and pasted them under the main list, and I want to delete all the non-taxable items. Basically, the only duplicates in my list are non-taxable, and I need to delete ALL of them.

View 9 Replies View Related

Macro For Finding Specific Word And Deleting It

Apr 2, 2014

I have a excel file with more then 10 sheets..Some of the sheets contains this word in some random cells" #DIV/0! " I want a macro which can find it in every sheet except parent sheet and can remove it.

View 5 Replies View Related

Finding The First Nonzero In A Row And Then Deleting All Prior Cells

Oct 14, 2009

I'm trying to create a macro that will look in each row and find the first nonzero that it contains, and then proceed to delete all prior cells before it and shift the existing cells in that row to the left. Now I know that the formula to find a non-zero in a row is:

=(MATCH(TRUE,INDEX(B9:BE9>0,0),0)-1)

and I figured that to select all cells before it you would simply use:

Range(Selection, Selection.End(xlToLeft)).Select
Selection.Delete Shift:=xlToLeft

My problemms are:
I can't figure out how to translate that formula into a piece of the macro and also instead of having it simply calculate how many zeros there are until the first nonzero to get it to select that first nonzero

How to make the selection conditional upon the row. At first I thought maybe I could just have it paste the formula into the first cell of the row but I realized that it wasn't possible to do as the formula already has the row selected

How to have it select all the prior cells to the first nonzero, delete them and shift existing cells to the left without deleting the first nonzero.

View 9 Replies View Related

Establishing Duplicate Entries - Highlighting Them Then Deleting

Apr 17, 2014

I have a spreadsheet with thousands rows of items on. I am trying to identify duplicate entries based on two or three cells within each row. If those two or three cells are duplicated for that particular ID then the duplicate entry (row) should be highlighted for deletion.

Better still it would be great if there was a macro or formula which would delete that duplicate row.

So for example on the spreadsheet I have attached, I would like rows 6 and 9 deleted or highlighted as the criteria for deletion is a duplication of the entry in the 'YEAR' column AND the 'VALUE' column for the REFERENCEs AB-1234 and AB-9876 which are the unique identifiers for each individual case.

This would leave the end result as per the table below on the attached spreadsheet.

View 4 Replies View Related

Excel 2003 :: Deleting Duplicate Records

Jan 28, 2014

Any way of Deleting duplicate records, using Excel 2003.

The raw data is in the form of a text string. For example:

Vehicle 123456_F_AB 280
Vehicle 123456_R_AB 147

So when I do a count of these cells, I obtain a count of 2. '=Count(A1)'. How can I easily exclude 1 of the duplicates (123456). It needs to be a user friendly solution as other people may have to run this when I'm on leave?

View 2 Replies View Related

Deleting Duplicate Rows When ALL Columns Are Identical

Aug 8, 2007

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.

View 9 Replies View Related

Deleting Duplicate Rows :: Compare 2 Cells Per Row

Sep 22, 2008

I have a spreadsheet that I need to delete duplicate rows in. However, in order to determine if a row is a duplicate I need to check 2 cells per row. In the attached file you will see that each row has 4 cells. I need to compare the cells in columns B and C with the B and C cells of the Row beneath. If the B and C cells match then it is considered a duplicate and one of the rows needs to be deleted. Also, there may be multiple duplicate rows.

For an example see rows 17, 18 and 19. I only need 1 row to remain.

I am looking for a vb script that would analyze a file with thousands of rows and delete the duplicates.

View 12 Replies View Related

Deleting Duplicate Rows And Summing Values?

Aug 6, 2012

I have a sheet whereby in column A i have company names and column B how much is invested in this company so:

A B
AAPL 10
GOOG 5
MSFT 15
APPL 5
IBM 20
GOOG 10

What i would like to do via macro is take all the duplicates sum them so that i see AAPL as 15 but only be left with one row. So we would be left with only 4 rows each with their summed weight.

View 9 Replies View Related

Deleting Duplicate Cells (not Entire Rows)

Dec 17, 2007

I have a long list (over 1000 lines) of numbers, some of which are duplicated. Up to now I have been sorting them, adding in a simple check column to see if the number is a duplicate of the one below, and then manually deleting this cell.

Is there a better way to do this using VBA? The only way I have managed to find is by deleting the entire row, but I cannot do this as I have additional data to the right that I need to keep.

I also cannot install any add-ons as this on a work computer.

View 9 Replies View Related

Deleting Duplicate Rows :: Without Including Recent

Jan 16, 2008

I have many rows that contain some common data but I need to be able to select the row with the most recent data and delete the others. For example, a car part is assigned a unique number which never changes, it may be ordered several times and in different quantities, for each car part I want to select the most recent order and delete any others. Is there a simple way of doing this?

View 9 Replies View Related

Identifying And Deleting Duplicate Records In Different Sheets

Feb 13, 2009

I have to load the data in Sheet 3 but before I do that I have to make sure that any organisation name that already exist in either Sheet 1 or Sheet 2 should be removed from Sheet 3.

Sheet 1 has 226 Organisation Names
Sheet 2 has 62 Organisation Names
Sheet 3 has 664 Organisation Names

I do not know how to write a Macro, nor d o I know how to write code.
Can someone help with a formular or code? or is there another simple way to do it?

View 9 Replies View Related

Deleting Rows With Duplicate Values In A Column

Jun 26, 2009

In Column "C" there is a list of numbers ( these number realte to incidentsm and are called incident IDs) and I want to delete the rows that have duplicate incident IDs.

the row of numbers looks like this ....

View 9 Replies View Related







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