IF problem, too many arguments

I have a formula
=IF(G4=0,E4,C4*(1-G4))
It works fine. It's pulling from either column G or E.
However if no data is entered in either column, then I'd like it to pull from column C.

When I try to do this, it says too many arguments.

I thought of something like...
=IF(G4=0,E4,C4*(1-G4),IF(E4=0,C4

Then I'm lost.

Any ideas? Thanks!