ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   I want to set up a conditional formula (https://www.excelbanter.com/excel-worksheet-functions/96740-i-want-set-up-conditional-formula.html)

MEB

I want to set up a conditional formula
 
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

Rowan Drummond

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


MEB

I want to set up a conditional formula
 
It worked Thank you.MEB

"Rowan Drummond" wrote:

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


Rowan Drummond

I want to set up a conditional formula
 
You're welcome.

"MEB" wrote:

It worked Thank you.MEB

"Rowan Drummond" wrote:

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



All times are GMT +1. The time now is 01:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com