Compare Two Email Lists And Output Non-matching

Nov 20, 2008

I am a newbie and need your expert help please.

I have two email lists. For example they are:

List 1:

a@spam.com
b@spam.com
c@spam.com

List 2:

abcdef@spam.com
b@spam.com
c@spam.com

In list 1 the non-matching address is a@spam.com. namely it is not common to both lists. I want to automatically go through the lists and output firstly a new list of the non-matches from column 1 and also a new list of the non-common items from list two.

So in this case the result would be that somewhere there is a new list from list 1 that has "a@spam.com" and secondly there is a new list from list 2 that has "abcdef@spam.com."

Obvioulsy the real list is more complicated and longer but the principle will be the same.

View 10 Replies


ADVERTISEMENT

Compare Two Lists And Output Unmatched Items

Apr 17, 2013

I have two lists that I have compare to compare.

Expected result: Mark items matched in next to them, output unmatched items in column "J"

I started the code below. It properly marks the correct items, but I have trouble outputting them in Column "J"

Sub BNKREC()
Counter = 0
For i = 3 To 9
For J = 3 To 6
If Cells(i, "B").Value = Cells(J, "F").Value And Cells(i, "C").Value = Cells(J, "G").Value Then

[Code] .....

List 1:
Date Check# Amount
03/02/2013 100 $1,000.00
03/03/2013 101 $1,045.25
03/05/2013 102 $280.56
03/06/2013 103 $456.31
03/08/2013 104 $250.55
03/15/2013 105 $2,456.12
03/25/2013 106 $844.76

List 2:
Date Check# Amount
03/02/2013 100 $1,000.00
03/05/2013 102 $280.56
03/08/2013 104 $250.55
03/25/2013 106 $844.76

Expected result:

Un-Matched List:
03/03/2013 101 $1,045.25
03/06/2013 103 $456.31
03/15/2013 105 $2,456.12

View 5 Replies View Related

Compare 2 Lists On 2 Sheets And Output Non Duplicates To A Third Sheet

Feb 19, 2009

I need a macro to compare the values in column b across 2 sheets and output the rows that do not have duplicate values in column b to a third sheet?

View 3 Replies View Related

Matching Up Two Lists Of Email Addresses

Jan 29, 2013

I'm starting up my own business and need to add my e-shot signup list to my new CRM - my list has been fully cleaned and validated!

I have two lists of email addresses - one with 37,000 records on it (List A) and the other with 7,000 or so (List B).

Most of the email addresses in List B are also contained in List A (but not all). All of the records in List B also have contact numbers. All of the records in List A have a lot more segmentation information that is very useful to me.

I would like to cross-reference the two lists, so that the contact numbers from the duplicate records in List B are transferred to the corresponding records in List A, meaning that the records in List A keep the segmentation information but also have the contact numbers. I would then like the duplicate records from List B removed entirely.

I would also like the non-duplicate records in List B to be transferred to List A as brand new records.

I understand how to use conditional formatting to highlight duplicates but I just don't have the time to go through 7,000 highlighted records manually, copying the contact number over then removing the record. I also know how to remove duplicates using excel, but I really need the contact numbers to be transferred across before I do this.

View 3 Replies View Related

Make 1 Unique Email List From 2 Other Email Lists (one List Minus Other)

Feb 26, 2013

Imagine this..

In Column A I have 500 email addresses.
In Column B I have 2000 email addresses.

Now in Column C, I want to have all the email addresses in Column B MINUS all the email addresses in Column A.

IE: So basically if Column B had 300 of the same email addresses in Column A, then Column C will have 1,700 email addresses (2,000 - 3000) = 1,7000.

View 1 Replies View Related

Compare Sheets & Output Differences

Jul 17, 2007

I need a macro that will compare two sheets, find the differences and produce a new third sheet called, results. Both sheets to compare will differ in length of values (one may have 10 numbers to compare, and the other could have 50, Ive attached sample data), and thus this calls for a primary and secondary sheet. I would only like the values which appear in the primary and not the secondary sheet to be reported in the new results sheet.

The problem is that the values never match up, but they are always within a +/- 0.5 window of each other. It would be great to compare the two sheets, to produce a list of the values which appear only in the primary sheet and not the secondary. Im trying to get this to link up to a userform, where the user select the primary sheet (A) and the secondary sheet (B), selects the tolerance, and produce the results sheet (see attached).

View 8 Replies View Related

Compare Within Time Ranges And Return Output?

Jul 18, 2013

for example i have two work books where i need to compare the times, such as i need to see where does 10:26 am lies and after comparing it on workbook2 we need to return the data in a,b,c blocks infornt of 10:26am, i have tried IF(AND()) but i was not able to rationalise it for huge and random data.

Workbook1:
7/13/2013 10:26
7/13/2013 10:58
7/13/2013 12:06
7/13/2013 12:17
7/13/2013 12:29
7/13/2013 12:29
7/13/2013 12:37
7/13/2013 13:21
7/13/2013 14:24

Workbook2:
9:58:27abcassigned
11:45:09abcreleased
11:49:00ghiassigned
15:14:40ghireleased
15:25:57mnoassigned

Outout should be:
7/13/2013 10:26 a bc
7/13/2013 10:58 a bc
7/13/2013 12:06g hi
7/13/2013 12:17g hi
7/13/2013 12:29g hi
7/13/2013 12:29g h i
7/13/2013 12:37ghi
7/13/2013 13:21ghi
7/13/2013 14:24ghi

View 2 Replies View Related

VBA To Compare Two Worksheets And Output Differences To Third Worksheet?

Apr 9, 2014

creating a macro that would compare two worksheets and their differences would be copied into a third worksheet in the same workbook? Several key criteria is needed:

1) The third worksheet would need to note only the data from the 1st and 2nd worksheets (including headers) that had differences. An additional column would do the difference calculations for the data whereby numeric values are subtracted (worksheet 2 from worksheet 1 values) and non-numeric values would note "Pass" or "Fail".

2) All data values that had differences would be formatted in yellow shading on the third worksheet.

3) The unique ids from column A in worksheet 1 would have to have be noted in column A of the third worksheet; even if they didn't have a difference from worksheet 2.

4) The third worksheet would need to note all of the columns noted in worksheet 1 and include the difference column for each unique column.

5) Flexibility in code to allow for addition of new columns to analysis.

see attached sample spreadsheet whereby Worksheet 1 = "dv file", Worksheet 2 = "price file" and Worksheet 3 = "Error" for purposes of this discussion.

View 9 Replies View Related

Formula To Compare Cells And Give Output As Txt

Jan 21, 2010

I know that I an probably asking for too much but I must get the formula some way. OK, I need a formula for this:

lets say I have 3 columns (A,B,C (search criteria). In each Column there is a DIFFERENT number. There is 3 more columns (D,E,F (used to compare).Each column has 3 Different numbers. If 3 numbers match between the two sets of 3 numbers I want Column G to display "CCC". IF 2 numbers match I want G to display "CCH". If 1 number is a match I want G to display "HHC". If none of the numbers match I want G to display "HHH".

I can manually do these but it will take waaaay toooooooooo much time to do. If you can do this for me it would be a great help indeed because I'm trying to do other states. With this formula I can use Automate to do a large quantity of numbers.

View 14 Replies View Related

Compare Cells Against Threshhold & Output Remainder

Jan 7, 2008

I am looking for VBA code to solve a current problem. I have a list of numerical (row) values (Column A) that I am sorting the column (by VBA code) in descending order. Column B is the Bin location. These rows are then output to another worksheet (Column 1 shows the amount and Column 2 displays the Bin location and the amount to be shipped from each Bin). After each output, the original (A & B) columns are re-sorted.

If
Column A = 27
Column B = Bin1
Then
[TABLE]27Bin1;[/TABLE]


The Output should be
Column 1 = 27
Column 2 = Bin1 27;
written as
[TABLE]27Bin1 27;[/TABLE]....................

View 3 Replies View Related

Matching Various Conditions In Two Lists

Sep 17, 2009

I have attached a spreadsheet as an example.

I have two lists, List 1 and List 2.

I am trying to figure out with a compare between ID's if the individual from List 2 exists in List 1, if so, I want to figure out if the amounts paid are a perfect match AND if the amounts paid are from identical groups.

There are members who don't exist in both Lists.

I am unsure if this is a VLOOKUP Formula.

View 7 Replies View Related

Matching Up 2 Lists Of Data

Oct 8, 2009

I have a list of data in cells A through C, and also have the same data in G through I.
A:C is 2009 data, G:I is 2008 data.

Some of my data is a line off, what i want to do is match numbers based on A and G and then match up there data.

View 9 Replies View Related

Comparing Two Lists Of Email Addresses

Jun 28, 2012

I have two columns of email addresses. Column A is the roster of users' emails that we have been keeping; Column B is the list of email addresses pulled from the system.

I need to run a match to find out who from our list (Column A) does not have a registered email address in the system (Column B).

View 3 Replies View Related

Compare Two Lists

Jun 9, 2009

I have two separate lists, one in Column A and the other in Column B. Both lists are roughly 2,000 rows long. For the most part, the two lists are identical, but not quite.

I'm trying to determine what data is present in Column A that is absent from Column B, and vice versa. That's easy enough to do with COUNTIF (at least that's what I've tried), but to complicate matters, duplicate entries appear in both column A and column B.

For example, in column A, the word "Electric" appears 13 times...but in column B, it only appears 8. I need to know these differences in a quick and easily readable way (remember, the spreadsheet is roughly 2,000 rows).

View 5 Replies View Related

Matching Two Pairs Of Cells Between Two Lists

Sep 13, 2013

I have a long master list of registered members, column C has last name, column D has join date.

Now I have a short list of last names with join dates.

I want to compare the short list with the master list to find names that are already there, by comparing the last name and join date.

View 8 Replies View Related

How To Find Matching Records That Appear On Two Lists

Oct 14, 2011

I have two worksheets each of which includes a left column of unique email addresses (at least, unique within each lsheet)

The data on each sheet is structured identically. What I want is to generate a list of records that appear on both sheets.

View 2 Replies View Related

Formula To Compare 2 Columns And Manipulate The Resulting Data And Output

Mar 31, 2007

I have column A and column B:

I will be inputting data into column B.

I need excel to check to see if the data I input into column B is an exact match to the data in column A.

If it is an exact match, then column B will remain blank.

If the data in column B is different, I need column B to show the following:

No match: <data>

Example I input in column B the following:

Column A Column B
1. Car Car
2. 4357 9999
3. fsd34d 4erd
4. 98dkf 98dkf

Spreadsheet should show:
Column A Column B
1. Car
2. 4357 No match: 9999
3. fsd34d No match: 4erd
4. 98dkf

(Cell 1 and 4 in column B are empty because they are exact matches to Column A cell 1 and 4)

My questions:
1) How does the excel formula need to be written for this to work?

2) Is there a way to set it so that when I do a mass copy to data into column B that the formula will not be overwritten and it will still check to see if the data I copy and pasted into that column matches the data next to it in column A?

View 14 Replies View Related

Detect Matching Values In Very Large Lists

Dec 9, 2009

I'm trying match values (and set a Yes / No result) from values in two very large lists.

List 1 (approx 170,000 rows) contains the 'Find What' values
List 2 (approx 980,000 rows) contains the 'In What' values

Values in list 1 will be unique in list 2, but not all values in list 1 will appear in list 2. The values in each list are all 16 character stings. This is a one-off otherwise I'd probably import into a AccessDB.

Using formulas is taking an absolute age to calculate using MATCH function, so I'm wondering if coding is the better angle.

View 3 Replies View Related

Compare 2 Lists - 6 Columns

Mar 20, 2012

I need to compare 2 lists (each list has 3 columns [first name, last name and email address).

I am trying to compare columns A(incl. First name), B(incl. Last name) and C(incl. email address) to columns D, E and F.

D, E, and F are also First name, Last name and e-mail address respectively.

I need to compare A, B, and C to D, E, and F and find duplicates and highlight them.

View 1 Replies View Related

Compare Innventory Lists

Jan 9, 2009

Every Monday, our database sends me a list in excel, with a snapshot of our inventory.

Here is (simplified) how it looks like

part#, desc, color, units
001 Camry Black 13
003 Toyota Green 2
009 Honda Yellow 17

and so on for about 8k rows.

Every Monday, the list is different. we sold some items, so the "units" in stock are less, we run out of some items, so that part# is not in the list,
we acquired some new items, with a different part#, and new amount of units, some part#s have more units in stock.

I need to send to our boss, a spreadsheet with a list of all part#s in stock every Monday, and the last 4 weeks, how many we sold of each in the last 7 days, so we can try to get rid of inventory that is getting obsolete.

It would be easy to do, if not for the fact of the "new" items that come in, and the items that we run out of, and are not in the list anymore. With 8k items, to to the corrections by hand, it gets old very quickly

View 10 Replies View Related

Compare Lists Of Data

Jun 5, 2007

I need to search a column of numbers in Excel (A) and compare it to another column (B). I need to find all of the numbers that apprear in column A but not in column B. Can this be done?

View 4 Replies View Related

Compare Values Between 2 Lists

Nov 26, 2007

how to compare the value in one cell on sheet "Block #1" to a list of values on sheet "Data". Specifically I want to be able to look at the value in a cell (which will be a date) and then compare it to a list of company holidays on another sheet in the workbook and if the date is a company holiday it will display the word "Holiday" in another cell I specify on "Block #1" I am doing this to automate generation of a calendar which will have 13 worksheets one for each of 13 4-week blocks. I can get the calendars generated, but can't seem to be able to get it to compare the values of each date to the list of holidays.

View 3 Replies View Related

Excel 2003 :: Compare Characters Between Two Columns And Output Results In Same Worksheet?

Feb 6, 2013

I have a worksheet with five columns (A, B, C, D and E)

The cells in Column B contain letters and/or numbers (without spaces) in no particular order.
The cells in Column C contain letters and/or numbers (without spaces) in no particular order.

I want to compare all characters in 1st Cell of Column B with all characters in 1st Cell of Column C, and display the matching characters in 1st Cell of Column D, and the character count of 1st Cell in Column D must be displayed in 1st Cell of Column E. note that multiple instances of the same character must not be treated as duplicates. When execution on 1st Row is finished then repeat procedure for Row 2, etc... Stop execution when first empty cell in Column B is located.

Example:

B1 = LJLM12
C1 = KY2MLK
B2 = ZCG4GM
C2 = X4GGGC
B3 = KTCBNG
C3 = GNBTBB

The script/code/formula must output the following:

D1 = LM2
E1 = 3
D2 = CG4G
E2 = 4
D3 = TBNG
E3 = 4

I am using Excel 2003. Y

View 2 Replies View Related

Compare 2 Lists & Return Details

Nov 22, 2006

I have a list of two rows of over 20,000 items. I would like to know what data has been added to the second row from the first row and what has been removed.

View 4 Replies View Related

Compare Lists Flag Differences

Jan 9, 2007

I am currently trying to work out what the best way would be to search between two sheets and find out where the differences are. IO have sheet 1 and 2 which both have account numbers and details on. I searching off the first column on both sheets and trying to identify which records exist on sheet 1 but not on sheet 2. The code I have so far is

Sub check()
data_sheet = "Sheet1"
target_sheet = "sheet2"
rowcn = 2
Do
If Sheets(data_sheet). Cells(rowcn, 1) <> Sheets(target_sheet).Cells(rowcn, 1) Then
Rows(rowcn).Select
Selection.Font.ColorIndex = 3
End If
rowcn = rowcn + 1
Loop While Sheets(data_sheet).Cells(rowcn, 1) > 0
End Sub

This currently works 50%. Only problem is that this code is not independant to each list, it simply looks at the same cell reference on both sheets and check whether the value is there. It doesnt actually go down the whole list and checks whether it is there.

View 5 Replies View Related

Compare Lists & Highlight Duplicates

Jul 3, 2007

I receive a daily spreadsheet which contains (amongst other information) a column of postcodes. I'd like to run a macro which compares these postcodes with a list of other postcodes, and then to colour highlight each instance of that post code in the daily spreadhseet.

I have been able to find and modify a macro but that searches for one post code at a time and then adds a comments box to the cell.

Instead of copying that piece of code and editing it for the several hundred post codes I need to "look up" against, I'd like to know how to create a list of post codes in the macro, so that the macro searches the first post code in the lookup list, finds and highlights each cell instance, then moves onto the next post code in the lookup list, until the end of the lookup list. I would like this as the editing of the lookup list would be much easier than editing paragraphs of code.

View 9 Replies View Related

Compare 2 Lists & Return Non Dupilcates

Nov 25, 2007

i have a list in column "a" in sheet 1 and a list in sheet 2 column "b" range from row 1 to 50

i would kike to get the data from sheet1 that is not in sheet 2 and copy it in to sheet 3

View 6 Replies View Related

Excel 2010 :: Compare 2 Columns In Different Sheets - Unique Values Output To 3rd Sheet

Feb 4, 2013

I'm trying to compile a VBA that would allow me to compare 2 columns "A" in different worksheets (same Workbook) and output any unique values to 3rd worksheet together with the rest of the values in the corresponding row.

Sheet1
A
B
C

[Code]....

Excel 2010

View 9 Replies View Related

Compare Two Similar Lists To Determine What Is Missing?

Jan 29, 2014

is there a formula I could use to compare two similar lists to determine what is missing, for example an old list of 200 lines and another of 275 lines, with a first column containing unique ID code.

View 1 Replies View Related

How To Compare And Combine Data From New And Old Product Lists

Mar 19, 2014

I have two spreadsheets full of products one of new products and the other of old products. I want to filter out the old ones that are discontinued but keep the ones that are still there. The old list has data I want to preserve for the new listings that would be duplicates from the old ones. I want to delete the new listings that already exist in the old list. I'm not sure exactly how to do it. I tried to delete dups based on product id or name but I'm afraid it's deleting entries I want to keep. Both lists contain over 5000 products each. I need to compare two lists and filter out the old products then work on removing the dupes.

View 3 Replies View Related







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