---
schema_version: "1"
id: 5c0cc82b8690283a6dd3798b8f34290d3c6a354ef34563ac9fc0986d0383d99c
title: Merge Fields for Formulas
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/fields_merge_fields_formulas.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.fields_merge_fields_formulas.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a00f94b8ed9f7a50d424d39cddd5beb2f9ed41616a48793d94fdc4794156d8c9
description: A merge field is a field you can put in an email template, mail merge template, custom link, or formula to incorporate values from a record.
products:
  - Salesforce Platform
  - Security
release: "264"
---
# Merge Fields for Formulas

A merge field is a field you can put in an email template, mail merge template, custom link, or formula to incorporate values from a record.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: both Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: all editions</td></tr></tbody></table>

## Syntax and Formatting

Merge fields for formulas aren’t enclosed in curly braces or preceded by an exclamation point, nor are they preceded by the type of record. For example: `AccountNumber`. To ensure you’re using the correct syntax, use the Insert Field button or the drop-down list in the formula editor.

#### See Also

- [Tips for Using Merge Fields in Formulas](https://help.salesforce.com/s/articleView?id=platform.tips_for_using_merge_fields_in_formulas.htm&release=264.0.0&type=5 "Get tips for working with merge fields in your formulas. Learn how to reference cross-object merge fields, work with person and business accounts, and more. Plus, find guidance on using a special merge field to reference the unique identifier for your Salesforce org in a formula.")
- [Build a Formula Field](https://help.salesforce.com/s/articleView?id=platform.customize_formulas.htm&release=264.0.0&type=5 "Your custom formula fields require special attributes.")