Jan 23, 2020 01:25 PM
I’m trying to make a formular to that’ll use certain information if it’s after a particular time stamp. However no matter what I do I seem not not be able to figure out how get airtable to tell me if a certain date is after another.
Sofar I’ve been trying variations of the following. Possible someone has an idea to what I need to do?
IS_AFTER(DATETIME_PARSE(‘22/1/2020’, ‘DD/MM/YYYY’),{Date stamp})
Solved! Go to Solution.
Jan 23, 2020 01:47 PM
This is a proper formula, as in it returns 1
if the 22nd is after {Date Stamp}
, and 0
if not (and #ERROR!
if the date field is empty).
If you want to customize the return, wrap the formula in an IF()
statement, or two IF()
statements to return a blank cell if {Date Stamp}
is empty like so:
IF({Date stamp}, IF(IS_AFTER(DATETIME_PARSE('22/1/2020', 'DD/MM/YYYY'),{Date stamp}), '22/1/2020 is after', '22/1/2020 is before'))
Jan 23, 2020 01:47 PM
This is a proper formula, as in it returns 1
if the 22nd is after {Date Stamp}
, and 0
if not (and #ERROR!
if the date field is empty).
If you want to customize the return, wrap the formula in an IF()
statement, or two IF()
statements to return a blank cell if {Date Stamp}
is empty like so:
IF({Date stamp}, IF(IS_AFTER(DATETIME_PARSE('22/1/2020', 'DD/MM/YYYY'),{Date stamp}), '22/1/2020 is after', '22/1/2020 is before'))
Jan 23, 2020 02:13 PM
Thank you - it works