Finding Duplicates Between 2 Rows ...
Jun 25, 2008
Just wondering if anyone has a macro, or formula that would allow me to find out (and possibly highlight), when any value in column A is equal to any value in column B. Im dealing with about 2000 rows so its almost impossible to complete manually.
Sorry the heading is supposed to read need help finding duplicates between 2 COLUMNS
View 14 Replies
ADVERTISEMENT
Jul 22, 2009
I have data that has about 10 duplicate values (UTC Time) in one column and another column with number values (depth ft) that vary. I need to obtain the maximum (highest) value in the depth column and remove the other duplicates to filter out the low values. So for the data example below for UTC 15:56:28 I only want the 5.7 row, for 15:56:29 I want5.3 row and so on. I can attach the sheet. - this is a huuge dataset so manual filtering wont work. Data is from a sonar that gives 10 depth readings per second - I only need one depth tat is the highest value.
IDUTCDepth (FT)
115:56:284.3
215:56:284.4
315:56:285
415:56:285.4
515:56:285.7
615:56:285.5
715:56:285.6..........
View 3 Replies
View Related
Oct 3, 2009
I have a workbook that I want to find if I have any duplicate numbers in a specific area.
The area of cells that I am checking is C3 through AO70
I am checking for numbers between 95 and 800. These are all ID# of individuals and not all the numbers between 95 and 800 are used. IE: 97 through 100 are not used ect.
I have already written a macro that does something else and I can use it to check each number as it comes up. However, once the number comes up I don't know how to use it to check the area.
If I can check all the area at one time to find duplicates it would be easier.
I do not know how to do either way but I can adapt my macro to whatever way is possible.
View 9 Replies
View Related
Feb 7, 2014
I have a workbook of appointments, I need a formula to list duplicate appointments and display them using 2 criteria (date and time).
See attached workbook : duplicate entries.xlsx
View 7 Replies
View Related
Oct 10, 2008
way to wrap or format anything in this post. I dont think the text I put here is code, but I want to be sure, after receiving a moderators infraction for failing to properly wrap code in a previous post.
Now:
I have a wks in which the first column is a list account #'s and the folowing columns are specifics of transactions or interactions.
Lets say it is a movie rental customer list that lists each rental, and column "A" is the customer number, column "B" declares if it was returned late.
I need to compile a list of "all" rentals by customers who have "EVER" had a "late return" or a "YES" in column "B".
I need to find all account records/rows of accounts that at any time had a "YES" in column "B" even if the some or many of that customers rentals/entries have "NO" in column "B"
so say: ...
View 14 Replies
View Related
Aug 23, 2012
I'm trying to condense my email lists in order to stop people receiving the same email having signed up to several lists. How do I compare 5 different columns to find email addresses which appear in more than one...
View 1 Replies
View Related
Oct 22, 2009
I have to scrub files of 20,000 phones numbers against a file of several million phone numbers on the national do not call list.
On sheet one I have all 20,0000 phone number and then on sheet two in 5 columns I have roughly 2 million phone numbers. I need to know if any of the 20,000 phone numbers are in the 2 million on sheet two.
Right now I am simply using a vlookup formula but it is taking a very long time to update all of the fields.
View 9 Replies
View Related
Jan 28, 2010
I have a spreadsheet with 7000 lines exported from a database. I'm looking for lines that exist with an @@2 that don't have a corresponding @@1. Let me explain.
SV10000000@@1
SV10000000@@2
SV10101000@@2
I want to keep the first two lines because there is an @@1 associated with an @@2. I'm looking to single out and delete lines that have @@2 that don't have a corresponding @@1 associated with it.
View 9 Replies
View Related
Sep 16, 2008
This should be an easy one, it has slipped my mind.
I have columns A and B, I want to find any names that appear in both column A and column B. I want them to show in a certain color.
View 11 Replies
View Related
Apr 1, 2009
Hello everyone....
I have a project where I need items for different boxes.
i have 20 boxes that need the same amount of items. However, when I came towards the end, i ran out of items.
For example
BOX A IS MISSING
ITEM 1 AND 2
BOX B IS MISSING
ITEM 2 AND 5
BOX C IS MISSING
ITEM 1 AND 5
I have all in a spreadsheet all the items that are missing per box. Here comes the main question....
How do I program my spreadsheet find the items that are missing in each box and summarize in another sheet?
The summary I am looking for is....
ITEM 1 - 5 (MISSING)
ITEM 2 - 9 (MISSING)
and so on...
I started doing the code, but I haven't got too far.
View 4 Replies
View Related
Jul 19, 2012
I have two lists of numbers.
The first list contains site numbers of people who havent responded to me.
The second list is the master list of site numbers along with a column showing the date they responded.
Now, a site number is built like this:
123456/0001
123456/0002
So it is possible for the same 6 digits to appear more than once in the master list.
What I need to do is to compare the first 6 digits in the non responder list against the master list, because some sites, like the example above, may have more than one '0001' tag and so if they have responded to me from site '0002' I dont want to spam their other sites with emails.
I've tried using match and various formulas I've found from google etc, but nothing seems to work!
The goal of this is to get a list of non respondents that have not responded from any of their sites listed in the master list.
Non Responses
Master List
Date of Response
203289/0001
201162/0003
06/06/12
[code]...
View 3 Replies
View Related
Apr 8, 2013
I have a database with ~18000 rows and 29 columns. I would like to filter the data by duplicates in one column, based on total, but keep the remaining data in the row. For example: I have account numbers listed in one column, often duplicates. I can get the total in a pivot table no problem, but need the other data associated with that account. I do not need to see all accounts, only duplicates for accounts listed say greater than 5 times. The data in columns B+ are important.
I have a HUGE vlookup I created to paste in the pivot table data (account numbers and totals) to run a look-up based on those numbers, but I see that running into problems when you run 4k+ look-ups.
I want to see accounts listed only 5+ times, include that total (as in a pivot table) and the remaining 28 columns. I have tried to run this in a pivot table completely, but still too much data to process (plus all the subtotals that I have to keep removing).
View 1 Replies
View Related
Jan 13, 2014
I have over 400 thousand rows in my data-set and I'm trying to find duplicates using a countif or similar formula. Let's say I have the following:
Blue
Yellow
Green
Blue
Blue
Yellow
Pink
I need the formula to increment the count. So for example, the first time Blue appears, it equals 1, the second it appears, it equals 2, third time is 3 and so on.
And, I need it to actually work with 400 thousand rows. I have tried using the following formulas without success as Excel keeps crashing:
=IF((COUNTIF(T:T,$T2)>1),COUNTIF(T:T,$T2),"")=IF(COUNTIF(T:T,T2)>1,2,1)
That second one equals "2" if there's more than 1, which will work for me as well. Better would be if it increments though.
The purpose of having a count is so that I can pivot the data, then filter out all the "1"s and report on it. Therefore I can't use conditional formatting, or simply using Excels Remove Duplicates feature. I need the same data-set for other pivots and charts.
View 8 Replies
View Related
Jul 9, 2013
I have a list of text values in column X. I need to come up with a formula in column Y.
X
Y (RESULTS OF REQUIRED FORMULA)
Comment
1
HAT
1
First HAT in column
2
[Code]....
I can't play about with the natural order of the spreadsheet, so there's no chance I can re-sort the data into column X and (easily) identify the duplicates that way. So, it could be that the duplicated value(s) will appear in any cell within that column.
I need to identify whether the item is a duplicate in the unsorted list. Ideally, the first entry of a set of duplicates will be given 1, then the subsequent duplicates themselves given a 0 (zero). It's to subsequently do some counts on.
I guess that as long as the one of the entries in the duplicates is marked with a 1, while the others are 0 (zero), that's all that's important.
View 3 Replies
View Related
Sep 4, 2008
I have a roster for a large group in excel and would like to have an easy way to highlight if there are duplicate entries in the roster as we are merging multiple smaller lists together.
View 9 Replies
View Related
Apr 16, 2007
I have many rows of data. How can I find duplicate cells in a column?
View 9 Replies
View Related
Mar 3, 2008
i have duplicate cell entries occuring. I have a column of about 8000 entries (Column B) and would like to have a cell at the top of my spreadsheet that displays where the first duplicate resides (Row No. will suffice).
At present i have a conditional format on dupllicates, but is is a big task to scroll down through all the data looking for them.
View 9 Replies
View Related
Feb 2, 2014
The below code compares the Data in a Field that must be set and collect the duplicate Values in a second Worksheet.
The thing I want it to copy the rows, when a duplicate is found in Col A. editing the code below:
Original Sheet:
"A" "B" "C" "D"
Teil1A11000
Teil1B21001
[Code]....
View 7 Replies
View Related
Apr 7, 2012
I'd like to be able to search a spreadsheet for a specific word or series of characters. Once all of the ROWS that contain the characters are found, I'd like to be able to have another spreadsheet with ONLY those rows (all columns).
View 8 Replies
View Related
Jan 29, 2014
I am using a spreadsheet as a score sheet for a competition. One of the columns is the student's GPA. After entering all the scores there are duplicate final scores. I need a way to have it look at the final score and then use the GPA so that it will not put a duplicate value in the final column.
al Column N is the Total Column, Column O has the Names that correspond to the Total Column. Currently I am taking this total and putting it into Column Q (High Scores) in high to low order. Column R should have the names that match the scores. But with duplicate scores, it is only putting the first name associated with the score. I would like to use the GPA as a final determining factor for the duplicate scores. The higher GPA would come before a lower GPA. I have tried to put an additional column to bring the GPA over to correspond with the High Scores Column, but could not get it to work.There are actually more names for the competition and the top 10 will be moved to a different sheet and further judged. I have attached a sample with the exact formulas that I am using.
View 1 Replies
View Related
Dec 15, 2008
Range from AK1:AK8 to AT1:AT8. These are eight rows, total eighty entries. Can a formula or conditional formitting determine if there are duplicates values in eighty entries . The need is not column-based rather row based.
View 10 Replies
View Related
Jun 25, 2011
I am trying to merge rows of duplicate entries, say I have the following information in a excel spreadsheet:
Column A: Name
Column B: First Line of Address
Column C: Area
Column D: County
Column E: Post Code
Column F: Tel Number
If I have the data above in my spreadsheet I want to basically search and look at columns B,C,D,E and F and then if there are any duplicates of these for that row anywhere on the sheet I want it to merge the Data for those duplicate as shown below:
A|B|C|D|E|F
Dave, Mark | Rice Rd | Liverpool | Merseyside | L45 7HT | 6381754
Tony | Hill Grove | Runcorn | Merseyside | L78 9JU | 6527897
John | Lime Ave | Runcorn | Merseyside | L34 9HF | 7248853
I have managed to find a macro that is shown below however this macro only looks at 1 column and then merges the data based on that which is not what I want
[Code].....
View 4 Replies
View Related
Dec 24, 2009
I have a list of 18k rows, and about 7.5k are known duplicates. The delete duplicates button will not delete the duplicates (except it keeps returning 41 duplicates for an unknown reason, but there definitely thousands more it is missing). I tried the remove duplicates button, advance sort, coloring cells, and some macros. The list is the combination of two lists, one older one just compiled, I was able to seamlessly delete dups in another list.
View 9 Replies
View Related
Jun 10, 2008
I have a customer database that is sorted by phone number. How do I remove duplicate rows.
View 9 Replies
View Related
Aug 28, 2009
I want to search a worksheet for rows that share the same value in two columns (columns C and E). See the attached excel file.
I have highlighted in yellow some rows that have duplicate values in row C and E.
So in this case rows 14 and 19 will be hidden but rows 13 and 17 will still be visible.
Note that this must work properly reguardless of how the data is sorted.
In other words, there can never be more than one row that has the exact same value for both column C and E.
View 6 Replies
View Related
Mar 22, 2013
I have the following problem within Excel. I have a dataset which contains duplicate values within a column(lets say A). I need to delete these duplicates in column A for a range of rows, where the range of the rows is based on column B. So for a given value in column B, lets say 5 which is 6 rows long all beneath each other, I need to delete the duplicates in column A.
A B
1 2234
4 2234
5 2234
4 2234
2 2234
3 2234
5 2234
5 2657
8 2657
9 2657
10 2657
8 2657
9 2657
2 2657
So above the red numbers need to be removed, automatically, since we have about 8000 rows in our dataset.
View 7 Replies
View Related
Feb 7, 2014
I have a spread sheet which has a range as shown below.
Batch NumberItem 1Item 2Item 3
P155635
P254
P378
P2568
P454
P389
P385
I need to get the output as shown below which is for Batch number P2 I need to include Item 1 (568) in one row and delete the other P2 row. similarly I need to do for P3. The end result will be as shown below.
Batch NumberItem 1Item 2Item 3
P155635
P256854
P3898578
P454
View 8 Replies
View Related
Jan 25, 2014
I'm trying to remove duplicates without deleting the rows they were in (instead just being left with blank spaces).
For example Column A might look like this:
Column A
1
1
1
1
2
2
2
3
I need it to look like this:
Column A
1
2
3
How I can delete these duplicates without doing it one by one?
View 1 Replies
View Related
Jul 20, 2005
I have a sheet of Data containing 3705 rows. It has plenty of duplicates. Column A is where is located the identification. I need to delete the rows that are duplicated, in order to have only one row for each identification number. I tried to create my own VBA macro to do so, but it seems it doesn't delete all the duplicated rows and it seems to even delete unique rows.
Sub Duplicates()
Dim lstRw As Long
Dim i As Long
Dim j As Long
Dim m As Long
m = 1
Dim Compteur As Long
Compteur = 0
Application. ScreenUpdating = False
Let lstRw = Sheets("UE"). Range("A65536").End(xlUp).Row
For i = 2 To lstRw
'With Worksheets("UE")
SumNumber = Range("A" & i).Value.....................
View 5 Replies
View Related
Aug 13, 2008
but this time, the numers of duplicates is variable:
before:
---A
1-6
2-6
3-6
4-1
5-1
6-9
7-9
8-9
9-9
ETC.
and after I want to:
---A
1--6
2--6........
View 2 Replies
View Related