Hi @Indigo_Technologies,
Hello,
Welcome to the community! You can find our guidleines and FAQ’s here.
A colleague of mine pointed out a good solution to accomplish your goal:
- I named your first table “Fish Tank”. Create another linked record field to the right of your “Sympatry Fish” field. I called this field "Masterlink (All Sympatry). When you do this, create a new table to link to. I called this new table “Masterlink”.

-
In your newly created “Masterlink” table create a SINGLE RECORD in the name field. An often used name for this record is “.”, literally just a period that acts as a placeholder. Then create a rollup field next to your “Link to Fish Tank” field. I called this rollup field “Rollup All Sympatry”. Setup this rollup field accordingly:
- Summarize “Link to Fish Tank” from this table.
- Rollup the “Sympatry Fish” field from the “Fish Tank” table
- Use the ARRAYJOIN(values) function in the aggregation formula section

- Go back to your first table, again, I called this table “Fish Tank”, and create a lookup field. I named this lookup field “Lookup Rollup of Sympatry”. Configure this lookup to look up the "Masterlink (All Sympatry) field from this table. In the “Masterlink” table you want this lookup to find the rollup field you just created, “Rollup All Sympatry”.

- Create a formula field next to the lookup field you just made. This formula is essentially returning the length of the entire string of the rollup field we created. We then subtract out the length of the string minus the instances of that particular species. This results in the total string length of all of this instances of that particular species. Finally, we divide by the length of the string for the particular species we are referencing. Sorry that was long-winded/wordy, but I want to explain what is going on here. You may have to change this formula to fit your particular field names:
(LEN(CONCATENATE({Lookup Rollup of Sympatry}))-LEN(SUBSTITUTE(CONCATENATE({Lookup Rollup of Sympatry}), {Species Name}, '')))/LEN({Species Name})
- Lastly, and perhaps most important to remember, you need to make sure all records in the “Masterlink (All Sympatry)” field have that period placeholder.

Regarding this period placeholder, this community post is very handy. Much thanks to @W_Vann_Hall for breaking this down so well.
Hope that was helpful. Let me know how it goes!