Skip to main content
I have the following nested IF Statement:

 

Data TypeFormula  

 

Decimal Places0  

 

IF(Closed_Won_Opportunity_s__c>4000, 1, 

 

IF(AND(Closed_Won_Opportunity_s__c>=1500,Closed_Won_Opportunity_s__c<3999),2, 

 

IF(Closed_Won_Opportunity_s__c <1499,3, 

 

IF(Closed_Won_Opportunity_s__c<1,0,0))))

 

Accounts with the (Closed_Won_Opportunity_s__c are coming up as a "3" instead of "0".  Any insights?
4 answers
  1. Sep 15, 2017, 6:44 PM

    Try this = 

    IF(

    Closed_Won_Opportunity_s__c < 1,

    0,

    IF(

    Closed_Won_Opportunity_s__c < 1499,

    3,

    IF(

    Closed_Won_Opportunity_s__c < 3999,

    2,

    IF(

    Closed_Won_Opportunity_s__c > 4000,

    1,

    NULL

    )

    )

    )

    )

0/9000