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
Emmanuel CoronaEmmanuel Corona 

IF formula

Greetings!

 

I have a problem with my if statement

 

I don't kow where i'm wrong i'm lost with many if lol

 

if (Clasificacion_comercial__c ="ON",if( text(SLA__r.Tipo_de_Edificio_que_Aplica__c )="ON",if (Clasificacion_comercial__c ="SOT",if( text(SLA__r.Tipo_de_Edificio_que_Aplica__c )="SOT",if (Clasificacion_comercial__c ="OTROS",if( text(SLA__r.Tipo_de_Edificio_que_Aplica__c )="OTROS", SLA__r.Name ,"SLA no asignado"),"SLA sin Asignar")))))

 

What i need is that if the clasificiacion comercial (from object1) is equal to tipo de edificio que aplica (from object2) i get the name from the object2

 

I'll really appreciate your help.

Best Answer chosen by Admin (Salesforce Developers) 
Marko LamotMarko Lamot

 

if (Clasificacion_comercial__c = text(SLA__r.Tipo_de_Edificio_que_Aplica__c ),SLA__r.Name ,"SLA no asignado","SLA sin Asignar")

 

All Answers

Marko LamotMarko Lamot

 

if (Clasificacion_comercial__c = text(SLA__r.Tipo_de_Edificio_que_Aplica__c ),SLA__r.Name ,"SLA no asignado","SLA sin Asignar")

 

This was selected as the best answer
Emmanuel CoronaEmmanuel Corona
Thank you Marko!!! :)