More information regarding comparison of data in two columns is available at http://support.microsoft.com/kb/213367, however method 1 in this solution is an interesting approach to this issue.

Method 1: Use a worksheet formula

To use a worksheet formula to compare the data in two columns, follow these steps:

- 1. Start Excel
- In a new worksheet, enter the following data (leave column B empty):

A1: 1Â Â B1:Â Â Â Â C1: 3

A2: 2Â Â B2:Â Â Â Â C2: 5

A3: 3Â Â B3:Â Â Â Â C3: 8

A4: 4Â Â B4:Â Â Â Â C4: 2

A5: 5Â Â B5:Â Â Â Â C5: 0 - Type the following formula in cell B1:

=IF(ISERROR(MATCH(A1,$C$1:$C$5,0)),””,A1) - Select cells B1:B5.
- In Microsoft Office Excel 2003 and in earlier versions of Excel, point to Fill on the Edit menu, and then click Down.

In Microsoft Office Excel 2007, click Fill in the Editing group, and then click Down.

The duplicate numbers are displayed in column B, as in the following example:

A1: 1Â Â B1:Â Â Â Â C1: 3

A2: 2Â Â B2: 2Â Â C2: 5

A3: 3Â Â B3: 3Â Â C3: 8

A4: 4Â Â B4:Â Â Â Â C4: 2

A5: 5Â Â B5: 5Â Â C5: 0