-----Original Message-----
Hi Leanne,
place the following formula in cell C1
=IF(COUNTIF(Range("A:A",B1)>0,"Duplicate","")
You later gave another part if column B has the leading
zeros making them text try this formula
=IF(COUNTIF(Range("A:A",B1*1)>0,"Duplicate","")
Use the fill handle to copy the formula down from row1
http://www.mvps.org/dmcritchie/excel/fillhand.htm
Also take a look at Chip Pearson's
Duplicate And Unique Items In Lists
http://www.cpearson.com/excel/duplicat.htm#TaggingDuplicate
s
For more information on COUNTIF
your Excel help, and also John Walkenbach's
Excel Developer Tip: Cell Counting Techniques
http://www.j-walk.com/ss/excel/tips/tip52.htm
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages:
http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page:
http://www.mvps.org/dmcritchie/excel/search.htm
Hi,
Can someone help please?
I am trying to compare large lists of data containing
payroll numbers. I want to know which of the numbers in
col B match those in A.
Thanks
L
.