Oct 25, 2023 10:11 PM
Solved! Go to Solution.
Oct 26, 2023 08:23 AM
I think you're missing a 2nd if (nested). Try the following:
IF(
{Last Renewal},
IF(
DATETIME_DIFF(
TODAY(),
{Last Renewal},
'days'
) > 365,
"🔴",
"🟢"
),
""
)
This says: if the renewal date is not blank, then check the date diff, otherwise if it's blank, return blank.
Oct 26, 2023 06:39 AM
A little clarification, I get a green emoji in the blank record. All else works. This is the formula that works, but has a the green emoji in the blank record.
Oct 26, 2023 06:48 AM
Screenshot of result of formula. Need Abernathy records be blank. Thanks ,Scott
Oct 26, 2023 08:23 AM
I think you're missing a 2nd if (nested). Try the following:
IF(
{Last Renewal},
IF(
DATETIME_DIFF(
TODAY(),
{Last Renewal},
'days'
) > 365,
"🔴",
"🟢"
),
""
)
This says: if the renewal date is not blank, then check the date diff, otherwise if it's blank, return blank.
Oct 26, 2023 07:10 PM
Fantastic, Thanks! I was thinking that I probably needed another If statement. That worked perfectly. Best, Scott