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.
Mar 11, 2022 09:32 AM
I’ve been fighting this and researching long enough. here is what I currently have that doesn’t work: IF({Referral Name}}, “Field is Not Empty”),{Commission}{Referral %},"")*
Explained:
If Referral Name field is not blank or empty,
Calculate Commission field multiplied by Referral %
Otherwise, leave return a blank field.
Help! :slightly_smiling_face:
Solved! Go to Solution.
Mar 11, 2022 09:57 AM
Welcome to the Airtable community!
When translating your ideas from English into Airtable’s formula language, the resulting sentence has different words and punctuation.
Instead of this …
Try this …
IF( {Referral Name}, {Commission} * {Referral %} )
Mar 11, 2022 09:57 AM
Welcome to the Airtable community!
When translating your ideas from English into Airtable’s formula language, the resulting sentence has different words and punctuation.
Instead of this …
Try this …
IF( {Referral Name}, {Commission} * {Referral %} )
Mar 13, 2022 05:26 AM
Thanks for the welcome, Kuovonne! And, more importantly, thank you for the solution. It works but I don’t understand why I don’t need the other half of the logic statement. Is it because if the condition is NOT met I don’t want anything to happen?
Mar 13, 2022 03:18 PM
Correct. Since you don’t want a value if the condition is not met, you can omit the last part of the IF
. In fact, when you don’t want a value if the condition is met, it is better to omit the last part of the IF
than to include something. If you include the empty text string (""
) then your answer will be converted to a text string, even when you want a number.