Counting items in a list

Hi,


I have a list over 1000 items long, with some repeats. I want to count the number of discrete items in the list, as I show in the image below. How many times does Alpha occur? How many times does Beta occur?


The Count function won't do what I want.


TIA.


edg



iMac 27″, macOS 10.15

Posted on Oct 1, 2021 4:22 PM

Reply
Question marked as Top-ranking reply

Posted on Oct 1, 2021 4:40 PM

If you using Numbers 11.2 that takes about 3 seconds using a Pivot Table.


Click the table and choose Create Pivot Table from the Organize Menu:




Drag down into the Rows and Values areas:




Giving you the result:


7 replies

Oct 1, 2021 5:25 PM in response to guitar_edg

guitar_edg wrote:

SG,

The pivot table functions won't work with only one column of data. You need 2 columns.



I used just one column of data for my screenshots above. The trick is to drag down once into the Rows area, and then then also drag down into the Values area. It's dead simple. You may be overthinking it (as I did on my first try). These Pivot Tables are really easy and flexible.


SG

Oct 1, 2021 5:39 PM in response to guitar_edg

I never used pivot tables before today, not in Excel either. I see that pivot tables do not automatically update when the source data changes. If your data changes, you have to refresh the pivot table if you want it to reflect the changes. In Numbers it is pretty simple, using the circular arrow in the sidebar.


The formula-based solutions to the question you asked here will stay updated automatically, but they are a lot more complicated than a pivot table.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Counting items in a list

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.