Skip to main content
Solved

Formula for Combining Multi-Select Fields

  • June 30, 2022
  • 3 replies
  • 52 views

Forum|alt.badge.img+9

Greetings Airtable Community,

I am seeking help with formatting the formula below that combines data from two multi-select fields:

{College}&" and "&{Department}
Example of what the formula returns: Humanities and Department of Religion

{College} is always be populated, but {Department} is sometimes empty.
When this is the case, the formula returns: Humanities and

Is it possible to edit the formula so that if {Department} is empty, the " and " will be removed, returning just the name of the College?

Thank you very much!

Best answer by Justin_Barrett

Here’s an alternate way to write it. Because the college name will always be in the result, there’s no need to include it in the condition, as that only relates to the department.

College & IF(Department, " and " & Department)

3 replies

Forum|alt.badge.img+16
  • Inspiring
  • June 30, 2022

Hi @John_Dlouhy
Can you try this formula?

IF(Department, College&' and '&Department, College)

Justin_Barrett
Forum|alt.badge.img+21

Here’s an alternate way to write it. Because the college name will always be in the result, there’s no need to include it in the condition, as that only relates to the department.

College & IF(Department, " and " & Department)

Forum|alt.badge.img+9
  • Author
  • Known Participant
  • July 5, 2022

Here’s an alternate way to write it. Because the college name will always be in the result, there’s no need to include it in the condition, as that only relates to the department.

College & IF(Department, " and " & Department)

This worked like a charm! Greatly appreciated, Justin!