ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   New Users to Excel (https://www.excelbanter.com/new-users-excel/)
-   -   Restraints on an "if" statement (https://www.excelbanter.com/new-users-excel/120891-re-restraints-if-statement.html)

Max

Restraints on an "if" statement
 
Something like this in say, C1:
=IF(A1="","",IF(MAX(A1,0)B1,"C","D"))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"jmac2006" wrote:
Hi there,

I have a simple "if" statement and am trying to add a constraint.
Essentially, the statement is:

If(AB, C, D)

However, I wan to say if "A" is a negative number, then it should be 0
(can't have a negative number).

Anyone have any advice?

Thanks



All times are GMT +1. The time now is 06:50 PM.

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