If cell A or B > 0, I want to put a 1 if this is true, a zero if this false. However I want to put a 2 if the cell in A or B is empty. I've got this far........

=IF(OR(A2>0,B2>0),"1","0")

Many thanks if somebody could help me figure out what to do!

Andrew