Hi,
Although I posted how to do this with a filtered list, you might consider
conditional formatting.
To conditionally format your cell(s):
In 2003:
1. Select the cell you want to format
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=COUNTIF($A$1:$B$4,A1)>1
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.
In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=COUNTIF($A$1:$B$4,A1)>1
5. Click the Format button and choose a format.
6. Click OK twice
Note that this formula check for duplicated in any location that means if 1
is repeated twice in column A it will mark it as a duplicate. The formula
filter approach we discussed in the previous posts only check for duplicates
between columns, not within columns although one could do that also with a
formula approach.
If this helps, please click the Yes button.
Cheers,
Shane Devenshire