Why not in C16

Formula: copy to clipboard
,B16+C10-C12-C13+C9


C9 is either 0 or 1

No need for IF test