03Chapter 3: Operators and everyday functionsThis chapter assumes you can create a formula field in Setup and know the basic return types (Text, Number, Date, Checkbox). It covers the operators and functions you will use in most formulas. Branching with IF and CASE comes in the next chapter.2 min read
04Chapter 4: Branching with IF and CASEThis chapter assumes you can create a formula field in Setup, know the return types (Text, Number, Date, Checkbox), and have seen basic operators. It covers the two main branching functions and how to choose between them.2 min read
05Chapter 5: Handling blanks and avoiding divide-by-zeroThis chapter assumes you can create a formula field and know the return types (Text, Number, Date, and so on). It covers what a blank value does inside a formula and how to stop a division from failing.2 min read
06Chapter 6: Reading fields from related recordsThis chapter assumes you know how to create a formula field, choose its return type, and tell lookup relationships from master-detail relationships. Here you will learn how a formula reads fields from other records through relationships. This is called cross-object formula traversal.2 min read
07Chapter 7: Working with dates and timesThis chapter assumes you can create a formula field and choose its return type. It also assumes you know the basic operators from earlier chapters.2 min read
08Chapter 8: Formula size and relationship limitsThis chapter assumes you can create a formula field in Object Manager and understand how lookup relationships connect objects. It covers the limits you hit as formulas grow, and how to resolve each one.2 min read
09Chapter 9: Formula fields in SOQL and ApexThis chapter assumes you can write basic SOQL queries and Apex, and that you have already built a formula field. Here you will see how code reads formula fields and why code cannot write them.2 min read
10Chapter 10: Why roll-ups need a master-detail relationshipThis chapter assumes you know what objects, fields, and records are, and that you can open the Object Manager. It also assumes you know that a relationship links a child record to a parent record.2 min read
11Chapter 11: Creating COUNT, SUM, MIN, and MAX roll-upsA roll-up summary field lives on the master object of a master-detail relationship. It calculates a value from the related detail records. This chapter assumes you know how to open the Object Manager and that the detail object already has a master-detail field pointing to the master. The previous ch2 min read
12Chapter 12: Summarizing only the records you wantThis chapter assumes you can create a master-detail relationship and a basic roll-up summary field. It covers filter criteria, which limit the child records a roll-up counts.2 min read
13Chapter 13: When roll-ups recalculate and what gets lockedThis chapter assumes you can create a roll-up summary field on a master-detail relationship and know the basic idea of a database transaction. It covers what makes a roll-up recalculate and why that can cause row-lock errors.2 min read
14Chapter 14: Roll-up restrictions and per-object limitsThis chapter assumes you can create a roll-up summary field on a master-detail relationship and can read a formula field definition. Roll-ups are powerful, but they have firm rules about where they can exist and what they can summarize. Knowing these rules up front saves you from redesigning a data 2 min read
15Chapter 15: Using roll-up values inside formulasThis chapter assumes you can create a formula field and a roll-up summary field, and that you know how to guard against blank values in a formula. A roll-up summary field gives you a total on the master record. A formula field can then use that total to produce a ratio, a flag, or a label. This pair3 min read
17Chapter 17: Choosing formula, roll-up, Flow, or ApexThis chapter assumes you can build a basic formula field, know what a roll-up summary field does, and understand the difference between lookup and master-detail relationships. The goal is a repeatable way to pick the right tool for a calculation.2 min read
18Chapter 18: Best practices and troubleshootingThis chapter assumes you can build formula fields and roll-up summary fields in Setup, and that you know the limits covered earlier. It collects the habits that prevent problems and a checklist for diagnosing the ones that still occur.1 min read