# Column data comparison - what has been deleted and what has been added

A

#### AA Arens

Hello,

There has been quite some similar questions, but slightly different with that what i am looking for.

I have four columns A - D

A and B consists of name and email address - previous situation
C and D consists of name and email address - at a new stage

I am looking for a formula that displays in column E and F the name/email that has been deleted in new stage list.

And I am looking for a formula that displays in column G and H the name/email that has been added to the new stage list.

Name can occur more often, but the email address is unique.

Thank you for you help.

Bart

(Excel 2013)

C

#### Claus Busch

Hi Bart,

Am Fri, 8 Nov 2013 20:57:15 -0800 (PST) schrieb AA Arens:
A and B consists of name and email address - previous situation
C and D consists of name and email address - at a new stage

in E1 try:
if G1 try:
=IF(AND(A1<>"",COUNTIF(\$C\$1:\$C\$1000,A1)=0),A1&" deleted","")

for the names. Modify the formulas for the email addresses

Regards
Claus B.

A

#### AA Arens

Hello,

There has been quite some similar questions, but slightly different with that what i am looking for.

I have four columns A - D

A and B consists of name and email address - previous situation

C and D consists of name and email address - at a new stage

I am looking for a formula that displays in column E and F the name/email that has been deleted in new stage list.

And I am looking for a formula that displays in column G and H the name/email that has been added to the new stage list.

Name can occur more often, but the email address is unique.

Thank you for you help.

Bart

(Excel 2013)

Thanks Claus.

Your formulah gives a good impression if people has changed their email address.

What I was looking for if the combination name + email address, which represent only one person, has been deleted or added comparing the previous situation (A+B).

FYI, I am doing this to compare two exported Linkedin CSV files, in order to which connections were added, and, more important, who has disconnected.

C

#### Claus Busch

Hi Bart,

Am Sat, 9 Nov 2013 02:04:41 -0800 (PST) schrieb AA Arens:
What I was looking for if the combination name + email address, which represent only one person, has been deleted or added comparing the previous situation (A+B).

then try:
=IF(ISERROR(MATCH(A1&B1,\$C\$1:\$C\$1000&\$D\$1:\$D\$1000,0)),A1&" deleted","")
Both formulas have to be array-entered with CTRL+Shift+Enter

Regards
Claus B.

A

#### AA Arens

Hello,

There has been quite some similar questions, but slightly different with that what i am looking for.

I have four columns A - D

A and B consists of name and email address - previous situation

C and D consists of name and email address - at a new stage

I am looking for a formula that displays in column E and F the name/email that has been deleted in new stage list.

And I am looking for a formula that displays in column G and H the name/email that has been added to the new stage list.

Name can occur more often, but the email address is unique.

Thank you for you help.

Bart

(Excel 2013)

The formula does not give any value in all fields. I have added the array properly - the formula will be surrounded by { and }.

C

#### Claus Busch

Hi Bart,

Am Sat, 9 Nov 2013 03:12:31 -0800 (PST) schrieb AA Arens:
The formula does not give any value in all fields. I have added the array properly - the formula will be surrounded by { and }.

can you post a sample file?
All answers from me are tested and work.

Regards
Claus B.

A

#### AA Arens

Hello,

There has been quite some similar questions, but slightly different with that what i am looking for.

I have four columns A - D

A and B consists of name and email address - previous situation

C and D consists of name and email address - at a new stage

I am looking for a formula that displays in column E and F the name/email that has been deleted in new stage list.

And I am looking for a formula that displays in column G and H the name/email that has been added to the new stage list.

Name can occur more often, but the email address is unique.

Thank you for you help.

Bart

(Excel 2013)

Hi Claus,

I listed it here as sample:

(n=name / e=email)

old situation new situation

A B C D

n1 e1 n5 e5
n5 e5 n1 e1
n3 e3 n4 e4
n7 e7
n1 e1

n4 e4
n7 e7

deleted:

n3 e3

Bart

A

#### AA Arens

Hello,

There has been quite some similar questions, but slightly different with that what i am looking for.

I have four columns A - D

A and B consists of name and email address - previous situation

C and D consists of name and email address - at a new stage

I am looking for a formula that displays in column E and F the name/email that has been deleted in new stage list.

And I am looking for a formula that displays in column G and H the name/email that has been added to the new stage list.

Name can occur more often, but the email address is unique.

Thank you for you help.

Bart

(Excel 2013)

It does not work but I know the cause
If I make an array, the last section of the formula remains the same:

I have no idea how you performed this.