{"id":5544,"date":"2016-12-10T10:24:13","date_gmt":"2016-12-10T09:24:13","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=5544"},"modified":"2024-02-06T16:17:59","modified_gmt":"2024-02-06T15:17:59","slug":"fill-values-using-power-query","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/fill-values-using-power-query\/","title":{"rendered":"Fill Down Values Using Power Query"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> lets you perform a series of steps to transform your Excel data. \u00a0One of the steps it allows you to take is to<strong>\u00a0fill data down easily<\/strong>.<\/p>\n<p>You might be wondering when you might need to fill data down in your table.<\/p>\n<p>Let&#8217;s suppose you have this set of data:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5547\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-01.png\" alt=\"Fill Down Values Using Power Query\" width=\"337\" height=\"455\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-01.png 337w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-01-222x300.png 222w\" sizes=\"(max-width: 337px) 100vw, 337px\" \/><\/a><\/p>\n<p>A lot of values are missing in the Sales Quarter column! It would be a lot of effort to input them one by one.<\/p>\n<p>Let us sort the <em><strong>Sales Month<\/strong><\/em>, then the <em><strong>Sales Quarter<\/strong><\/em> column to get a better understanding:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5548\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-02.png\" alt=\"Fill Down Values Using Power Query\" width=\"338\" height=\"460\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-02.png 338w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-02-220x300.png 220w\" sizes=\"(max-width: 338px) 100vw, 338px\" \/><\/a><\/p>\n<p>You can see that we have <strong>at least one sales quarter populated for each month<\/strong>.<\/p>\n<p>The technique here is that the\u00a0<strong>Fill Down<\/strong> will copy the value directly above the empty cell and then fill it down the succeeding empty cell.<\/p>\n<p>You can see from the arrows what will happen once we use\u00a0<strong>Fill Down<\/strong> in <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/\" target=\"_blank\" rel=\"noopener\" title=\"Power Query\" data-wpil-keyword-link=\"linked\">Power Query<\/a>.<\/p>\n<p>Now that you know what our game plan is, let us get started!<\/p>\n<p>&nbsp;<\/p>\n<div class=\"after-post-box\">\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/LlZh_47Yp-g?rel=0 \" width=\"800\" height=\"400\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><span data-mce-type=\"bookmark\" style=\"display: inline-block; width: 0px; overflow: hidden; line-height: 0;\" class=\"mce_SELRES_start\">\ufeff<\/span><\/iframe><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><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\"> download excel workbook <i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">Fill-Down.xlsx<\/span><\/a><\/p>\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select\u00a0your data and turn it into an Excel Table by pressing the <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> <strong>Ctrl + T <\/strong>or by going to<strong> Insert &gt; Table<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5549\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-03.png\" alt=\"Fill Down Values Using Power Query\" width=\"276\" height=\"346\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-03.png 276w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-03-239x300.png 239w\" sizes=\"(max-width: 276px) 100vw, 276px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2<\/strong>:<\/span> Go to <strong><em>Data &gt; Get &amp; Transform &gt; From Table (Excel 2016) <\/em><\/strong><em>or<\/em><strong><em> Power Query &gt; Excel Data &gt; From Table (Excel 2013 &amp; 2010)<\/em><\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Excel 2016:<\/strong><\/span><\/p>\n<p><strong><em>\u00a0<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Fill Down Values Using Power Query\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/em><\/strong><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Excel 2013 &amp; 2010:<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/from-table.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3239\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/from-table.png\" alt=\"from table\" width=\"777\" height=\"129\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/from-table.png 777w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/from-table-300x50.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/from-table-768x128.png 768w\" sizes=\"(max-width: 777px) 100vw, 777px\" title=\"\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong>This will open up the Power Query Editor.<\/p>\n<p><strong><span style=\"color: #0000ff;\">A)<\/span><\/strong> Sort the\u00a0<strong>Sales Month\u00a0<\/strong>by\u00a0<strong>Ascending order.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5551\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-05.png\" alt=\"Fill Down Values Using Power Query\" width=\"835\" height=\"121\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-05.png 835w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-05-300x43.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-05-768x111.png 768w\" sizes=\"(max-width: 835px) 100vw, 835px\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><strong>B)<\/strong> <\/span>Then sort the\u00a0<strong>Sales Quarter\u00a0<\/strong>by\u00a0<strong>Descending\u00a0order.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5552\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-06.png\" alt=\"Fill Down Values Using Power Query\" width=\"829\" height=\"137\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-06.png 829w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-06-300x50.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-06-768x127.png 768w\" sizes=\"(max-width: 829px) 100vw, 829px\" \/><\/a><\/p>\n<p>Our data is now ready for the\u00a0<strong>Fill down\u00a0<\/strong>step.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5553\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-07.png\" alt=\"Fill Down Values Using Power Query\" width=\"260\" height=\"386\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-07.png 260w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-07-202x300.png 202w\" sizes=\"(max-width: 260px) 100vw, 260px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:\u00a0<\/span><\/strong>Make sure the <strong>Sales Quarter<\/strong> column is selected. Go to <em><strong>Transform &gt; Fill &gt; Down<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-08.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5554\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-08.png\" alt=\"Fill Down Values Using Power Query\" width=\"574\" height=\"168\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-08.png 574w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-08-300x88.png 300w\" sizes=\"(max-width: 574px) 100vw, 574px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The missing values are now populated!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-09.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5555\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-09.png\" alt=\"Fill Down Values Using Power Query\" width=\"258\" height=\"567\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-09.png 258w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-09-137x300.png 137w\" sizes=\"(max-width: 258px) 100vw, 258px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5: <\/strong><\/span>Click <strong>Close &amp; Load<\/strong> from the <strong>Home<\/strong> tab and this will <strong>open up a brand new worksheet<\/strong> in your Excel workbook with the updated values.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-10.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5556\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-10.png\" alt=\"Fill Down Values Using Power Query\" width=\"366\" height=\"140\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-10.png 366w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-10-300x115.png 300w\" sizes=\"(max-width: 366px) 100vw, 366px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You now have your new table with the updated values.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-11.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Fill Down Values Using Power Query\"  class=\"alignnone size-full wp-image-5557\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-11.png\" alt=\"Fill Down Values Using Power Query\" width=\"705\" height=\"503\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-11.png 705w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-11-300x214.png 300w\" sizes=\"(max-width: 705px) 100vw, 705px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-21.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" title=\"Add Comma in Excel between Names with SUBSTITUTE Formula\"  class=\"alignnone\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/728x90.jpg\" alt=\"Add Comma in Excel between Names with SUBSTITUTE Formula\" width=\"728\" height=\"90\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Power Query lets you perform a series of steps to transform your Excel data. \u00a0One of the steps it allows you to take is to\u00a0fill data down easily. You might be wondering when you might need to fill data down in your table. Let&#8217;s suppose you have this set of data: A lot of values [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17419,"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":[121,120],"tags":[213,117],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/5544"}],"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=5544"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/5544\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17419"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=5544"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=5544"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=5544"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}