Skip to main content

!= Blank() is not working

  • July 20, 2023
  • 4 replies
  • 34 views

Forum|alt.badge.img+3

Hi,

I am trying to check if the Cell "vB" has a value or not using 

 
IF({vB} != BLANK(),"true","false").
 
But strangely, even blank cells are spitting out the value "true". No clue why. Can anyone help?

4 replies

Forum|alt.badge.img+21
  • Inspiring
  • July 20, 2023

The BLANK function is only for returning BLANK, so it is not to be used in comparisons.

In Airtable, this works fine.

IF({vB},"true","false/Blank/null")

 


Forum|alt.badge.img+3
  • Author
  • New Participant
  • July 20, 2023

Understood, thanks for clarifying. So what can I use for comparisons? There is a greater if-then-statement around the partial formula I mentioned above and I would like to avoid nesting if-thens.


Forum|alt.badge.img+3
  • Author
  • New Participant
  • July 20, 2023

Nevermind, I think I figured it out. I just have to include the plain {vB} variable as it is in the greater if-then-statement. 


Alexey_Gusev
Forum|alt.badge.img+25

Nevermind, I think I figured it out. I just have to include the plain {vB} variable as it is in the greater if-then-statement. 


Hi,
JFYI, you can use field name only for 'non-emptiness' check,
use FIND('word', {Text}) to check whether text includes word,
can insert single-word field name without brackets, and omit 'action if false'.  For example:

IF(vB,'yes')