Navigation: Developer Force | App Logic | Formulas

Formulas

A formula is an algorithm, similar to a macro in a typical spreadsheet program, that derives a value from other fields, expressions, or values. Formulas have many uses — for example, for an object, use can create a custom formula field that automatically calculates the value of the field based the value in other fields of the same record. But that's just a simple example — you can use formulas in many contexts, including:

  • custom fields
  • default field values
  • data validations
  • reports
  • workflow field updates
  • workflow rules
  • approval processes
  • approval steps
  • escalation rules
  • assignment rules
  • custom buttons and links
  • Visualforce pages

Formulas can range in complexity. It's easy to get started with some basic formulas, after which you can then implement more advanced formulas, as necessary.

This is the primary resource page for learning all about formulas.

Recommended Formulas Learning Path

  1. An Introduction to Formulas
  2. Force.com Workbook (Tutorial #3)

Related Formulas Resources

Blog Posts

Articles

Documentation

Webinars and Videos

Tutorials

Discussion Forum