{"id":1118,"date":"2015-03-31T20:01:05","date_gmt":"2015-03-31T18:01:05","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=1118"},"modified":"2024-02-06T15:45:24","modified_gmt":"2024-02-06T14:45:24","slug":"conditionally-format-a-pivot-table-with-data-bars","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/conditionally-format-a-pivot-table-with-data-bars\/","title":{"rendered":"Conditionally Format a Pivot Table With Data Bars"},"content":{"rendered":"<p>Data Bars are a cool <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/excel-icon-sets\/\" target=\"_blank\" rel=\"noopener\">Conditional Formatting feature in Excel<\/a> and they add a colored bar to your values.<\/p>\n<p>The length of the data bar represents the value in the cell.\u00a0 A longer bar represents a higher value.<\/p>\n<p>You have a Gradient Fill or a Solid Fill to choose from as well as different pre-determined colors.<\/p>\n<p>If you select the <em>More Rules<\/em> option then you can select more colors as well as many different values types to format.<br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/hV7Xnmi4EXc?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"width: 0px;overflow: hidden;line-height: 0\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><\/p>\n<p><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><br \/>\n<span style=\"text-decoration: underline;color: #0000ff\"><a class=\"IRPP_minimalist icon-download\" style=\"color: #0000ff\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download workbook<\/span><span class=\"postTitle px-3\">Data-Bars.xlsx<\/span><\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000\"><strong>STEP 1:<\/strong><\/span> Select any value inside the <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener\" title=\"Pivot Table\" data-wpil-keyword-link=\"linked\">Pivot Table<\/a>. Go to\u00a0<em><strong>Home &gt; Conditional Formatting &gt; Data Bars &gt; Any Gradient Fill<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Conditionally Format a Pivot Table With Data Bars\" class=\"alignnone size-full wp-image-19759\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-01.jpg\" alt=\"Conditionally Format a Pivot Table With Data Bars\" width=\"1048\" height=\"710\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-01.jpg 1048w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-01-300x203.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-01-1024x694.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-01-768x520.jpg 768w\" sizes=\"(max-width: 1048px) 100vw, 1048px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000\"><strong>STEP 2:<\/strong><\/span> Go to\u00a0<em><strong>Formatting Options Icon<\/strong><\/em> and <strong>select the second option<\/strong> to apply the data bar formatting to the entire table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Conditionally Format a Pivot Table With Data Bars\" class=\"alignnone size-full wp-image-19760\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-02.jpg\" alt=\"Conditionally Format a Pivot Table With Data Bars\" width=\"914\" height=\"465\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-02.jpg 914w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-02-300x153.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-02-768x391.jpg 768w\" sizes=\"(max-width: 914px) 100vw, 914px\" \/><\/p>\n<p>Now you have data bars showing up for the entire pivot table.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Conditionally Format a Pivot Table With Data Bars\" class=\"alignnone size-full wp-image-19761\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-03.jpg\" alt=\"Conditionally Format a Pivot Table With Data Bars\" width=\"726\" height=\"548\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-03.jpg 726w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-03-300x226.jpg 300w\" sizes=\"(max-width: 726px) 100vw, 726px\" \/><\/p>\n<p><span style=\"color: #ff0000\"><strong>STEP 3:<\/strong><\/span> Go to\u00a0<em><strong>Formatting Options Icon<\/strong><\/em> and <strong>select the third option<\/strong> to apply the data bar formatting to the entire table while excluding the total column and row.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Conditionally Format a Pivot Table With Data Bars\" class=\"alignnone size-full wp-image-19762\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-04.jpg\" alt=\"Conditionally Format a Pivot Table With Data Bars\" width=\"881\" height=\"344\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-04.jpg 881w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-04-300x117.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-04-768x300.jpg 768w\" sizes=\"(max-width: 881px) 100vw, 881px\" \/><\/p>\n<p>You get a better visual representation as the totals do not affect the data bars!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Conditionally Format a Pivot Table With Data Bars\" class=\"alignnone size-full wp-image-19763\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-05.jpg\" alt=\"Conditionally Format a Pivot Table With Data Bars\" width=\"704\" height=\"525\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-05.jpg 704w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2015\/03\/Data-Bars-05-300x224.jpg 300w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Data Bars are a cool Conditional Formatting feature in Excel and they add a colored bar to your values. The length of the data bar represents the value in the cell.\u00a0 A longer bar represents a higher value. You have a Gradient Fill or a Solid Fill to choose from as well as different pre-determined [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":17359,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"Conditionally Format a Pivot Table With Data Bars","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[35,72,6,4],"tags":[98,86],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/1118"}],"collection":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=1118"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/1118\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17359"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=1118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=1118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=1118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}