Difference between Cells

J

Jim

I would like to calculate the difference between two cells. For example:

A B C
Amy J Hespen Amy Hespen Amy Hespen
Andrew Fries Andrew Fries

In C I would like for the B name to appear if it is different from A. If
the name in B is the same as in A, then I would like for the C cell to remain
blank.

Any help and thanks
 
H

hideki

Is this what you want?

Let say you have data in A1 and B1. In C1 write this formula
=IF(A1=B1,"",B1)

This formula means, if you have A1=B1 then write blank. If A1 not B
then write B1 to the C1
 
Top