Skip to main content
Solved

Date is not Blank - Not working correctly?

  • June 23, 2022
  • 3 replies
  • 40 views

Forum|alt.badge.img+4
  • Participating Frequently
  • 7 replies

Hello everyone,

I am having an issue with a pretty simple if statement with !=blank():
If({Date}=blank(), “Blank”, “Not blank”) - this returns “Blank” if the field is blank and “Not blank” if there is something is entered - as it should
If({Date}!=blank(), “Blank”, “Not blank”) - this returns “Blank” no matter if the field is empty or not

Am I missing something?

Thanks,
Jordan

Best answer by kuovonne

Just use your date field by itself in the IF function.

IF(
  {Date},
  "There is a date",
  "No date"
)

This works for all editable field types except for number fields that could be zero.

3 replies

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • 9814 replies
  • June 23, 2022

BLANK() is used for other purposes. Just compare your Date field to "":

{Date}=""


kuovonne
Forum|alt.badge.img+29
  • Brainy
  • 6009 replies
  • Answer
  • June 23, 2022

Just use your date field by itself in the IF function.

IF(
  {Date},
  "There is a date",
  "No date"
)

This works for all editable field types except for number fields that could be zero.


Forum|alt.badge.img+4
  • Author
  • Participating Frequently
  • 7 replies
  • June 23, 2022

Thank you both, I had implemented a work around but those are both much simpler!