In Excel, I need to return a value of 1 if a referenced cell is empty
1
I can do it if the value is zero but how do I do it if it is empty?
zero
Paxdiablo's answer is absolutely correct.
To avoid writing the return value 1 twice, I would use this instead:
=IF(OR(ISBLANK(A1),TRIM(A1)=""),1,0)