You need to sign in to do that
Don't have an account?
Rivo
Formula to Compare two fields and return a value
I think I might be suffering with cabin fever, so there's nothing left to do but to consult the Oracles.....
Basically I have custom object that contains an Account Lookup field as well as contact lookup field. I would like to create a formula field that compares the the CustomObject.AccountId with the Contact.AccountId field and return a value i.e. Matched or Mismatched.
This will then be used to report and thus a user action taken in the event of a user changing the contact changing Contact.AccountId
Help!
Have you tried something like this?
or if you want to make sure they match you can just create a Validation Rule like this
Hi Steve,
Many thanks for this.....I have a minor issue with my formula field and the following:
Regardless of whether the two values are equal or unequal, "Unmatched" is always displayed in the field.
Huh??
Try using this formula
What is the relationship between each of the objects? Master-Detail, or Lookup?
Standard Lookup field.....
I think I might know what's coming!!!
Well if you guessed "You owe me a beer!" then you'd be right.
http://beeradvocate.com/beer/profile/863/7971