{"id":4951,"date":"2020-01-27T13:01:56","date_gmt":"2020-01-27T13:01:56","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=4951"},"modified":"2024-03-28T12:03:16","modified_gmt":"2024-03-28T12:03:16","slug":"pivot-table-add-a-calculated-field","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/","title":{"rendered":"Pivot Table Add a Calculated Field"},"content":{"rendered":"\n
Pivot-Table-Add-a-Calculated-Field<\/a>Download File<\/a><\/div>\n\n\n\n

When you create a pivot table, you can see pivot fields from your original source. If you want, you can also create your own fields, called calculated fields.<\/p>\n\n\n\n

A calculated field is a field that uses data from the other pivot\ntable fields and makes calculations on them.<\/p>\n\n\n\n

Let’s create a very simple pivot table, using this very simple table. It has 10 names with the number of units sold and revenue made from the sales.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Create a pivot table from the table and check all the pivot\ntable fields.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Navigate to PivotTable\nTools >> Calculations >> Fields, Items, & Sets >> Calculated\nField<\/strong> to add a calculated field.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

After you choose this option, a window will appear. Here, you\ncan add a calculated field.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

We would like to reward salespeople for the revenue they\nmade for the company. Let’s add a 5% bonus to their revenue.<\/p>\n\n\n\n

Click the Revenue<\/strong>\nfield and add Insert Field<\/strong> (or just\ndouble-click). Multiply this value by 5%. Here, you can add a space for more\nreadability, but it’s not necessary. Then change the name of the field to Bonus<\/strong>. The data should look like this.<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Click OK<\/strong> to add\nthe field.<\/p>\n\n\n\n

Now, we have a new calculated field, called Sum of Bonus,<\/strong> and fields called Sum of Sales<\/strong>, and Sum of Revenue<\/strong>.<\/p>\n\n\n\n

You can change the names, but they should be different than\nthat of pivot table fields.<\/p>\n\n\n\n

In this example, we just take one field from a pivot table\nand multiply it by 5 percent.<\/p>\n\n\n\n

This is an example of a very simple calculated field, but\nyou can create more complicated ones and use more than one pivot table field in\nyour calculated field.<\/p>\n","protected":false},"excerpt":{"rendered":"

When you create a pivot table, you can see pivot fields from your original source. If you want, you can also create your…<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21],"tags":[170,190],"yoast_head":"\nPivot Table Add a Calculated Field<\/title>\n<meta name=\"description\" content=\"Learn how to create a calculated field in pivot tables! Use Excel to make the calculations for you and get the information you need quickly.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pivot Table Add a Calculated Field\" \/>\n<meta property=\"og:description\" content=\"Learn how to create a calculated field in pivot tables! Use Excel to make the calculations for you and get the information you need quickly.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-27T13:01:56+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T12:03:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png\" \/>\n<meta name=\"author\" content=\"Tomasz Decker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tomasz Decker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"Pivot Table Add a Calculated Field\",\"datePublished\":\"2020-01-27T13:01:56+00:00\",\"dateModified\":\"2024-03-28T12:03:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/\"},\"wordCount\":292,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png\",\"keywords\":[\"file\",\"pinterest\"],\"articleSection\":[\"examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/\",\"url\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/\",\"name\":\"Pivot Table Add a Calculated Field\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png\",\"datePublished\":\"2020-01-27T13:01:56+00:00\",\"dateModified\":\"2024-03-28T12:03:16+00:00\",\"description\":\"Learn how to create a calculated field in pivot tables! Use Excel to make the calculations for you and get the information you need quickly.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage\",\"url\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png\",\"contentUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png\",\"width\":355,\"height\":280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Pivot Table Add a Calculated Field\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pivot Table Add a Calculated Field","description":"Learn how to create a calculated field in pivot tables! Use Excel to make the calculations for you and get the information you need quickly.","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:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/","og_locale":"en_US","og_type":"article","og_title":"Pivot Table Add a Calculated Field","og_description":"Learn how to create a calculated field in pivot tables! Use Excel to make the calculations for you and get the information you need quickly.","og_url":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/","article_published_time":"2020-01-27T13:01:56+00:00","article_modified_time":"2024-03-28T12:03:16+00:00","og_image":[{"url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png"}],"author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"Pivot Table Add a Calculated Field","datePublished":"2020-01-27T13:01:56+00:00","dateModified":"2024-03-28T12:03:16+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/"},"wordCount":292,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png","keywords":["file","pinterest"],"articleSection":["examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/","url":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/","name":"Pivot Table Add a Calculated Field","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png","datePublished":"2020-01-27T13:01:56+00:00","dateModified":"2024-03-28T12:03:16+00:00","description":"Learn how to create a calculated field in pivot tables! Use Excel to make the calculations for you and get the information you need quickly.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#primaryimage","url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png","contentUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/pivot-table-example.png","width":355,"height":280},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/examples\/pivot-table-add-a-calculated-field\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Pivot Table Add a Calculated Field"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4951"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=4951"}],"version-history":[{"count":2,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4951\/revisions"}],"predecessor-version":[{"id":14232,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/4951\/revisions\/14232"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=4951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=4951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=4951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}