{"id":5004,"date":"2020-01-27T14:59:04","date_gmt":"2020-01-27T14:59:04","guid":{"rendered":"http:\/\/officetuts.net\/excel\/?p=5004"},"modified":"2024-03-28T13:59:55","modified_gmt":"2024-03-28T13:59:55","slug":"sort-pivot-table-by-value","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/","title":{"rendered":"Sort Pivot Table by Value"},"content":{"rendered":"\n
Sort-Pivot-Table-by-Value<\/a>Download File<\/a><\/div>\n\n\n\n

There may be cases when you want to sort a pivot table by\nvalues and not by labels. For example, you may want to sort names by earnings,\nwith the biggest number listed first.<\/p>\n\n\n\n

This is the table we are going to use.<\/p>\n\n\n\n

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

It shows a list of people, their age, and their earnings.\nLet’s create a pivot table from this data. Drag the fields into the fields.<\/p>\n\n\n\n

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

After you do it you are going to get the following pivot\ntable. You can change header names, but they have to be different than <\/p>\n\n\n\n

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

By default, names are listed in alphabetical order.<\/p>\n\n\n\n

If you want to sort a pivot table by value<\/a>, click a cell\ninside a table you want to sort, and navigate to Home >> Editing >> Sort &  Filter<\/strong> and choose whether you like to\nsort it from the largest to the smallest or vice versa.<\/p>\n\n\n\n

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

You can do the same with Age. Just click a cell under the Sum of Age<\/strong> and choose sorting.<\/p>\n\n\n\n

Let’s move Age<\/strong>\nfrom values to columns.<\/p>\n\n\n\n

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

The pivot table is going to change.<\/p>\n\n\n\n

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

By default, ages will be sorted from the lowest to the\nhighest number. Let’s change that and display the lowest earnings to the left\nand the highest one to the right.<\/p>\n\n\n\n

We are going to use the Custom\nSort<\/strong>. You can find it under Home\n>> Editing >> Sort & Filter<\/strong>. <\/p>\n\n\n\n

Click any Age<\/strong>\ncell inside a pivot table and then choose Custom\nSort<\/strong>.<\/p>\n\n\n\n

Inside the window, under the sort options, choose ascending\nsort by Sum of Earnings<\/strong>.<\/p>\n\n\n\n

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

After you click ok, the ages with the lowest earnings will\nbe on the left.<\/p>\n\n\n\n

\"\"<\/figure>\n","protected":false},"excerpt":{"rendered":"

There may be cases when you want to sort a pivot table by values and not by labels. For example, you may want…<\/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":"\nSort Pivot Table by Value<\/title>\n<meta name=\"description\" content=\"Learn how to sort a pivot table by value instead of labels in Excel. Download the Excel file and follow these simple steps.\" \/>\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\/sort-pivot-table-by-value\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Sort Pivot Table by Value\" \/>\n<meta property=\"og:description\" content=\"Learn how to sort a pivot table by value instead of labels in Excel. Download the Excel file and follow these simple steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-27T14:59:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-28T13:59:55+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/\"},\"author\":{\"name\":\"Tomasz Decker\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"headline\":\"Sort Pivot Table by Value\",\"datePublished\":\"2020-01-27T14:59:04+00:00\",\"dateModified\":\"2024-03-28T13:59:55+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/\"},\"wordCount\":290,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png\",\"keywords\":[\"file\",\"pinterest\"],\"articleSection\":[\"examples\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/\",\"url\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/\",\"name\":\"Sort Pivot Table by Value\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png\",\"datePublished\":\"2020-01-27T14:59:04+00:00\",\"dateModified\":\"2024-03-28T13:59:55+00:00\",\"description\":\"Learn how to sort a pivot table by value instead of labels in Excel. Download the Excel file and follow these simple steps.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage\",\"url\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png\",\"contentUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png\",\"width\":319,\"height\":280},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Sort Pivot Table by Value\"}]},{\"@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":"Sort Pivot Table by Value","description":"Learn how to sort a pivot table by value instead of labels in Excel. Download the Excel file and follow these simple steps.","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\/sort-pivot-table-by-value\/","og_locale":"en_US","og_type":"article","og_title":"Sort Pivot Table by Value","og_description":"Learn how to sort a pivot table by value instead of labels in Excel. Download the Excel file and follow these simple steps.","og_url":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/","article_published_time":"2020-01-27T14:59:04+00:00","article_modified_time":"2024-03-28T13:59:55+00:00","og_image":[{"url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png"}],"author":"Tomasz Decker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Tomasz Decker","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/"},"author":{"name":"Tomasz Decker","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"headline":"Sort Pivot Table by Value","datePublished":"2020-01-27T14:59:04+00:00","dateModified":"2024-03-28T13:59:55+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/"},"wordCount":290,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png","keywords":["file","pinterest"],"articleSection":["examples"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/","url":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/","name":"Sort Pivot Table by Value","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png","datePublished":"2020-01-27T14:59:04+00:00","dateModified":"2024-03-28T13:59:55+00:00","description":"Learn how to sort a pivot table by value instead of labels in Excel. Download the Excel file and follow these simple steps.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#primaryimage","url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png","contentUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2020\/01\/table.png","width":319,"height":280},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/examples\/sort-pivot-table-by-value\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Sort Pivot Table by Value"}]},{"@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\/5004"}],"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=5004"}],"version-history":[{"count":3,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/5004\/revisions"}],"predecessor-version":[{"id":14340,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/5004\/revisions\/14340"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=5004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=5004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=5004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}