Thanks to all for the suggestions.
However, using the code posted, I get a sum of all of the values in the array.
Sorry if my original posting wasn't clear.
I have an array named rank that I use to gold the values of two variables: percentage and username. Percentage is the key and usename is the value. This array has more than one element with matching values (i.e. usernames). I want to sum up only the percentages in the array that have a matching value (username).
Thanks again for the help, and I hope that my question makes more sense this time around.
revez