try this..

Formula: copy to clipboard
=IF(TRIM(E2)="",1,0)