View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
wcurtis wcurtis is offline
external usenet poster
 
Posts: 24
Default Formula for checking duplicate numbers

Is the duplicates you are looking for in one column? If it is, I insert a
column next to it and use this formula. Just use the correct column letter
you are searching for in the formula.
=IF((COUNTIF($B:$B,$B2)1),"Duplicate("&COUNTIF($B :$B,$B2)&")","")

"dflak" wrote:

If you simply want to identify where duplicates are, then use conditional formatting. Use the following formula for conditional formatting: =COUNTIF($A$1:$C$4,A1)1 The range $A1$1:$C$4 will have to be expanded to include the entire range where duplicate apartment numbers could exist. The cell A1 is the leftmost, topmost cell in this range, and the format can be duplicated to all cells in the range.

---
frmsrcurl: http://msgroups.net/microsoft.public...licate-numbers
.