View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Stefi Stefi is offline
external usenet poster
 
Posts: 2,646
Default Display a 1 for the first of duplicates

Try this formula:
=--(MATCH(A2,A:A,0)=ROW(A2))
and drag it down as required!

Regards,
Stefi


€˛noelle€¯ ezt Ć*rta:

I have a list of records that have many duplicates. I need a formula that I
can use in the adjacent column to show a 1 for the first instance of a
duplicate and a 0 for any others. The list is sorted so all dupes are
together.