{"id":681,"date":"2026-06-20T09:00:00","date_gmt":"2026-06-20T03:30:00","guid":{"rendered":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/"},"modified":"2026-06-20T09:00:00","modified_gmt":"2026-06-20T03:30:00","slug":"salesforce-roll-up-summary-fields","status":"publish","type":"post","link":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/","title":{"rendered":"Salesforce Roll-Up Summary Fields and Cross-Object Formulas"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Salesforce Roll-Up Summary Fields calculate totals from child records and store them on the parent, such as the total fees collected for a course. Cross-object formulas work in the other direction and bring parent data down to the child, such as the course fee on each enrollment. In our <a href=\"https:\/\/swapnilzambare.com\/blog\/master-detail-vs-lookup-salesforce\/\">master-detail vs lookup guide<\/a>, you created a simple Total Enrollments count. Now you will go further with filters, several roll-up types and formulas that span objects.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In this post, you will learn the four roll-up types, how filters and recalculation work, and what cross-object formulas can and cannot do. Then you will add money and progress fields to the Course and Enrollment objects at Bright Path Tutors. You should know formula basics from our <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-formula-fields-field-types\/\">formula fields guide<\/a> before you start.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What are Salesforce Roll-Up Summary Fields?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A roll-up summary field is a read-only field on a parent record that calculates a value from its child records. It can count the children, or find the sum, the smallest value or the largest value of a child field. Salesforce updates it automatically whenever a child is added, changed or deleted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A cross-object formula is a formula field that reads fields from a parent record. For example, an Enrollment can show its Course&#8217;s fee, or even the student&#8217;s school name, two levels up.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a simple analogy. Think of a class teacher and her students. The teacher&#8217;s register shows the class total and the highest mark, which is a roll-up. Each student&#8217;s report card shows the teacher&#8217;s name at the top, which is a cross-object formula. Data flows up for totals and down for details.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Why Salesforce Roll-Up Summary Fields Matter<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Managers want totals on the parent page, not in a separate report. They also want child records to show key parent details without extra clicks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are some real situations at Bright Path Tutors.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The academic head wants each course page to show the total fees collected.<\/li>\n\n<li>Finance wants only paid enrollments counted, not free trial seats.<\/li>\n\n<li>Support agents want each enrollment to show the balance the student still owes.<\/li>\n\n<li>The sales team wants the student&#8217;s school name on every enrollment for reports.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">So these two tools put the right numbers in the right place, with no code.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How Salesforce Roll-Up Summary Fields Work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A roll-up summary follows a clear chain. First, a child record, such as an Enrollment, is created or edited. Next, Salesforce checks the roll-up&#8217;s filter criteria, like &#8220;Fee Paid greater than 0&#8221;. Then it recalculates the COUNT, SUM, MIN or MAX across all matching children. Finally, it saves the new value on the parent Course.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A cross-object formula works on demand instead. Each time someone views the child record or runs a report, the formula reads the parent&#8217;s current values and shows the result.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-1-1024x640.png\" alt=\"Salesforce Roll-Up Summary Fields diagram showing child totals and cross-object formulas\" class=\"wp-image-672\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-1-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-1-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-1-768x480.png 768w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-1-1536x960.png 1536w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-1-2048x1280.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">How Salesforce Roll-Up Summary Fields work: child values flow up to the parent as totals, while cross-object formulas bring parent values down to the child.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Both tools depend on relationships, which is why we built the Enrollment object as a junction with two master-detail fields. Roll-ups need a master-detail relationship, while cross-object formulas work with both lookup and master-detail.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Key Parts of Salesforce Roll-Up Summary Fields<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">The four roll-up types<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">First, choose the calculation. COUNT counts child records. SUM adds a number, currency or percent field. MIN and MAX find the smallest or largest value, and they also work with date fields.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Filter criteria<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Next, a filter limits which children count. For example, &#8220;Fee Paid greater than 0&#8221; skips free trial seats. Without a filter, every child record is included.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Recalculation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Then remember that changing a roll-up definition starts a mass recalculation. Large objects can take some time, and the field shows old values until it finishes. So make big changes outside working hours. Also, roll-up values are stored like normal fields. This means you can filter list views and reports on them, and use them in validation rules, just like any other number field.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Cross-object formula syntax<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Cross-object formulas use the relationship name with __r for custom relationships. For example, Course__r.Fee__c reads the fee from the parent course. You can go up to ten relationships away, such as Student__r.Account.Name.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Limits of roll-up summary fields<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Finally, roll-ups have some rules. They cannot sum a formula field that uses cross-object references or functions like TODAY. Each object also has a limit on how many roll-up fields it can have, so plan them.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The table below shows the fields we will create at Bright Path Tutors.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Field<\/th><th>Object<\/th><th>Type<\/th><th>Calculation<\/th><\/tr><\/thead><tbody><tr><td>Total Fees Collected<\/td><td>Course<\/td><td>Roll-up, SUM<\/td><td>Sum of Fee Paid<\/td><\/tr><tr><td>Paid Enrollments<\/td><td>Course<\/td><td>Roll-up, COUNT<\/td><td>Count where Fee Paid above 0<\/td><\/tr><tr><td>Highest Payment<\/td><td>Course<\/td><td>Roll-up, MAX<\/td><td>Largest Fee Paid<\/td><\/tr><tr><td>Balance Due<\/td><td>Enrollment<\/td><td>Cross-object formula<\/td><td>Course fee minus Fee Paid<\/td><\/tr><tr><td>School Name<\/td><td>Enrollment<\/td><td>Cross-object formula<\/td><td>Student&#8217;s account name<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Roll-Up Summary Fields vs Cross-Object Formulas<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Beginners often mix up the two tools, because both use related records. The table below compares them.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Feature<\/th><th>Roll-up summary field<\/th><th>Cross-object formula<\/th><\/tr><\/thead><tbody><tr><td>Direction<\/td><td>Children up to parent<\/td><td>Parent down to child<\/td><\/tr><tr><td>Relationship needed<\/td><td>Master-detail<\/td><td>Lookup or master-detail<\/td><\/tr><tr><td>Value stored<\/td><td>Yes, saved on the parent<\/td><td>No, calculated when read<\/td><\/tr><tr><td>Can filter records<\/td><td>Yes<\/td><td>No<\/td><\/tr><tr><td>Best for<\/td><td>Totals, counts, highest values<\/td><td>Showing parent details on children<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In short, use Salesforce Roll-Up Summary Fields when the parent needs a total. Use a cross-object formula when the child needs to show a parent value.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-2-1024x640.png\" alt=\"Salesforce Roll-Up Summary Fields diagram comparing roll-ups with cross-object formulas\" class=\"wp-image-673\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-2-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-2-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-2-768x480.png 768w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-2-1536x960.png 1536w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-diagram-2-2048x1280.png 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Roll-up summary fields compared with cross-object formulas, and when to use each one.<\/figcaption><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Hands-on Example: Salesforce Roll-Up Summary Fields for Courses<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let&#8217;s add the fields in your Developer Edition org.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 1: Create a SUM roll-up<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to Setup, then Object Manager, then Course, then Fields and Relationships, and click New.<\/li>\n\n<li>Choose Roll-Up Summary and name it &#8220;Total Fees Collected&#8221;.<\/li>\n\n<li>Pick Enrollments as the summarized object, choose SUM, and select Fee Paid. Save.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 2: Create a filtered COUNT roll-up<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create another roll-up called &#8220;Paid Enrollments&#8221; with COUNT on Enrollments.<\/li>\n\n<li>Under filter criteria, choose &#8220;Only records meeting certain criteria&#8221; and add Fee Paid greater than 0. Save.<\/li>\n\n<li>Then create &#8220;Highest Payment&#8221; with MAX on Fee Paid.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">Step 3: Add a progress formula on Course<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A formula on the same object can use roll-up fields. Create a Percent formula field called &#8220;Collection Percent&#8221; with the formula below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>IF(\n  Fee__c * Total_Enrollments__c = 0,\n  0,\n  Total_Fees_Collected__c \/ (Fee__c * Total_Enrollments__c)\n)<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The IF stops a divide-by-zero error when a course has no enrollments yet. For example, a new Robotics course with zero students would show an error on its page without this check. With it, the field simply shows 0%.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 4: Add cross-object formulas on Enrollment<\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Open Object Manager, then Enrollment, and create a Currency formula called &#8220;Balance Due&#8221; with the formula below.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>Course__r.Fee__c - Fee_Paid__c<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>Then create a Text formula called &#8220;School Name&#8221; with the formula below.<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-code\"><code>Student__r.Account.Name<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Course__r follows the master-detail field to the Course, and Student__r follows the Student field to the Contact. Then Account.Name goes one more level up to the school.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Step 5: Check the totals with SOQL<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Developers can confirm the roll-ups with this aggregate SOQL query on the child.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT Course__r.Name, SUM(Fee_Paid__c) total, COUNT(Id) seats\nFROM Enrollment__c\nGROUP BY Course__r.Name<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The result should match the parent fields from this second query.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT Name, Total_Fees_Collected__c, Paid_Enrollments__c, Collection_Percent__c\nFROM Course__c\nORDER BY Total_Fees_Collected__c DESC<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The result might look like this.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Name             Total_Fees_Collected__c  Paid_Enrollments__c  Collection_Percent__c\nSpoken English   96000                    11                   88.89\nPython for Kids  45000                    5                    100<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Common Mistakes with Salesforce Roll-Up Summary Fields<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Using a lookup relationship.<\/strong> Roll-ups need master-detail, so plan the relationship first.<\/li>\n\n<li><strong>Summing a field that uses TODAY.<\/strong> Salesforce blocks it, so use a stored field instead.<\/li>\n\n<li><strong>Forgetting filters.<\/strong> Free or cancelled records then inflate the totals.<\/li>\n\n<li><strong>Dividing by zero in formulas.<\/strong> Always wrap the division in an IF check.<\/li>\n\n<li><strong>Changing roll-ups at peak hours.<\/strong> Recalculation can slow down big objects for a while.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for Salesforce Roll-Up Summary Fields<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Name fields by their meaning.<\/strong> &#8220;Paid Enrollments&#8221; is clearer than &#8220;Enrollment Count 2&#8221;.<\/li>\n\n<li><strong>Add help text.<\/strong> Explain the filter, such as &#8220;Counts enrollments with a payment&#8221;.<\/li>\n\n<li><strong>Use flows for lookups.<\/strong> Our <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-flow-types-explained\/\">flow types guide<\/a> shows how a record-triggered flow can total lookup children.<\/li>\n\n<li><strong>Keep formulas short.<\/strong> Long chains across many objects are hard to read and slow reports.<\/li>\n\n<li><strong>Show the fields on layouts.<\/strong> Totals help most when users see them on the record page.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Practice Task<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add a &#8220;Lowest Payment&#8221; roll-up with MIN on Fee Paid, filtered to Fee Paid greater than 0. Then add a cross-object formula on Enrollment that shows the Course Level.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hint: Level is a picklist, so wrap it with TEXT(Course__r.Level__c) in the formula.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Salesforce Roll-Up Summary Fields FAQ<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Can I create a roll-up on a standard object?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, on some standard relationships, such as Opportunities on Account and Opportunity Products on Opportunity.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Can a cross-object formula read child records?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">No. Formulas only read parent records, so use a roll-up or a flow for children.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Do roll-ups update when a child is deleted?<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Deleting or undeleting a child recalculates the parent&#8217;s roll-up value.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/help.salesforce.com\/s\/articleView?language=en_US&amp;id=platform.fields_about_roll_up_summary_fields.htm&amp;type=5\" target=\"_blank\" rel=\"noopener noreferrer\">Roll-Up Summary Field (Salesforce Help)<\/a><\/li>\n\n<li><a href=\"https:\/\/trailhead.salesforce.com\/content\/learn\/modules\/point_click_business_logic\/roll_up_summary_fields\" target=\"_blank\" rel=\"noopener noreferrer\">Implement Roll-Up Summary Fields (Trailhead)<\/a><\/li>\n\n<li><a href=\"https:\/\/help.salesforce.com\/s\/articleView?id=sf.customize_functions.htm&amp;type=5\" target=\"_blank\" rel=\"noopener noreferrer\">Formula Operators and Functions (Salesforce Help)<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Quick Recap<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Salesforce Roll-Up Summary Fields total child records on the parent.<\/li>\n\n<li>COUNT, SUM, MIN and MAX are the four roll-up types.<\/li>\n\n<li>Filters decide which children count, like paid enrollments only.<\/li>\n\n<li>Cross-object formulas bring parent values down to child records.<\/li>\n\n<li>Roll-ups need master-detail, while formulas work with lookups too.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What&#8217;s Next?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Your data now totals and links itself. Next, we return to security and learn a cleaner way to bundle permissions for each job role. Read <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-permission-set-groups-muting\/\">Salesforce Permission Set Groups and Muting Permission Sets<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce Roll-Up Summary Fields calculate totals from child records and store them on the parent, such as the total fees collected for a course.&hellip;<\/p>\n","protected":false},"author":1,"featured_media":674,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_swapz_level":"","_swapz_series_part":0,"_swapz_hide_toc":false,"_swapz_hide_featured":false,"_swapz_description":"","footnotes":""},"categories":[67,8,13],"tags":[43,21,26,7],"swapz_series":[],"class_list":["post-681","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced-admin","category-salesforce","category-salesforce-admin","tag-fields","tag-formula-fields","tag-intermediate","tag-salesforce"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Salesforce Roll-Up Summary Fields and Formulas<\/title>\n<meta name=\"description\" content=\"Salesforce Roll-Up Summary Fields explained: COUNT, SUM, MIN and MAX with filters, plus cross-object formulas, with a hands-on course fees example.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Salesforce Roll-Up Summary Fields and Formulas\" \/>\n<meta property=\"og:description\" content=\"Salesforce Roll-Up Summary Fields explained: COUNT, SUM, MIN and MAX with filters, plus cross-object formulas, with a hands-on course fees example.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"Swapnil Zambare - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-06-20T03:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Swapnil Zambare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Swapnil Zambare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/\"},\"author\":{\"name\":\"Swapnil Zambare\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/922ac0131aaa7088c78c2cb1700e0c9a\"},\"headline\":\"Salesforce Roll-Up Summary Fields and Cross-Object Formulas\",\"datePublished\":\"2026-06-20T03:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/\"},\"wordCount\":1571,\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-roll-up-summary-fields-featured.png\",\"keywords\":[\"Fields\",\"Formula Fields\",\"Intermediate\",\"Salesforce\"],\"articleSection\":[\"Advanced Admin\",\"Salesforce\",\"Salesforce Admin\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/\",\"name\":\"Salesforce Roll-Up Summary Fields and Formulas\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-roll-up-summary-fields-featured.png\",\"datePublished\":\"2026-06-20T03:30:00+00:00\",\"description\":\"Salesforce Roll-Up Summary Fields explained: COUNT, SUM, MIN and MAX with filters, plus cross-object formulas, with a hands-on course fees example.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/#primaryimage\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-roll-up-summary-fields-featured.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/salesforce-roll-up-summary-fields-featured.png\",\"width\":2400,\"height\":1260,\"caption\":\"Salesforce Roll-Up Summary Fields featured image: totals up, details down\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/salesforce-roll-up-summary-fields\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Salesforce Roll-Up Summary Fields and Cross-Object Formulas\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"name\":\"Swapnil Zambare - Blog\",\"description\":\"Salesforce &amp; Tech Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\",\"name\":\"Swapnil Zambare - Blog\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Swapnil Zambare - Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/theSwapnilZambare\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/922ac0131aaa7088c78c2cb1700e0c9a\",\"name\":\"Swapnil Zambare\",\"sameAs\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\"],\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/author\\\/swapnil-zambare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Salesforce Roll-Up Summary Fields and Formulas","description":"Salesforce Roll-Up Summary Fields explained: COUNT, SUM, MIN and MAX with filters, plus cross-object formulas, with a hands-on course fees example.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/","og_locale":"en_US","og_type":"article","og_title":"Salesforce Roll-Up Summary Fields and Formulas","og_description":"Salesforce Roll-Up Summary Fields explained: COUNT, SUM, MIN and MAX with filters, plus cross-object formulas, with a hands-on course fees example.","og_url":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/","og_site_name":"Swapnil Zambare - Blog","article_published_time":"2026-06-20T03:30:00+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-featured.png","type":"image\/png"}],"author":"Swapnil Zambare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Swapnil Zambare","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/#article","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/"},"author":{"name":"Swapnil Zambare","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/922ac0131aaa7088c78c2cb1700e0c9a"},"headline":"Salesforce Roll-Up Summary Fields and Cross-Object Formulas","datePublished":"2026-06-20T03:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/"},"wordCount":1571,"publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-featured.png","keywords":["Fields","Formula Fields","Intermediate","Salesforce"],"articleSection":["Advanced Admin","Salesforce","Salesforce Admin"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/","url":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/","name":"Salesforce Roll-Up Summary Fields and Formulas","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/#primaryimage"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-featured.png","datePublished":"2026-06-20T03:30:00+00:00","description":"Salesforce Roll-Up Summary Fields explained: COUNT, SUM, MIN and MAX with filters, plus cross-object formulas, with a hands-on course fees example.","breadcrumb":{"@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/#primaryimage","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-featured.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/10\/salesforce-roll-up-summary-fields-featured.png","width":2400,"height":1260,"caption":"Salesforce Roll-Up Summary Fields featured image: totals up, details down"},{"@type":"BreadcrumbList","@id":"https:\/\/swapnilzambare.com\/blog\/salesforce-roll-up-summary-fields\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/swapnilzambare.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Salesforce Roll-Up Summary Fields and Cross-Object Formulas"}]},{"@type":"WebSite","@id":"https:\/\/swapnilzambare.com\/blog\/#website","url":"https:\/\/swapnilzambare.com\/blog\/","name":"Swapnil Zambare - Blog","description":"Salesforce &amp; Tech Guides","publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/swapnilzambare.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/swapnilzambare.com\/blog\/#organization","name":"Swapnil Zambare - Blog","url":"https:\/\/swapnilzambare.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","width":512,"height":512,"caption":"Swapnil Zambare - Blog"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/theSwapnilZambare"]},{"@type":"Person","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/922ac0131aaa7088c78c2cb1700e0c9a","name":"Swapnil Zambare","sameAs":["https:\/\/swapnilzambare.com\/blog"],"url":"https:\/\/swapnilzambare.com\/blog\/author\/swapnil-zambare\/"}]}},"_links":{"self":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/681","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/comments?post=681"}],"version-history":[{"count":0,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/681\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media\/674"}],"wp:attachment":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media?parent=681"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/categories?post=681"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/tags?post=681"},{"taxonomy":"swapz_series","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/swapz_series?post=681"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}