Skip to main content Enter
Proto Workflows Headless SaaS
Enterprise
Enterprise Identity, access, deployment, and support controls for contracted environments. Version control Branches, releases, snapshots, and history in the per-app Command Centre.
Enterprise Talk to sales. Deployment, support, security, procurement and commercial terms. Contact sales
Pricing
Search apps — ⌘K / Ctrl K Sign Up
Proto Workflows Headless SaaS
Enterprise
Enterprise home Version control Contact sales
Pricing
Sign Up
  1. Home
  2. Help
  3. ERP•AI guide
  4. Formula fields

Formula fields

A Formula field calculates its value from other fields on the same record, just like a spreadsheet formula. The result updates automatically whenever the inputs change, and users can’t edit it by hand.

ERP•AI guide 2 min read Article 5 of 10 in Fields (columns)

On this page

  1. Create a Formula field
  2. Formula syntax basics
  3. Common recipes
  4. Tips and limits

Fields (columns)

  1. Field types overview
  2. Settings every field shares
  3. Basic field types
  4. Reference fields (linking tables)
  5. Formula fields
  6. Formula function reference
  7. Rollup fields
  8. Auto Fill fields
  9. AI Column
  10. Field rules: default value, display, and validation

Examples

  • Quantity * Unit Price → Line total
  • IF(Status == "Closed", "Done", "Open") → Simple label
  • ADD_DAYS(Invoice Date, 30, "D") → Due date
  • CONCATENATE(First Name, " ", Last Name) → Full name

Create a Formula field

  1. Click + Column → Formula.
  2. Enter the Property name (for example Total).
  3. Under Formula, choose the Output Type: Text, Long Text, Number, Date, or Duration.
    • When the output is Number, the Number formatting options appear (Is Currency, Integer/Decimal, Separator, Thousands Separator, Abbreviation).
  4. Type the formula in the editor, for example Quantity * Unit Price.
    • Open Available columns and click a column to insert it. Column names are used as they are, including spaces (Unit Price).
    • Available columns also lists related values, such as Created By → Email, and Current User values.
  5. Check Preview for [Record…]: pick a record to see the result before saving.
  6. Click Save.
The Formula editor with a live preview for a record
The Formula editor with a live preview for a record
Formula Help: search functions and see examples
Formula Help: search functions and see examples

Formula syntax basics

ElementExampleNotes
Column referenceQuantity, Unit PriceType the column name exactly
Text"Closed"Put text in double or single quotes (both work)
Math+ - * /Quantity * Unit Price * (1 - Discount)
Comparison== != > < >= <=Used inside IF and other logic functions (the in-app examples use == for “equals”)
FunctionROUND(Total, 2)A large library of functions. See the function reference

Getting help inside the editor

Click ƒx Functions in any expression editor to open Formula Help. It has two tabs:

  • Functions: search every function and see its description, an example, and the result
  • Parameters: the variables you can use in the current context, such as your columns and the current user’s details

Common recipes

GoalFormulaOutput
Line amountQuantity * Unit PriceNumber
Line amount with discountQuantity * Unit Price * (1 - Discount)Number
Rounded totalROUND(Quantity * Unit Price, 2)Number
Due date 30 days after invoiceADD_DAYS(Invoice Date, 30, "D")Date
Days until dueDAYS(Due Date, TODAY())Number
Full nameCONCATENATE(First Name, " ", Last Name)Text
Priority labelIF(Amount > 10000, "High", "Normal")Text
Multi-level statusIFS(Score >= 80, "A", Score >= 60, "B", TRUE, "C")Text
Upper-case codeUPPER(Code)Text
Avoid errorsIFERROR(Revenue / Units, 0)Number

Tips and limits

  • A formula uses fields from the same record. To total up child records use a Rollup. To copy a value from a linked record use Auto Fill.
  • Choose the right Output Type so the result sorts, filters, and formats correctly.
  • The same formula language is used in Field rules (Default Value, Display, and Validation) and in filter conditions that offer ƒx.
PreviousReference fields (linking tables) Next Formula function reference

Related articles

Formula function reference ERP•AI formulas support a large library of functions.Rollup fields A Rollup field summarizes records from another table that link to this record.

Get help from the team.

In ERP•AI, open the organization or app menu and choose Report an issue. For deployment, billing or contract questions, write to the team.

Contact the team Open ERP•AI
ERP.AI

Business apps and Proto, a personal agent for your business.

Products

  • Business Apps
  • Proto
  • Workflows
  • Headless SaaS
  • Platform

Company

  • Company
  • Enterprise
  • Pricing
  • Contact
  • Partners

Resources

  • Resources
  • Documentation
  • Help Center
  • Security
  • Legal
  • Photo credits
© 2026 ERP•AI. All rights reserved. · Built with Proto
System status

Your Privacy, Your Choice

We use essential cookies to run the site and optional cookies for features, analytics, and relevant content. See Cookie policy

Manage Your Cookie Preferences

We use cookies to enhance your experience, analyze site traffic, and serve relevant content. By clicking "Accept All," you agree to our use of cookies. You can customize your preferences at any time.

Your browser's Global Privacy Control signal is honored: advertising cookies are off.

Learn more about how we use cookies

These cookies are required for the website to function properly. They ensure security, enable basic features like page navigation, and store user session data. You cannot disable these cookies.

These cookies enable additional features that enhance your experience, such as live chat, video playback, personalized content recommendations, and remembering user preferences.

These cookies help us understand how visitors interact with our site by collecting anonymous usage data. This allows us to measure performance, detect issues, and continuously improve the user experience.

These cookies allow us and advertising partners, including X, to deliver ads tailored to your interests. They track browsing habits across sites to provide relevant advertising and measure ad effectiveness.

Meet Proto.Free to use.

A personal agent for your business.

Brief Proto. It works across your files and tools, then brings the results back.

89.5% of attempts accepted on BusinessBench.

Download Proto

Also for macOS Windows Linux

Your own model provider may charge for usage.