Feb 25, 2022 01:05 PM
I’m looking to create a datestamp field based on if a Single Select field is either COMPLETE or CANCELED, otherwise it should remain empty.
I’ve searched through this site and tried a variety of options but have had no success.
IF(OR(Status=“COMPLETE”,“CANCELED”,LAST_MODIFIED_TIME())) **This returns all cells as blank
Thanks in advance!
Solved! Go to Solution.
Feb 25, 2022 01:30 PM
Since you put the timestamp within the OR and you haven’t connected ‘cancelled’ to the field {Status}, you’re asking “if {Status} = ‘COMPLETE’, if the phrase ‘CANCELED’ is not blank, or if the record has ever been modified”. That is guaranteed to always be “true” since the phrase ‘CANCELED’ has a value. Your formula does’t output anything for “true” or for “false”. The proper formula would be
IF(
OR(Status="COMPLETE", Status="CANCELED"),
LAST_MODIFIED_TIME()
)
Feb 25, 2022 01:30 PM
Since you put the timestamp within the OR and you haven’t connected ‘cancelled’ to the field {Status}, you’re asking “if {Status} = ‘COMPLETE’, if the phrase ‘CANCELED’ is not blank, or if the record has ever been modified”. That is guaranteed to always be “true” since the phrase ‘CANCELED’ has a value. Your formula does’t output anything for “true” or for “false”. The proper formula would be
IF(
OR(Status="COMPLETE", Status="CANCELED"),
LAST_MODIFIED_TIME()
)
Feb 25, 2022 01:36 PM
Thanks that worked! I tried so many options that I had lost count of the variations. :slightly_smiling_face:
I can’t believe I missed this one as it makes so much sense.