Hi,
So I have a field called {First Name} and {Last Name}. I have a formula field called {Full Name}, which is simply the result of {First Name}&" "&{Last Name}. Pretty simple.
However, there may be cases when the {Full Name} results in blank. For e.g. when I create a new row in the grid, but no First and Last Name have been entered yet. I assumed that the {Full Name} is equal to BLANK() in this case.
I have a primary field {ID}, which I’m using as an ID with the intent that if the {Full Name} is not blank, then evaluate to Autonumber&" "&{Full Name}, so something like “101 John Smith”, “102 Rebecca Jones”, etc. However, I want ID to be a formula such that if the {Full Name} is blank, it evaluates to something like “103 No Name”, instead of just “103”, i.e. I want to see the ID that has no full name explicitly, so I thought a simple IF() formula for the ID field would work.
I tried to write an IF() formula such that if {Full Name} is BLANK(), then formula result should be Autonumber&" “&“No name” (expecting something like “105 No name”) and if {Full Name} is not blank, i.e. the else part of that formula, then simply result to Autonumber&” "&“Full name” to get something like “107 Jamie Freedman”.
Unfortunately, when there is no {First Name} and {Last Name}, i.e. resulting in no {Full Name}, the IF formula in my ID field does not recognize the {Full Name} as BLANK(). Even when I tried testing it out by simplifying to something like IF({Full Name}!=BLANK(),“Not Blank”,“Blank”) it evaluates to “Not blank” even when there’s nothing in the {Full Name} field.
My guess is that Airtable considers a formula field to be non-blank even if it isn’t holding any formula result or value. Is that the case?
Any help appreciated.
Thanks.