HOW TO write a formula in workflow so that whenever status is in open/reopen state populate the custom field to today's date and if the status changes the the field should be null
IF(AND(
if(status = open/reopen/ then customfield = todays date)
else
{
NULL
}