{"id":23539,"date":"2022-01-31T11:03:09","date_gmt":"2022-01-31T10:03:09","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=23539"},"modified":"2024-02-06T16:19:07","modified_gmt":"2024-02-06T15:19:07","slug":"change-data-source-in-pivot-table","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/change-data-source-in-pivot-table\/","title":{"rendered":"Change Data Source in Pivot Table"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/12\/Change-Data-Source.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Change Data Source in Pivot Table\"  class=\"alignnone size-full wp-image-25458\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/12\/Change-Data-Source.png\" alt=\"Change Data Source in Pivot Table\" width=\"800\" height=\"450\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/12\/Change-Data-Source.png 800w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/12\/Change-Data-Source-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/12\/Change-Data-Source-768x432.png 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/a><\/p>\n<p>After you have finished setting up your <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>, it is very easy to <strong>change the data source<\/strong> in case you made a mistake or just need to change it. Let me show you how to do it in a couple of steps!<\/p>\n<p>&nbsp;<\/p>\n<p><em><strong>E<\/strong><\/em><em><strong>xercise Workbook:<\/strong><\/em><\/p>\n<div class=\"after-post-box\">\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\"><strong>download excel workbook<i class=\"fa fa-download\"><\/i><\/strong><\/span><span class=\"postTitle px-3\">Change-Data-Source.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<hr \/>\n<p>Let us go over our current Pivot Table and select any cell inside it:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Change Data Source in Pivot Table\"  class=\"alignnone size-full wp-image-23556\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-01.jpg\" alt=\"Change Data Source in Pivot Table\" width=\"440\" height=\"319\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-01.jpg 440w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-01-300x218.jpg 300w\" sizes=\"(max-width: 440px) 100vw, 440px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> Let us check out the current data source. Go to <em><strong>PivotTable Analyze &gt; Data &gt; Change Data Source<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Change Data Source in Pivot Table\"  class=\"alignnone wp-image-23557 size-full\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-02.jpg\" alt=\"Change Data Source in Pivot Table\" width=\"442\" height=\"134\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-02.jpg 442w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-02-300x91.jpg 300w\" sizes=\"(max-width: 442px) 100vw, 442px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> You can see that our current setup is incorrect as it covers only a part of a Data Range. Let us fix that!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Change Data Source in Pivot Table\"  class=\"alignnone size-full wp-image-23558\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-03.jpg\" alt=\"Change Data Source in Pivot Table\" width=\"1219\" height=\"512\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-03.jpg 1219w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-03-300x126.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-03-1024x430.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-03-768x323.jpg 768w\" sizes=\"(max-width: 1219px) 100vw, 1219px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><\/span> It is better to always use an <strong>Excel Table<\/strong> as your data source so that when you update your data it will be always included inside your data source.<\/p>\n<p>Go to the\u00a0<strong>Data_Table\u00a0<\/strong>worksheet and select the entire data table (you can use the <strong>CTRL+A<\/strong> keyboard <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/333-excel-shortcuts-for-windows-and-mac\/\" target=\"_blank\" rel=\"noopener\" title=\"shortcut\" data-wpil-keyword-link=\"linked\">shortcut<\/a> to select the table).<\/p>\n<p>Click <strong>OK<\/strong>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Change Data Source in Pivot Table\"  class=\"alignnone size-full wp-image-23559\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-04.jpg\" alt=\"Change Data Source in Pivot Table\" width=\"1260\" height=\"521\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-04.jpg 1260w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-04-300x124.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-04-1024x423.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-04-768x318.jpg 768w\" sizes=\"(max-width: 1260px) 100vw, 1260px\" \/><\/p>\n<p>And your Pivot Table is now reflecting the new <strong>data source<\/strong>!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Change Data Source in Pivot Table\"  class=\"alignnone size-full wp-image-23560\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-05.jpg\" alt=\"Change Data Source in Pivot Table\" width=\"561\" height=\"274\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-05.jpg 561w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2021\/05\/Change-Data-Source-05-300x147.jpg 300w\" sizes=\"(max-width: 561px) 100vw, 561px\" \/><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After you have finished setting up your Pivot Table, it is very easy to change the data source in case you made a mistake or just need to change it. Let me show you how to do it in a couple of steps! &nbsp; Exercise Workbook: download excel workbookChange-Data-Source.xlsx Let us go over our current [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":25458,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[4],"tags":[909,154,910],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/23539"}],"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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/comments?post=23539"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/23539\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/25458"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=23539"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=23539"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=23539"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}