Skip to main content
Solved

Counting values


Hi!

I am trying to build a formula but I haven’t quite found the solution in the community.
I have a table with different customers information, with fields such as “name”, “surname”, “email”, “phone”, “company”…
I would like to create a separate table in which I can count how many customers I have from the same company.
So let’s say I have:
Table 1:
customer 1 — Company A
customer 2 — Company A
customer 3 — Company B
customer 4 — Company C
customer 5 — Company C
customer 6 — Company C

In table 2, I would need to show:
Company A — 2
Company B — 1
Company C — 3

I have the company field built as “single select”, since I work with a limited and specific list of companies. Not sure this makes any difference in terms of formulas.

Thanks a lot in advance!

Best answer by ScottWorld

You would need to change your single select field to a linked record field, so you end up with a table of companies. Then, in your table of companies, you can create a field of type “Count” to count how many people are linked to each company.

View original
Did this topic help you find an answer to your question?

3 replies

ScottWorld
Forum|alt.badge.img+20
  • Brainy
  • 8747 replies
  • Answer
  • June 29, 2022

You would need to change your single select field to a linked record field, so you end up with a table of companies. Then, in your table of companies, you can create a field of type “Count” to count how many people are linked to each company.


  • Author
  • New Participant
  • 1 reply
  • June 29, 2022
ScottWorld wrote:

You would need to change your single select field to a linked record field, so you end up with a table of companies. Then, in your table of companies, you can create a field of type “Count” to count how many people are linked to each company.


Works like marvels, thanks!


ScottWorld
Forum|alt.badge.img+20
  • Brainy
  • 8747 replies
  • June 29, 2022
Luxiel wrote:

Works like marvels, thanks!


You’re welcome! :slightly_smiling_face:

Also, since you’re new to Airtable, I’ve got lots more tips & tricks like this in my free Airtable training course:


Reply