๐ Count Multi-Select Tags
This Notion formula showcases the ability to count number of tags inside a multi-select property. I'm also going to show you how to identify tags that return a particular word. In order to execute this I use the following formula functions: length, replaceAll, contains and add.
Number of Tags Formula
if(length(prop("Tags")) > 0, length(replaceAll(prop("Tags"), "[^,]", "")) + 1, 0)
Formula Explanation
โ if length of Tags property as a whole is greater than 0
โ then find the length of(replace all "," with "" inside the Tags property)
โ then add 1
โ If not able to return, show 0.
Tags With Particular Word Formula
contains(prop("Tags"), "Chores")