Skip to main content
Solved

Blank Cell Result rather than #ERROR

  • July 31, 2020
  • 3 replies
  • 26 views

As you can tell by my question, I am new to Airtable :slightly_smiling_face:

How do I rewrite this formula so it does not result in …#ERROR when I don’t have dates in some the cells used in the calculation? I would rather have that cell remain blank until I have all my dates entered into my table. Thank you!

DATEADD({Speaking Date},-1,‘days’)

Best answer by M_k

Hi @Karen_Piotrowski

I noticed that the quotes used in the formula that you have in your post, are not the straight ones. You may want to check that you are using the correct quotes.

The formula that @kuovonne used are the correct ones.

Just thought I would help. Hope you don’t mind.

Mary Kay

3 replies

kuovonne
Forum|alt.badge.img+29
  • Brainy
  • August 1, 2020

Welcome to the Airtable community,

To avoid the dreaded #ERROR, wrap your formula in an IF that checks for values in the input fields.

IF({Speaking Date},
  DATEADD({Speaking Date},-1,'days')
)

Forum|alt.badge.img+20
  • Inspiring
  • Answer
  • August 1, 2020

Hi @Karen_Piotrowski

I noticed that the quotes used in the formula that you have in your post, are not the straight ones. You may want to check that you are using the correct quotes.

The formula that @kuovonne used are the correct ones.

Just thought I would help. Hope you don’t mind.

Mary Kay


  • Author
  • Participating Frequently
  • August 3, 2020

Welcome to the Airtable community,

To avoid the dreaded #ERROR, wrap your formula in an IF that checks for values in the input fields.

IF({Speaking Date},
  DATEADD({Speaking Date},-1,'days')
)

Thank you so much!!!