Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

List field names for non-zero values in record

Topic Labels: Formulas
848 1
cancel
Showing results for 
Search instead for 
Did you mean: 
Shiko_Ben-Menah
4 - Data Explorer
4 - Data Explorer

I’m trying to list the field names for which non-zero values appear in each record. I would have used a combination of Match and Index in excel… What would be the solution in Airtable?

1 Reply 1

Welcome to the Airtable community!

Here is a starting place …

REGEX_REPLACE(
  CONCATENATE(
    IF( NOT( {Field1}, "Field1, "),
    IF( NOT( {Field2}, "Field2, "),
    IF( NOT( {Field3}, "Field3, "),
    IF( NOT( {Field4}, "Field4, ")
  ),
  ", $",
  ""
)