Help

Re: How To Count Comma Separated Values In A Single Cell

Solved
Jump to Solution
1040 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Ebba
5 - Automation Enthusiast
5 - Automation Enthusiast

Hi there
I have created a table for a client who needs to record the dates visits are made to a site. We note the dates in one cell, separated by commas. We would like to use this data to view the total number of visits. Is there are way to count comma separated values in Airtable?
Thank you!

1 Solution

Accepted Solutions
Ebba
5 - Automation Enthusiast
5 - Automation Enthusiast

Thank you so much for this, Gwynn. It worked perfectly! I really appreciate your support :slightly_smiling_face:

See Solution in Thread

2 Replies 2
gwynn_kruger
6 - Interface Innovator
6 - Interface Innovator

One way may be to make the dates a multi-select field type:

image

The formula for Visit Count is then:
IF({Visit Dates},LEN({Visit Dates})-LEN(SUBSTITUTE({Visit Dates},",",""))+1)

Ebba
5 - Automation Enthusiast
5 - Automation Enthusiast

Thank you so much for this, Gwynn. It worked perfectly! I really appreciate your support :slightly_smiling_face: