maybe

Formula: copy to clipboard
=AND(COUNTBLANK(D1:H1)=4,COUNTIF(D1:H1,1)=1)