Your formula field typehere is text soan example to update contact phone number when you must returnassign the account to a text if yourcontact.
Step1: create Workflow on contact.Add condition matchesto execute the workflow. Something like thisif account is not null.
if(ISBLANK( Customer_ID__c ), 'text if it is empty', 'text if it is not empty')