{"id":7133,"date":"2017-10-19T15:56:05","date_gmt":"2017-10-19T13:56:05","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=7133"},"modified":"2024-02-06T16:18:09","modified_gmt":"2024-02-06T15:18:09","slug":"use-first-row-as-headers-using-power-query-or-get-transform","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/use-first-row-as-headers-using-power-query-or-get-transform\/","title":{"rendered":"Use First Row as Headers Using Power Query or Get &#038; Transform"},"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>\u00a0or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.<\/p>\n<p>One of the steps it allows you to do is to<strong>\u00a0use the first row as headers<\/strong>.<\/p>\n<p>Let&#8217;s suppose you have this set of data below.\u00a0 You can see that the headers are not meaningful to us (<em>Column1, Column2, Column3<\/em>) so we want to eliminate them and replace them with the first row&#8217;s text (<em>Full Name, Country, Rank<\/em>):<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\"  class=\"alignnone size-full wp-image-7136\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-01.png\" alt=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" width=\"429\" height=\"323\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-01.png 429w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-01-300x226.png 300w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><\/a><\/p>\n<div class=\"after-post-box\">\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/osT1MmwiBlU?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\/2017\/09\/Use-First-Row-as-Headers.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers.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\">Use-First-Row-as-Headers.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\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\/2017\/09\/Use-First-Row-as-Headers-02-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\"  class=\"alignnone size-full wp-image-7141\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-02-1.png\" alt=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" width=\"231\" height=\"331\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-02-1.png 231w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-02-1-209x300.png 209w\" sizes=\"(max-width: 231px) 100vw, 231px\" \/><\/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><span style=\"color: #ff0000;\"><strong>STEP 3: <\/strong><\/span>This will open up the Power Query Editor.<\/p>\n<p>We want to change the Table headers with the first row.\u00a0 Go to <em><strong>Home &gt; Use First Row As Headers<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\"  class=\"alignnone size-full wp-image-7138\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-03.png\" alt=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" width=\"749\" height=\"398\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-03.png 749w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-03-300x159.png 300w\" sizes=\"(max-width: 749px) 100vw, 749px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong>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 cleaned table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\"  class=\"alignnone size-full wp-image-7139\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-04.png\" alt=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" width=\"410\" height=\"389\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-04.png 410w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-04-300x285.png 300w\" sizes=\"(max-width: 410px) 100vw, 410px\" \/><\/a><\/p>\n<p>You now have your new table with the brand new table header!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\"  class=\"alignnone size-full wp-image-7140\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-05.png\" alt=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" width=\"317\" height=\"250\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-05.png 317w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Use-First-Row-as-Headers-05-300x237.png 300w\" sizes=\"(max-width: 317px) 100vw, 317px\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Use First Row as Headers Using Power Query or Get &amp; Transform<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff; text-decoration: underline;\">HELPFUL RESOURCE:<\/span><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-21.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/728x90.jpg\" alt=\"728x90\" width=\"728\" height=\"90\" title=\"\"><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Power Query\u00a0or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data. One of the steps it allows you to do is to\u00a0use the first row as headers. Let&#8217;s suppose you have this set of data below.\u00a0 You can see that the headers are not meaningful to [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17360,"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":[120,121],"tags":[269,117],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/7133"}],"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=7133"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/7133\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17360"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=7133"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=7133"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=7133"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}