• Ankur Gurha
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Desired Logic:

Field 1: CAS Phone 1 (New Field in Salesforce)

Desired Logic:

If "Mobile" is not blank, then CAS Phone 1 = "Mobile"
If "Mobile" is blank, then CAS Phone 1 = "Work Direct"
If "Work Direct" is blank, then CAS Phone 1 = "Business Phone"
If "Business Phone" is blank, then CAS Phone 1 = "Corporate Phone"

Able to create this field with below formula:-

BLANKVALUE(MobilePhone, BLANKVALUE(Work_Direct_Phone__c, BLANKVALUE(Phone, BLANKVALUE(Corporate_Phone__c,"") ) ))

Field2: CAS Phone 2 (New Field In Salesforce)

Desired Logic:

If CAS Phone 1 = "Mobile," then CAS Phone 2 = "Work Direct"
If CAS Phone 1 = "Mobile" AND "Work Direct" is blank, then CAS Phone 2 = "Business Phone"
If CAS Phone 1 = "Mobile" AND "Work Direct" is blank AND "Business Phone" is blank, then CAS Phone 2 = "Corporate Phone"
If CAS Phone 1 = "Work Direct," then CAS Phone 2 = "Business Phone"
If CAS Phone 1 = "Work Direct" AND "Business Phone" is blank, then CAS 2 = "Corporate Phone"
If CAS Phone 1 = "Business Phone," then CAS Phone 2 = "Corporate Phone"
If CAS Phone 1 = "Corporate Phone," then CAS Phone 2 is blank

Not able to create formula for this.

Can some please help
 
Desired Logic:

Field 1: CAS Phone 1 (New Field in Salesforce)

Desired Logic:

If "Mobile" is not blank, then CAS Phone 1 = "Mobile"
If "Mobile" is blank, then CAS Phone 1 = "Work Direct"
If "Work Direct" is blank, then CAS Phone 1 = "Business Phone"
If "Business Phone" is blank, then CAS Phone 1 = "Corporate Phone"

Able to create this field with below formula:-

BLANKVALUE(MobilePhone, BLANKVALUE(Work_Direct_Phone__c, BLANKVALUE(Phone, BLANKVALUE(Corporate_Phone__c,"") ) ))

Field2: CAS Phone 2 (New Field In Salesforce)

Desired Logic:

If CAS Phone 1 = "Mobile," then CAS Phone 2 = "Work Direct"
If CAS Phone 1 = "Mobile" AND "Work Direct" is blank, then CAS Phone 2 = "Business Phone"
If CAS Phone 1 = "Mobile" AND "Work Direct" is blank AND "Business Phone" is blank, then CAS Phone 2 = "Corporate Phone"
If CAS Phone 1 = "Work Direct," then CAS Phone 2 = "Business Phone"
If CAS Phone 1 = "Work Direct" AND "Business Phone" is blank, then CAS 2 = "Corporate Phone"
If CAS Phone 1 = "Business Phone," then CAS Phone 2 = "Corporate Phone"
If CAS Phone 1 = "Corporate Phone," then CAS Phone 2 is blank

Not able to create formula for this.

Can some please help