
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 26, 2017 07:49 PM
Is there any way to count a search item within a string? I’ve got a single line with values in it separated by semi-colons, and I’m trying to determine how many values are in the string. COUNTA() only works with multiple values, not with a single string value. In Filemaker I could do this with PATTERNCOUNT(), but it doesn’t seem there’s an equivalent in Airtable.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 27, 2017 02:17 AM
Assuming none of the items includes an embedded semi-colon, this should do it:
(LEN({String}) - LEN(SUBSTITUTE({String},";",""))) + 1
(Formula courtesy @Simon_Brown.)

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 27, 2017 02:54 AM
PERFECT. Thank you so much.
