Help

The Community will be temporarily unavailable starting on Friday February 28. We’ll be back as soon as we can! To learn more, check out our Announcements blog post.

If Statement for date expiration

1712 2
cancel
Showing results for 
Search instead for 
Did you mean: 
Brian_Krahling
4 - Data Explorer
4 - Data Explorer

Hello.
I have a date field called “PRA Expiration”, and I would like to use an if statement to give me Yes, if the date is past the current date, and no if it is not in a field called “PRA Expired?”. Can someone help? Thank you!

2 Replies 2

In your {PRA Expired?} field:

IF(
   IS_AFTER(
      TODAY(),
      {PRA Expiration}
   ),
   "Yes",
   "No"
)

If Today’s date is AFTER the PRA Expiration date, then “Yes”, the record is expired. Otherwise, “No”, the record is not expired.

That worked perfectly! Thank you so much!