function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Arpit Gupta 62Arpit Gupta 62 

This formula calculates the number of days since a contract with an account was activated. If the contract Status is not “Activated,” this field is blank.

Paolo BroggiPaolo Broggi
Hi Arpit,

it should be somthing like the following:
IF(ISPICKVAL(Status, "Activated"), DATEVALUE(ActivatedDate) - TODAY(), NULL)
Also remember to set, in the lower section, the value of Blank Field Handling to Treat blank fields as blanks.

Please let me know if this helped.

Paolo