View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.misc
Matt Matt is offline
external usenet poster
 
Posts: 516
Default Finding duplicates within a column

Hi could someone help me with something similar, i have two sets of data and
i need to find duplicates please like the formula below but with a little
extra.

I have 2 different spreadsheets with some of the same account numbers on but
on one spreadsheet next to the account number is a unique id which is what to
stay next to the account number. Next spreadsheet has just account numbers
and i want to see if the account numbers match the account numbers with the ID
From spreadsheet A would be the account numbers and spreadhseet B would be
the account numbers and the correct ID numbers next to it, they cannot be
seperated as they are already in order if that makes sense.

If i use the formula below it correct the ones that match but i have a row c
with the account id's and they need to follow row B which is the correct
account number it is assigned too.

Hope this makes sense?


"Roger Govier" wrote:

Hi Cynthia

In B1
=IF(COUNTIF(A:A,A1)1,A1,"")
copy down column B as far as required.

--
Regards

Roger Govier


"Cynthia Amrit" <Cynthia wrote in
message ...
I need to find duplicates within a column. I want it to say what is the
duplicate and the non duplicate to blank in column B.


A B
Dog Dog
Fish
Dog
Cat Cat
Rabbit
Cat