I’ve been trying to figure out if I can create a formula around two date fields…
The situation:
Create a field with the possible outcomes as SOLD, PENDING, FIRM, CANCELLED depending on two date fields.
SOLD if Today is before Signing Date
PENDING if Today is currently equal to or after Signing Date and before Firm Date.
FIRM if Today is equal to or after Firm Date
CANCELLED (I have no clue how to incorporate this. Basically, I still need a status for deals that have been cancelled, but I don’t know how this would tie in with dates…)
Nevermind, I think I might have figured out how to do this… I added an extra checkmark column for the CANCELLED records
IF({FIRM DATE FX}=BLANK(),"",IF({CANCELLED?}=1,“CANCELLED”, IF(
IS_AFTER({SIGNING DATE copy},TODAY()),
“SOLD”,
IF(
AND({SIGNING DATE copy}<=TODAY(),{FIRM DATE FX}>TODAY()),
“PENDING”,
IF({FIRM DATE FX}<=TODAY(),“FIRM”,"")
)
)
))
Any help would be greatly appreciated. I had this formula working in Excel, but the functionalities on Airtable are a bit different. I used IFS function for it in Excel and for the records with the CANCELLED status, we had just manually typed in CANCELLED in the cell (obviously won’t work here on Airtable since the field is a formula)