Forum Discussion
How do I count the occurrence of unique values?
How do I count the occurrence of unique values for over 1000cells in a column?
After getting the answers, is there a short cut for autocomplete without having to drag?
I've tried this, doesn't seem to work ( =COUNTIF($B$2:$B$3794,B2 ). Help.
Or, if you want to count the number of occurrences of each value, create a pivot table based on your column. Add the column to both the Rows area and the Values area.
4 Replies
Which version of Excel/Office do you have? Excel in Microsoft 365 has a new function UNIQUE that will return a list of unique items in a range. COUNTA(UNIQUE(...)) can be used to count unique items.
- david_odolofinCopper Contributor
HansVogelaar Office 365( Excel version: 2006)
Or, if you want to count the number of occurrences of each value, create a pivot table based on your column. Add the column to both the Rows area and the Values area.