View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rowan Drummond
 
Posts: n/a
Default I want to set up a conditional formula

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

Hope this helps
Rowan

"MEB" wrote:

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