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
Nicko9Nicko9 

formula to check the email opt out field in the contact object based on a checked Do Not Call field

Best Answer chosen by Admin (Salesforce Developers) 
*werewolf**werewolf*

You wouldn't do that with a formula really, you'd do it with a workflow rule that checks if Do Not Call is checked and a field update that checks on Do Not Email.