Question : Excel formula needed

           Col H      Col J

Row1      0          none
Row2     10          5

Where Col H is a zero and Col J shows "none", formula will return "ok" else it will subtract Col J from Col H

Answer : Excel formula needed

I meant H1 - J1, not the opposite

=if(and(H1=0,J1="none"),"ok",H1-J1)

Thomas
Random Solutions  
 
programming4us programming4us