Counting All Duplicate Data In One Column

Copper Contributor

Hi All, I'm wondering if there is a formula/function or alike to count the amount of times data appears in a column. To further explain, I have a parts catalogue I'm currently working on. It has a little over 40,000 items in it, all pre-organised into categories. I'm wanting to count the total number of said categories. Naturally these categories occur in the worksheet more than once, so I wanted to run a report without having to input each individual category and run a test for that particular word/title. If I can, ideally I'd like to have it record all different values in the column in a new worksheet or table and then record how many times each appears in the column. Is this possible?

 

Regards, Phil

1 Reply

@PhilG1293 

The easiest way is insert a Pivot Table based on your data, drag the Categories field into the Row area and drag the Categories field again into the Values area.

 

Another way is, import your data into Power Query editor and then use Group By feature to group the data by Categories with Count Rows operation to get a table with all the unique categories in one column along with their counts in another column and load the resultant table back into the sheet.