what will be going into the cell, a Formula? or are you likely to be inputting directly, if its the result of a formula the If already mentioned would need to incirporate that, ie IN A2 something like =IF(A1your formula=0,0,Your formula for A2) or similar. if your hardcoding numbers into the cells then you'll need a VBA solution