Re: IF / THEN formula with dates - can't edit formula

Jump to Solution
1312 5
Showing results for 
Search instead for 
Did you mean: 
4 - Data Explorer
4 - Data Explorer

I’ve seen versions of this post, but not this specific issue, and I can’t ever get Airtable support to answer my help requests so putting it out there to see if anyone has a fix!

In the “Next Renewal Date Calc” field, I want to add 90 days to the adjacent date in the “Current Period Start Date” field, but only if there is data in that record. Otherwise, I’d like the “Next Renewal Date Calc” field to be blank.

However - it appears I’ve got one of two options.

  1. Don’t do an if / then statement, just do a date add formula in Next Renewal Date Calc, and then it shows an error in the records that don’t have an adjacent Current Period Start. However, it shows the date formatted for human eyeballs.

  2. Write an if / then statement, which returns data as expected, leaving dates only in the fields with an adjacent Current Period Start date. However, it changes the date to a very unfriendly format, and does not allow me to change the format (“Your result type is not a number or a date. Formatting options are currently only available if your result type is a number or a date.”).

I’ve tried changing my if/then formula to a variety of things instead of “” for if the Current Period Start is blank, to see if that helps … tried 0, “-”, MMDDYY … nothing works.

Any ideas?


Option 1 Formula:
Option 1 Results:

Option 2 Formula:
If Formula
Option 2 Results:

1 Solution

Accepted Solutions
18 - Pluto
18 - Pluto

For your 2nd formula, get rid of the final comma & quotation marks.

See Solution in Thread

8 Replies 8
18 - Pluto
18 - Pluto

For your 2nd formula, get rid of the final comma & quotation marks.

Hi, just wondering if you can help me out with this one. I’m using the following formula in my table:

IF({Created time}={Last modified time},BLANK(),IF({Travel Updated}>{Last modified time},“ :thumbs_up: ”,IF({Last modified time}=BLANK(),BLANK(),“ :warning: ”)))

But unfortunately, when {Last modified time} is a few minutes later than {Travel Updated}, is still shows the “ :thumbs_up: ” instead of the “ :warning: ”. Do you have any suggestions on why can do to resolve this?

I just tested your formula, and it works fine for me. Maybe check the time zone (GMT) option on your fields, to make sure that they’re all set to the same option.

Thanks! But how can I check the time zone (GMT) option on my fields?

Customize your time fields, and you’ll see the checkbox at the bottom.

Okay. But which time zone will it match? My windows time zone? Or does airtable have a time zone configuration option?

For a deep dive into time zones, check out my training video & sample base here:

Great! Thanks a lot!