I want to set up a conditional formula

M

MEB

I would like to set up a conditional formula but am not sure how to do it. If
A1-B1 > 0, then put the answer in cell D10, but if A1-B1 is = 0 or < 0 then
put the answer in cell D12.
Any help would be appreciated.
MEB
 
R

Rowan Drummond

A formula can only return a value to one cell. So in D10 enter
=IF(A1-B1>0,A1-B1,"")
and in D12 enter
=IF(A1-B1<=0,A1-B1,"")

Hope this helps
Rowan
 
M

MEB

It worked Thank you.MEB

Rowan Drummond said:
A formula can only return a value to one cell. So in D10 enter
=IF(A1-B1>0,A1-B1,"")
and in D12 enter
=IF(A1-B1<=0,A1-B1,"")

Hope this helps
Rowan
 
Top