Using "!=blank()" is not returning the correct result

#1

0 Likes

#2

Did you try by replacing !=Blank() by !="" ?
Like this :

IF(
	AND(
		{Form Name?}!="",
		{Form URL}!="",
		{Notification Emails}!="",
		{Submission Message?}!="",
		{Google Sheet Tie-in?}=1
	),
	'✅',
	'🚫'
)

Sometimes that’s just it … :woman_shrugging:

1 Like

#3

It’s also worth noting that I don’t think any of your “!= BLANK()” are necessary.

You can just say
IF({Form Name?},...)

If there is a value in the referenced field, it will evaluate to true, if there is no value (ie, it is blank), it will evaluate to false. No need for the superfluous “!= BLANK()”.

3 Likes

Nested IF formula help [Solved]
#4

I’ve tested multiple formulas, and “=BLANK()” in conditional formulas works perfectly, but “!=BLANK()” does not work at all.

I was going to attach numerous screenshots walking through examples of this problem and how to reproduce it, but I am apparently a “New User” and am therefore limited to one screenshot - and it’s impossible to show everything necessary in one picture. Please fix this.

0 Likes

#5

This works! Thanks! Still think they should get the !=BLANK() functionality working (there’s no reason it shouldn’t), but I appreciate the workaround.

0 Likes

#6

Still think they should get the !=BLANK() functionality working (there’s no reason it shouldn’t), but this definitely works - I appreciate the help.

1 Like

#7

BLANK() behaves strangely in regards to text fields; I suspect internally Airtable stores an empty string differently from the way it encodes a true null value.

For instance, try this:

  1. Using a new base, define a number field, and call it {A}.
  2. Define a formula field, {B}, with this formula: IF(A!=BLANK(),1,0).
  3. You should have three empty rows with two fields defined. Enter a number in the {A} cell for row 1. {B} for row 1 should change from 0 to 1.
  4. Do the same for {A}, row 2. Now the first two {B} cells should each contain 1.
  5. Delete the value from {A}, row 2. {B}, row 2 should reset to zero.

Now, follow the same steps, only this time make {A} a single-line text field. You’ll find that deleting the value from {A}, row 2, does not reset {B}.

1 Like

#8

:angry:

Just got bitten by this one again. Is this on the list guys?

Using the API in my case: [myDate != ‘’] works fine, [myDate != Blank()] does not and in my case returned a truckload of records that didn’t need updating.

0 Likes

Blank problem - serious stuff
#9

Piping up here to be another person struggling with this. The workaround works, but I just spent so much time trying to figure out what was faulty with my logic when the answer was nothing :frowning: Please make !=blank() work—it’s a standard assumption once you know =blank() does work.

2 Likes