You need to sign in to do that
Don't have an account?
Nish321
Multiple IF conditions in formula field
I'm writing a single formula field that should be the combination of all the following:
IF(Days_before_Ren__c >0, (IMAGE("/resource/1438712699000/GreenBall", "GreenBall")),
IF(Days_Until_Expiration__c<=0,(IMAGE("/resource/1440024261000/Blackball", "Blackball")),
IF(Days_before_Ren__c <=0, (IMAGE("/resource/1438712582000/RedBall", "RedBall")))))
Please help me out with the syntax.
IF(Days_before_Ren__c >0, (IMAGE("/resource/1438712699000/GreenBall", "GreenBall")),
IF(Days_Until_Expiration__c<=0,(IMAGE("/resource/1440024261000/Blackball", "Blackball")),
IF(Days_before_Ren__c <=0, (IMAGE("/resource/1438712582000/RedBall", "RedBall")))))
Please help me out with the syntax.
try this, you are missing the default if none of the conditions are true.
This is shorter and provide the same result:
Thx
All Answers
Most image files have an extension like .gif or .jpeg
try this if your files are .gif:
As a common practice, if your question is answered, please choose 1 best answer.
But you can give every answer a thumb up if that answer is helpful to you.
Thanks
It's still throwing the error : Incorrect number of parameters for function 'IF()'. Expected 3, received 2 (Related field: Formula)
try this, you are missing the default if none of the conditions are true.
This is shorter and provide the same result:
Thx
Vipul