Welcome to the community, @Emily_Gonzales ! :grinning_face_with_big_eyes:
To check if a field contains anything—i.e. it’s not blank—use this syntax:
IF({Field Name}, ...
To check if a field is empty, wrap the field name in NOT()
:
IF(NOT({Field Name}), ...
In your case, the formula would become:
IF(NOT({Original Time Stamp}),"{Time Stamp}",IF({Original Time Stamp}, {Original Time Stamp}))
However, this could be greatly simplified:
IF({Original Time Stamp}, {Original Time Stamp}, "{Time Stamp}")
By checking for a non-blank field first, we can use the value found if it’s there, and fall back on “{Time Stamp}” if not.
Welcome to the community, @Emily_Gonzales ! :grinning_face_with_big_eyes:
To check if a field contains anything—i.e. it’s not blank—use this syntax:
IF({Field Name}, ...
To check if a field is empty, wrap the field name in NOT()
:
IF(NOT({Field Name}), ...
In your case, the formula would become:
IF(NOT({Original Time Stamp}),"{Time Stamp}",IF({Original Time Stamp}, {Original Time Stamp}))
However, this could be greatly simplified:
IF({Original Time Stamp}, {Original Time Stamp}, "{Time Stamp}")
By checking for a non-blank field first, we can use the value found if it’s there, and fall back on “{Time Stamp}” if not.
THANK YOU so much!! this is immensely helpful. Now i have the problem of formatting. I am getting a combination of results that look like this: 2020-06-10T23:43:05.000Z AND this 4/6/2020 5:32pm. I would prefer the latter…
THANK YOU so much!! this is immensely helpful. Now i have the problem of formatting. I am getting a combination of results that look like this: 2020-06-10T23:43:05.000Z AND this 4/6/2020 5:32pm. I would prefer the latter…
The former is an unformatted date. The latter is formatted. Not sure how you’re seeing both in the same field, but assuming that {Original Time Stamp}
is a date, then your formula should become this:
IF({Original Time Stamp}, DATETIME_FORMAT({Original Time Stamp}, "l"), "{Time Stamp}")
A full list of date formatting options can be found here: