A Cross-object formula is a formula that spans two related objects and
references merge fields on those objects. A cross-object formula can reference merge fields from
a master (“parent”) object if an object is on the detail side of a master-detail relationship. A
cross-object formula also works with lookup relationships.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: all editions |
You can reference fields from objects that are up to 10 relationships away. A cross-object
formula is available anywhere formulas are used except when creating default values.
You can't include an object as the lookup field in a formula. To reference an object,
reference the object's ID field or another field on the object. For example, Account.Owner is invalid because it references the object
directly. Account.Owner.FirstName or Account.OwnerId are valid references for your formula.