Help

Upcoming database upgrades. to improve our reliability at 03:30 UTC on Feb. 25 / 7:30pm PT on Feb. 24. Some users may briefly experience slow load times or error messages. Learn more here

Rollup with FIND function always returns zero (0)

Topic Labels: Formulas
Solved
Jump to Solution
357 2
cancel
Showing results for 
Search instead for 
Did you mean: 

I don’t know if what i’m attempting is supported in rollup fields. I have a rollup field, Level, which uses my table’s linked field, Academic year, to pull in a field called, Students from my Academic year table:

Screen Shot 2021-02-21 at 12.20.57 PM

I’ve attempted a variety of formulas in the rollup using the FIND function, all of them return 0.

Here’s some examples:

FIND(ARRAYJOIN(values), "John Doe")

FIND(ARRAYJOIN(values) & "", "John Doe")

FIND(ARRAYJOIN(ARRAYCOMPACT(ARRAYUNIQUE(values))), "John Doe")

Is it possible for me to get a result that isn’t 0? Or is the FIND function not supported in rollup fields? (I should add that I’m not really searching the name “John Doe”, but rather searching names that are present in the referenced field.) Thanks for any help.

1 Solution

Accepted Solutions

Your parameters for FIND are flip-flopped. The first parameter should be the string to find, and the second parameter is the string to search.

FIND("John Doe", ARRAYJOIN(values))

See Solution in Thread

2 Replies 2

Your parameters for FIND are flip-flopped. The first parameter should be the string to find, and the second parameter is the string to search.

FIND("John Doe", ARRAYJOIN(values))

You’re an amazing Airtabler, @kuovonne. You came to my rescue again—bless you!