Formula help: How to index one entity in a collection?

See here:

A general formula for getting the index of an entity within a collection:

(Find(Collection.Entities.Sort([Parameter to sort on]).Join("#" + Right("000" + [Public Id], 4), ""),"#" + Right("000" + [Public Id], 4)) + 4) / 5

I expect it will slow down the formula service if you have a large collection size though :frowning: