Count number of cells in column with same text, without pre-specifying text (? wildcard)

Gazzat

New Member
Joined
Dec 5, 2021
Messages
4
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi (question below screenshot) ,
Screen Shot 2021-12-11 at 10.00.05 am copy.jpg

Large spreadsheet with some replicate values in column A. I am wanting to count how many replicates in column A and then establish a count of cells with each replicate value, so I can order them eg. I would like to know how many cells in column A contain C7532, how many cells in column A contain W4254.............etc- but without having to specify each value in the county formula.
I feel like I'm missing something obvious, but have been going in circles for a while so some help would be greatly appreciated
Thanks!
Gaz
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Put this formula in cell D2 and copy it down to all the used rows.
Cell D2: =Countif(A:A,A2)
 
Upvote 0
Is this the sort of thing you mean, using Excel's built-in Pivot Table feature (available on the 'Insert' ribbon tab)?

21 12 11.xlsm
ABCDE
1Header 1Header 2Count of Header 1
2C7532Data 1Header 1Total
3W4254Data 2B98342
4B9834Data 3C75325
5C7532Data 4W42543
6C7532Data 5Grand Total10
7W4254Data 6
8B9834Data 7
9C7532Data 8
10C7532Data 9
11W4254Data 10
12
PT
 
Upvote 0

Forum statistics

Threads
1,214,615
Messages
6,120,538
Members
448,970
Latest member
kennimack

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top