thanks for the quick reply but not really! i've got an array of names, some of which appear more than once in another position and i need to count how many times each name is repeated in the array.

sorry for the misunderstanding

james