Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Dynamyk

macrumors 6502a
Original poster
Jul 8, 2005
648
0
Toronto
Ok I'm making a timetable right now for my boss and in one column the equation is (40-G4). Now because there are no values entered in G4 until that time comes up it shows 40, but I need it to show 0 so I can make a total column. Anyone know how?
 
Try a simple if sentence:

=IF(G4=0, 0, 40-G4) <-- From memory, I'll try finding the correct syntax ;)

Edit: Just tried it on NeoOffice, who wants me to use =IF(G4=0; 0; 40-G4) but I still think Excel wants commas and not semicolons...
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.