Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a custom object called Sports, where I have a master-detail relationship with Contacts. I would like to build a formula field on Sports that references a field on the contact (specifically, gender). When I go to build the formula field, I do not have Contact as an option. Is there something special I need to do to make that available?

Any help will be greatly appreciated.

Thank you.

share|improve this question
up vote 4 down vote accepted

You should just be able to do something like Contact__r.Gender__c right in your formula field, assuming the name of the master-detail relationship is Contact__c

share|improve this answer
That worked perfect!! Thank you for your help. – user2569499 Feb 5 '14 at 15:50
You can find Contact__r and other related fields if you switch to the "Advanced Formula" tab in the formula editor. – James Loghry Feb 5 '14 at 16:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.