Hello,
I am new to Airtable and am trying to translate Excel formulas into the new syntax.
I wrote a formula that works for number fields (below), and would like to create a similar formula for text fields. However, I am not sure how to substitute blank or not blank in place of the = and > in the formula.
IF( AND( {2021 FIELD}>0, {2022 FIELD}>0 ), {2022 FIELD}, IF( AND( {2021 FIELD}>0, {2022 FIELD}=0 ), {2021 FIELD}, IF( AND( {2021 FIELD}=0, {2022 FIELD}>0 ), {2022 FIELD}, BLANK())))
This should be the equivalent of: if 2021 and 2022 are filled, use 2022. If 2021 is filled and 2022 is not filled, use 2021, if 2021 is not filled and 2022 is filled, use 2022, otherwise, blank
Any help would be appreciated!