Hello—
Not sure what to call this one. I have two tables. I am trying to make a list of names in Table B showing which students are members of our program at that school.
Table A: Students
- {First name} and {Last name} of students
- {Member} Checkbox field
- {School} linked record field
- {Name} function field, with an emoji
(For example, a name would show up as "🐧Robert Frost" if they are checked, and without the emoji if not)
Table B: Schools
- The linked student field is called {# Students}
The goal is to make a list in Table B of {Member}=1 students at each school. For instance, if Table A lists “English High School” having 10 students attending that school, but only 3 members, then the rollup in Table B should show: "🐧 Robert Frost, 🐧 Doctor Freeze, 🐧 Elsa Arendelle"
Any recommendations on how to structure the rollup field in Table B? I have tried and failed at two approaches:
- Making the ARRAYJOIN contingent on whether the {Member} field is checked in Table A. For example, the Rollup is set to {# Students}, {Member} and the formula is
if({Member}=1,arrayjoin(values, ", "),"")I guess this hasn’t worked because the {Member} field is in Table A, not the current table? - Making the ARRAYJOIN contingent on whether there is a “
🐧” as the first letter of the {Name}. For example, the Rollup is set to {# Students}, {Name} and the formula isif(left({# Students},1)="🐧"),arrayjoin(values,", "),""). Honestly, I’m not sure why this doesn’t work.
I’m at a loss here, and maybe it’s time to just hand-type the names in. But I’m interested by the puzzle of it now, and wondering if the community has advice. @W_Vann_Hall, can you be my airtable hero?
Thank you!
