You need to sign in to do that
Don't have an account?
Lisa Lee-Banks
Syntax for image formula field
I've created a formula field with the syntax below to display a yellow box when the record status is 'Committed by client'. I would like to add the logic to check if the 'Closing Date' is within 14 days of today. Is this possible?
IF(ISPICKVAL( Status__c ,
"Committed by client"), IMAGE("/img/samples/color_yellow.gif ","yellow", 30,30),"Blank")
IF(ISPICKVAL( Status__c ,
"Committed by client"), IMAGE("/img/samples/color_yellow.gif ","yellow", 30,30),"Blank")
Please mark as Best Answer if above information was helpful.
Thanks,
All Answers
Do you want to add if the condition and execute above formula if the closing date is within 14 days?
Thanks,
Please mark as Best Answer if above information was helpful.
Thanks,
If the checkbox = TRUE the colour should display
OR
If the closing date is with 14 days and the status = Committed by client the colour should display
IF(COF__c = TRUE, IMAGE("/img/samples/color_red.gif ","red", 15,120),"blank")
OR(
IF( MtgPlanner_CRM__Closing_Date__c - TODAY() < 14,
IF(AND(ISPICKVAL( MtgPlanner_CRM__Status__c ,"Committed by client")),IMAGE("/img/samples/color_red.gif ","red", 15,120),"blank"))
It would be good if you have add details and screenshot and add as another query/question so that we can check.
Thanks,
I found this syntax works:
IF( OR( Checkbox = TRUE, AND( Closing_Date__c - TODAY() < 14, ISPICKVAL( Status__c , "Committed by client") )) , IMAGE("/img/samples/color_red.gif ", "red",15,120) , "blank")