I'm sorting through invasive species data by site, and trying to figure out which record is the most recent per-site; this would allow me to categorize the site as either in-treatment, eradicated, or unknown.
Is there a way to populate a Recent_Date column by comparing the dates between multiple columns in one row?
| TARGET_FID | Treatment_Date | Presence_Date | Non_Detection_Date | Recent_Date |
|---|---|---|---|---|
| 1 | 2021-09-30 | 2016-07-10 | 2021-10-05 | ????-??-?? |
| 2 | 2019-05-31 | 2021-06-01 | NA | ????-??-?? |