1
I have an Excel worksheet with one column of cells with any string values, so, like this: A, B, A, D, C, C, A, A. What I am wanting to do is to count how many times each value occurs and print that out on some other cells, like: A:4, B:1, C:2, D:1. I don't mind if these are spread across 2 columns. I also want to order these, with the most frequent first, like: A:4, C:2, B:1, D:1. How should I go about doing this?
Edit: I also do not know what values will occur.
To clarify. Will each cell only have a single value? A or B or C or possibly multiple values in a cell such as A,B,C? Countif will not work for that situation. Also you mention not knowing what values will occur. Do you mean there are other possibilities besides A, B,C,D and your solution needs to allow for a random X or Q etc wwhich may not have been anticipated in advance? – datatoo – 2010-10-22T16:00:52.507