function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Laxmi Reddy 12Laxmi Reddy 12 

I am trying to create a formula field. But getting error. Below is by syntax

IMAGE (IF( AND( ISPICKVAL( Rating , 'Hot'&&  BillingAddress,'Ban'),'/resource/Green',

IF (ISPICKVAL(Rating , 'Cold'&& BillingAddress,'Hyd'),'/resource/Yellow', 

IF( ISPICKVAL(Rating, 'Warm'&& BillingAddress,'Viz'), '/resource/Red')))))
SwethaSwetha (Salesforce Developers) 
HI Laxmi,
What is the error message? Thanks
CharuDuttCharuDutt
Hii Laxmi Reddy
Try the following Code
This Is just For One Picklist Value 
IF( ISPICKVAL( picklist Field , 'picklist Value') , IMAGE( ImgaeUrl , 'Alternate text' , 200, 200), null)
Please Mark It As Best Answer If It Helps.
Thank you...