Skip to main content
Solved

Count unique values in a column

  • April 9, 2024
  • 4 replies
  • 217 views

Lisa_Wetherby
Forum|alt.badge.img+6

I have a grid view with a field that shows volunteers that have volunteered along with the date they volunteered

I want to figure out how many volunteers volunteered each month - how do I find how many unique volunteer names appear in this list, and if I filter for the specific month, will it still work?

Thank you!

 

Best answer by jsep

You can create a "Months" table, which will contain the list of months.

In the "Months" table, create a lookup field to the table where you keep track of volunteers. You can set up an automation to automatically link each time someone volunteers.

Then, you can simply create a Rollup field that will count the unique volunteers.

Example formula:

COUNTAll(ARRAYUNIQUE(values))

Result:

If you need more help feel free to schedule call with me.


 

4 replies

Forum|alt.badge.img+17
  • Inspiring
  • April 9, 2024

If you create a linked record and a roll-up field then you could use the solution in this post (https://community.airtable.com/t5/show-tell/count-unique-values-in-rollup/m-p/113668#M1834) potentially.


jsep
Forum|alt.badge.img+9
  • Participating Frequently
  • Answer
  • April 10, 2024

You can create a "Months" table, which will contain the list of months.

In the "Months" table, create a lookup field to the table where you keep track of volunteers. You can set up an automation to automatically link each time someone volunteers.

Then, you can simply create a Rollup field that will count the unique volunteers.

Example formula:

COUNTAll(ARRAYUNIQUE(values))

Result:

If you need more help feel free to schedule call with me.


 


Alexey_Gusev
Forum|alt.badge.img+25

Hi,
For a quick look, you can choose unique


and group by month with 'Collapse all'

But if you want to use these numbers per month, you should follow link provided by @Ella11  





Lisa_Wetherby
Forum|alt.badge.img+6
  • Author
  • Participating Frequently
  • April 12, 2024

Hi,
For a quick look, you can choose unique


and group by month with 'Collapse all'

But if you want to use these numbers per month, you should follow link provided by @Ella11  





Thank you! That is a simple way to get what I need - which works for me!