{"id":9267,"date":"2018-10-02T22:21:42","date_gmt":"2018-10-02T20:21:42","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=9267"},"modified":"2024-05-24T16:56:56","modified_gmt":"2024-05-24T14:56:56","slug":"50-things-you-can-do-with-excel-power-query","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/","title":{"rendered":"50 Things You Can Do With Excel Power Query"},"content":{"rendered":"<style> .IRPP_minimalist { padding:0px; margin: 0; padding-top:1em!important; padding-bottom:1em!important; width:100%; display: block; font-weight:bold; background-color:#eaeaea; border:0!important; border-left:4px solid #22984e!important; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -o-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.17); text-decoration:none; } .IRPP_minimalist:active, .IRPP_minimalist:hover { opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; text-decoration:none; } .IRPP_minimalist { transition: background-color 250ms; webkit-transition: background-color 250ms; opacity: 1; transition: opacity 250ms; webkit-transition: opacity 250ms; } .IRPP_minimalist .ctaText { font-weight:bold; color:#e6322f; text-decoration:none; font-size: 16px; } .IRPP_minimalist .postTitle { color:#22984e; text-decoration: underline!important; font-size: 16px; } .IRPP_minimalist:hover .postTitle { text-decoration: underline!important; } <\/style>\n<p><strong>Excel Power Query<\/strong> is one of the most powerful new features within <a class=\"wpil_keyword_link\" title=\"Microsoft Excel\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/free-microsoft-excel-online-course\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">Microsoft Excel<\/a> and the easiest to learn.<\/p>\n<p>It was first introduced as an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/install-power-query-with-excel-2013\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel add-in in 2013<\/a> and was then made available in <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel 2010<\/a>. In Excel 2016 it was renamed to <strong>Get &amp; Transform<\/strong> and was available (without using an add-in) under the DATA tab in the ribbon menu. <strong>In Excel 2019<\/strong>, it will be renamed to <strong>Power Query<\/strong> once again!<\/p>\n<p>You can use<strong> Power Query<\/strong> to clean &amp; transform your data that you download from your ERP or accounting system and display it in a report for Excel to work with.<\/p>\n<p>The best thing is that you can reapply the same transformation steps<strong> in just ONE single click, saving you HOURS!<\/strong> So next week when you get the same report with updated data, a simple <strong>REFRESH<\/strong> will transform your data once again!<\/p>\n<p>I have compiled an interactive Power Query tutorial on the <strong>50 different things you can do with Excel Power Query<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-5.html\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"IRPP_minimalist\"><span style=\"display: block; padding-left:1em; padding-right:1em;\"><span class=\"ctaText\">Click Here To<\/span>&nbsp; <span class=\"postTitle\">&#x1f449; Join Our FREE Excel Pivot Tables &amp; Excel Dashboards Webinar That Will SAVE YOU HOURS At Work &amp; INCREASE Your Excel SKILLS!<\/span><\/span><\/a><\/p>\n<div>\n<p>&nbsp;<\/p>\n<div>\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_57_1 counter-flat ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title \" >Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li><a href=\"#\" class=\"scroll-to-download\">Free Practice Workbook<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/#List_of_50_Things_You_Can_Do_With_Excel_Power_Query\" title=\"List of 50 Things You Can Do With Excel Power Query\">List of 50 Things You Can Do With Excel Power Query<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/#Installing_Power_Query\" title=\"Installing Power Query\">Installing Power Query<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/#Data_Cleanup_Transformation\" title=\"Data Cleanup &amp; Transformation\">Data Cleanup &amp; Transformation<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/#Importing_Data\" title=\"Importing Data\">Importing Data<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/#The_M_Language\" title=\"The M Language\">The M Language<\/a><\/li><li class='ez-toc-page-1'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/50-things-you-can-do-with-excel-power-query\/#Bonus_Tips\" title=\"Bonus Tips\">Bonus Tips<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"List_of_50_Things_You_Can_Do_With_Excel_Power_Query\"><\/span>List of 50 Things You Can Do With Excel Power Query<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"table-of-contents\" id=\"table_of_contents\" ><br \/>\n<div class='content-column one_half'><span style=\"color: #000000 !important;\"><i class=\"fa fa-crosshairs \" ><\/i> <strong>Installing Power Query<\/strong><\/span><br \/>\n<a href=\"#section1\">Topic 1: Install Power Query in Excel 2010 <\/a><br \/>\n<a href=\"#section2\">Topic 2: Install Power Query With Excel 2013 <\/a><\/p>\n<p><span style=\"color: #000000 !important;\"><i class=\"fa fa-bolt \" ><\/i> <strong>Data Cleanup &amp; Transformation<\/strong><\/span><br \/>\n<a href=\"#section3\">Topic 3: Inventory Your Files <\/a><br \/>\n<a href=\"#section4\">Topic 4: Keep Duplicate Records<\/a><br \/>\n<a href=\"#section5\">Topic 5: Split Column By Number of Chars<\/a><br \/>\n<a href=\"#section6\">Topic 6: Duplicate Columns<\/a><br \/>\n<a href=\"#section7\">Topic 7: Use First Row as Headers<\/a><br \/>\n<a href=\"#section8\">Topic 8: Remove Columns<\/a><br \/>\n<a href=\"#section9\">Topic 9: Remove Duplicates<\/a><br \/>\n<a href=\"#section10\">Topic 10: Fill Down Values <\/a><br \/>\n<a href=\"#section11\">Topic 11: Create Index Columns <\/a><br \/>\n<a href=\"#section12\">Topic 12: Remove Rows With Errors <\/a><br \/>\n<a href=\"#section13\">Topic 13: Create Pivot Columns <\/a><br \/>\n<a href=\"#section14\">Topic 14: Group Rows and Get Counts <\/a><br \/>\n<a href=\"#section15\">Topic 15: Reverse Rows <\/a><br \/>\n<a href=\"#section16\">Topic 16: Transpose <\/a><br \/>\n<a href=\"#section17\">Topic 17: Replace Values <\/a><br \/>\n<a href=\"#section18\">Topic 18: Split First &amp; Last Name <\/a><br \/>\n<a href=\"#section19\">Topic 19: Consolidate Excel Workbooks <\/a><br \/>\n<a href=\"#section20\">Topic 20: Consolidate Multiple Excel Sheets<\/a><br \/>\n<a href=\"#section21\">Topic 21: Unpivot Data<\/a><br \/>\n<a href=\"#section22\">Topic 22: Filter Records<\/a><\/p><\/div><div class='content-column one_half last_column'><span style=\"color: #000000 !important;\"><i class=\"fa fa-flask \" ><\/i> <strong>Importing Data<\/strong><\/span><br \/>\n<a href=\"#section23\">Topic 23: Import Web Data <\/a><br \/>\n<a href=\"#section24\">Topic 24: Import Data from XML<\/a><br \/>\n<a href=\"#section25\">Topic 25: Import Data from CSV<\/a><br \/>\n<a href=\"#section26\">Topic 26: Import Data from Text<\/a><\/p>\n<p><span style=\"color: #000000 !important;\"><i class=\"fa fa-edit \" ><\/i> <strong>The M Language<\/strong><\/span><br \/>\n<a href=\"#section27\">Topic 27: Getting Started with M<\/a><br \/>\n<a href=\"#section28\">Topic 28: Excel\u2019s FIND Function with M<\/a><br \/>\n<a href=\"#section29\">Topic 29: Excel\u2019s LEN Function with M<\/a><br \/>\n<a href=\"#section30\">Topic 30: Excel\u2019s RIGHT Function with M<\/a><br \/>\n<a href=\"#section31\">Topic 31: Excel\u2019s LEFT Function with M<\/a><br \/>\n<a href=\"#section32\">Topic 32: Data Type Conversions with M<\/a><\/p>\n<p><span style=\"color: #000000 !important;\"><i class=\"fa fa-exclamation-triangle \" ><\/i> <strong>Bonus Tips<\/strong><\/span><br \/>\n<a href=\"#section33\">Topic 33: Advanced Editor<\/a><br \/>\n<a href=\"#section34\">Topic 34: Delete Steps Until End<\/a><br \/>\n<a href=\"#section35\">Topic 35: Comments in Query Steps<\/a><br \/>\n<a href=\"#section36\">Topic 36: Extract Length<\/a><br \/>\n<a href=\"#section37\">Topic 37: Count Rows<\/a><br \/>\n<a href=\"#section38\">Topic 38: Split the Date<\/a><br \/>\n<a href=\"#section39\">Topic 39: Split the Time<\/a><br \/>\n<a href=\"#section40\">Topic 40: Process Flat Data Using Modulo<\/a><br \/>\n<a href=\"#section41\">Topic 41: Format Text<\/a><br \/><\/div><div class='clear_column'><\/div><br \/>\n<\/div>\n<div class=\"jumbotron2\">\n<div class=\"meo-subcount-2\">\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-5.html\" target=\"_blank\" rel=\"noopener noreferrer\" class=\"IRPP_minimalist\"><span style=\"display: block; padding-left:1em; padding-right:1em;\"><span class=\"ctaText\">Click Here To<\/span>&nbsp; <span class=\"postTitle\">&#x1f449; Join Our FREE Excel Pivot Tables &amp; Excel Dashboards Webinar That Will SAVE YOU HOURS At Work &amp; INCREASE Your Excel SKILLS!<\/span><\/span><\/a><\/p>\n<p><!--<script type=\"text\/javascript\" src=\"https:\/\/lead.myexcelonline.com\/app\/js\/api.min.js\" data-campaign=\"f2q8uijmbbmwc3oohwuo\" data-user=\"52704\" async><\/script>--><\/p>\n<\/div>\n<\/div>\n<h2><span class=\"ez-toc-section\" id=\"Installing_Power_Query\"><\/span>Installing Power Query<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section1\"><\/a>1. How To Install Power Query in Excel 2010 <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>Power Query is a new add-in that was introduced in Excel 2013 by Microsoft and was that popular that they made it backward compatible with Excel 2010.<\/p>\n<div class=\"after-post-box\"><\/div>\n<h3 class=\"counter-reset\"><strong>So what is Power Query?<\/strong><\/h3>\n<p>Well you know when you get data from a file, a data dump\/import, or an external data source and it comes into Excel in an ugly, unworkable format? I can hear you say YEEEES!<\/p>\n<p>Well Power Query accesses, cleans, and transforms all that messy data and displays it in a way that Excel loves and can work with. The best thing is that the next time you receive the same ugly file, all you need to do is press the Refresh button and your data will automatically be cleaned up and displayed the correct way!<\/p>\n<p>So no more <a class=\"wpil_keyword_link\" title=\"formulas\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">formulas<\/a>, text to columns, trim spaces, vlookup, find &amp; replace, etc.<\/p>\n<p>You have all that functionality in Power Query at the press of a menu command! Now your life has just become a lot&#8230;well, a hell of a lot easier \ud83d\ude42<\/p>\n<p>Apart from cleaning data, Power Query can append or merge two separate tables together (bye bye VLOOKUP!) as well as create extra columns in your data that can display your custom calculations!<\/p>\n<p>You can use Power Query to perform transformations that would be very complex in <a class=\"wpil_keyword_link\" title=\"VBA\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-macros-examples\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">VBA<\/a> or SQL. So goodbye VBA coding \ud83d\ude42 \ud83d\ude42 \ud83d\ude42<\/p>\n<h3 class=\"counter-reset\"><strong>So how do I get your hands on this super awesome add-in&#8230;I hear you say?<\/strong><\/h3>\n<p>First, you need to have <a class=\"wpil_keyword_link\" title=\"Microsoft Office\" href=\"https:\/\/www.office.com\/\" target=\"_blank\" rel=\"noopener nofollow\" data-wpil-keyword-link=\"linked\">Microsoft Office<\/a> 2010 Professional Plus with Software Assurance. If you do not have this then you will need to upgrade to Office 365 using this link:<\/p>\n<p><span style=\"text-decoration: underline; color: #0000ff;\"><a style=\"color: #0000ff; text-decoration: underline;\" href=\"https:\/\/products.office.com\/en-us\/home\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/products.office.com\/en-us\/home<\/a><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong><\/span>: The first step is to check the Excel bit version that you have on your PC.<\/p>\n<p>To check the bit version, you need to go and open any Excel workbook and go to <strong>File &gt; Help<\/strong> and on the far right-hand side, you will see the <strong>Version<\/strong> and the bit number in brackets, either<strong> (32-bit) or (64-bit)<\/strong>. Once you know this, close out of Excel completely!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-2010-file-help-1.png\" rel=\"attachment wp-att-2554\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2554\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-2010-file-help-1.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"837\" height=\"434\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-2010-file-help-1.png 837w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-2010-file-help-1-300x156.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-2010-file-help-1-768x398.png 768w\" sizes=\"(max-width: 837px) 100vw, 837px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> You will need to click on the following link and <strong>download the Power Query add-in<\/strong> from Microsoft&#8217;s website:<\/p>\n<p><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\"><a style=\"color: #0000ff; text-decoration: underline;\" href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39379\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39379<\/a><\/span><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link.png\" rel=\"attachment wp-att-2551\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2551\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"830\" height=\"524\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link.png 830w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link-300x189.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link-768x485.png 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><\/span> <strong>Press the Download button<\/strong> and you will need to <strong>select the download bit version<\/strong> based on the bit system your Excel 2010 version is running (from Step 1):<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version.png\" rel=\"attachment wp-att-2556\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2556\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"745\" height=\"267\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version.png 745w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version-300x108.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/a><\/p>\n<p>Press the <strong>NEXT<\/strong> button&#8230;<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next.png\" rel=\"attachment wp-att-2557\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2557\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"398\" height=\"422\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next.png 398w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next-283x300.png 283w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/><\/a><\/p>\n<p>&#8230;and this will start the download of the add-in installer .msi file installer on your browser (if you do not see this, go to your browser&#8217;s Downloads folder).<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> Click on the .msi file to run the installer<\/strong>:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/msi.png\" rel=\"attachment wp-att-2558\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2558\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/msi.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"213\" height=\"44\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5:<\/strong><\/span> This will bring up the <strong>Microsoft Power Query for Excel Setup<\/strong>:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up.png\" rel=\"attachment wp-att-2560\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2560\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>Click the <strong>Next<\/strong> button and <strong>accept the terms of the Licence Agreement<\/strong> and press <strong>Next<\/strong> again:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement.png\" rel=\"attachment wp-att-2561\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2561\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>You will be asked in which <strong>destination folder you want to install the Power Query<\/strong>.<\/p>\n<p>Click <strong>Next for the default folder<\/strong> or <strong>Change if you want to install it in another folder:<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder.png\" rel=\"attachment wp-att-2562\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2562\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>Click <strong>Next<\/strong> and select the <strong>Install<\/strong> button:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install.png\" rel=\"attachment wp-att-2563\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2563\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>Click <strong>Yes<\/strong> if it asks you if you want to install Power Query on your computer. <strong>The install will now begin.<\/strong><\/p>\n<p>You will get the following message once your install has been <strong>completed successfully<\/strong>. Press <strong>Finish!<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete.png\" rel=\"attachment wp-att-2564\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2564\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6:<\/strong><\/span> <strong>Open a blank Excel workbook<\/strong> and on the ribbon menu you should now see the <strong>Power Query<\/strong> tab:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribbon.png\" rel=\"attachment wp-att-2566\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2566\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribbon.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"611\" height=\"123\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribbon.png 611w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribbon-300x60.png 300w\" sizes=\"(max-width: 611px) 100vw, 611px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7:<\/strong><\/span> If you<span style=\"text-decoration: underline;\"><strong> do not see the Power Query tab<\/strong><\/span> you will need to activate this from the back end of Excel.<\/p>\n<p>You will need to go to<strong> File &gt; Options &gt; Add-Ins &gt;<\/strong> and at the bottom you will need to select the <strong>Manage<\/strong> drop-down and choose <strong>COM Add-ins<\/strong> and hit the <strong>Go<\/strong> button:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/COM-addins.png\" rel=\"attachment wp-att-2567\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2567\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/COM-addins.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"455\" height=\"736\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/COM-addins.png 455w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/COM-addins-185x300.png 185w\" sizes=\"(max-width: 455px) 100vw, 455px\" \/><\/a><\/p>\n<p>This will open the COM Add-Ins dialogue box and you will need to<strong> check the box for Microsoft Power Query for Excel and press OK<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check.png\" rel=\"attachment wp-att-2568\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2568\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"607\" height=\"247\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check.png 607w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check-300x122.png 300w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/a><\/p>\n<p>You will now see Power Query on your ribbon!<br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/qVQSKkbElZA?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\">?<\/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><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section2\"><\/a>2. Install Power Query With Excel 2013 <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>Power Query is a new add-in that was introduced in Excel 2013 by Microsoft and was that popular that they made it backward compatible with Excel 2010.<\/p>\n<h3 class=\"counter-reset\"><strong>So what is Power Query?<\/strong><\/h3>\n<p>Well you know when you get data from a file, a data dump\/import, or an external data source and it comes into Excel in an ugly, unworkable format? I can hear you say YEEEES!<\/p>\n<p>Well Power Query accesses, cleans, and transforms all that messy data and displays it in a way that Excel loves and can work with. The best thing is that the next time you receive the same ugly file, all you need to do is press the Refresh button and your data will automatically be cleaned up and displayed the correct way!<\/p>\n<p>So no more formulas, text to columns, trim spaces, vlookup, find &amp; replace, etc.<\/p>\n<p>You have all that functionality in Power Query at the press of a menu command! Now your life has just become a lot&#8230;well, a hell of a lot easier \ud83d\ude42<\/p>\n<p>Apart from cleaning data, Power Query can append or merge two separate tables together (bye bye VLOOKUP!) as well as create extra columns in your data that can display your custom calculations!<\/p>\n<p>You can use Power Query to perform transformations that would be very complex in VBA or SQL. So goodbye VBA coding \ud83d\ude42 \ud83d\ude42 \ud83d\ude42<\/p>\n<h3 class=\"counter-reset\"><strong>So how do I get your hands on this super awesome add-in&#8230;I hear you say?<\/strong><\/h3>\n<p>First you need to have Microsoft Office 2013. If you do not have this then you will need to upgrade to Office 365 using this link:<\/p>\n<p><span style=\"text-decoration: underline; color: #0000ff;\"><a style=\"color: #0000ff; text-decoration: underline;\" href=\"https:\/\/products.office.com\/en-us\/home\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/products.office.com\/en-us\/home<\/a><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong><\/span>: The first step is to check the Excel bit version that you have on your PC.<\/p>\n<p>To check the bit version, you need to go and open any Excel workbook and go to <strong>File &gt; Account &gt; About Excel <\/strong>and from the pop up dialogue box you will see the <strong>bit number<\/strong>, either<strong> 32-bit or 64-bit<\/strong>. Once you know this, close out of Excel completely!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/bit-version.png\" rel=\"attachment wp-att-2658\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2658\" title=\"Install Power Query With Excel 2013\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/bit-version.png\" alt=\"Install Power Query With Excel 2013\" width=\"774\" height=\"682\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/bit-version.png 774w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/bit-version-300x264.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/bit-version-768x677.png 768w\" sizes=\"(max-width: 774px) 100vw, 774px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> You will need to click on the following link and <strong>download the Power Query add-in<\/strong> from Microsoft&#8217;s website:<\/p>\n<p><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\"><a style=\"color: #0000ff; text-decoration: underline;\" href=\"https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39379\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">https:\/\/www.microsoft.com\/en-us\/download\/details.aspx?id=39379<\/a><\/span><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link.png\" rel=\"attachment wp-att-2551\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2551\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"830\" height=\"524\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link.png 830w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link-300x189.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-link-768x485.png 768w\" sizes=\"(max-width: 830px) 100vw, 830px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><\/span> <strong>Press the Download button<\/strong> and you will need to <strong>select the download bit version<\/strong> based on the bit system your Excel 2013 version is running (from Step 1):<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version.png\" rel=\"attachment wp-att-2556\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2556\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"745\" height=\"267\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version.png 745w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-download-version-300x108.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/a><\/p>\n<p>Press the <strong>NEXT<\/strong> button&#8230;<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next.png\" rel=\"attachment wp-att-2557\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2557\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"398\" height=\"422\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next.png 398w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/next-283x300.png 283w\" sizes=\"(max-width: 398px) 100vw, 398px\" \/><\/a><\/p>\n<p>&#8230;and this will start the download of the add-in installer .msi file installer on your browser (if you do not see this, go to your browser&#8217;s Downloads folder).<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> Click on the .msi file to run the installer<\/strong>:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/msi.png\" rel=\"attachment wp-att-2558\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2558\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/msi.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"213\" height=\"44\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5:<\/strong><\/span> This will bring up the <strong>Microsoft Power Query for Excel Setup<\/strong>:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up.png\" rel=\"attachment wp-att-2560\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2560\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-set-up-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>Click the <strong>Next<\/strong> button and <strong>accept the terms of the Licence Agreement<\/strong> and press <strong>Next<\/strong> again:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement.png\" rel=\"attachment wp-att-2561\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2561\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/licence-agreement-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>You will be asked in which <strong>destination folder you want to install Power Query<\/strong>.<\/p>\n<p>Click <strong>Next for the default folder<\/strong> or <strong>Change if you want to install it in another folder:<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder.png\" rel=\"attachment wp-att-2562\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2562\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/destimation-folder-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>Click <strong>Next<\/strong> and select the <strong>Install<\/strong> button:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install.png\" rel=\"attachment wp-att-2563\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2563\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/Install-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p>Click <strong>Yes<\/strong> if it asks you if you want to install Power Query on your computer. <strong>The install will now begin.<\/strong><\/p>\n<p>You will get the following message once your install has been <strong>completed successfully<\/strong>. Press <strong>Finish!<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete.png\" rel=\"attachment wp-att-2564\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2564\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"495\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/setup-complete-300x235.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6:<\/strong><\/span> <strong>Open a blank Excel workbook<\/strong> and on the ribbon menu you should now see the <strong>Power Query<\/strong> tab:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribon.png\" rel=\"attachment wp-att-2659\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2659\" title=\"Install Power Query With Excel 2013\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribon.png\" alt=\"Install Power Query With Excel 2013\" width=\"854\" height=\"129\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribon.png 854w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribon-300x45.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/power-query-ribon-768x116.png 768w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7:<\/strong><\/span> If you<span style=\"text-decoration: underline;\"><strong> do not see the Power Query tab<\/strong><\/span> you will need to activate this from the back end of Excel.<\/p>\n<p>You will need to go to<strong> File &gt; Options &gt; Add-Ins &gt;<\/strong> and at the bottom you will need to select the <strong>Manage<\/strong> drop-down and choose <strong>COM Add-ins<\/strong> and hit the <strong>Go<\/strong> button:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-options.png\" rel=\"attachment wp-att-2660\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2660\" title=\"Install Power Query With Excel 2013\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-options.png\" alt=\"Install Power Query With Excel 2013\" width=\"826\" height=\"678\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-options.png 826w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-options-300x246.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/excel-options-768x630.png 768w\" sizes=\"(max-width: 826px) 100vw, 826px\" \/><\/a><\/p>\n<p>This will open the COM Add-Ins dialogue box and you will need to<strong> check the box for Microsoft Power Query for Excel and press OK<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check.png\" rel=\"attachment wp-att-2568\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2568\" title=\"How To Install Power Query in Excel 2010\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check.png\" alt=\"How To Install Power Query in Excel 2010\" width=\"607\" height=\"247\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check.png 607w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/03\/com-addins-check-300x122.png 300w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/><\/a><\/p>\n<p>You will now see Power Query on your ribbon!<br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/uGBaZdVdAfk?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\">?<\/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><\/p>\n<p>&nbsp;<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Data_Cleanup_Transformation\"><\/span>Data Cleanup &amp; Transformation<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section3\"><\/a>3. Inventory Your Files <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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.<\/p>\n<p>One of the possible steps that surprised me was that I could <strong>list out the files on my computer! <\/strong><\/p>\n<p>This is useful if you want to do some analysis on your file list (i.e. finding a file, checking which files have the biggest size to clear up space).<\/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\/2016\/11\/Inventory.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory.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\">Inventory.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Go to <strong><em>Data &gt; New Query &gt; From File &gt; From Folder<\/em><\/strong><\/p>\n<p>(In Excel 2010 &amp; 2013 you need to go to <strong>Power Query &gt; From File &gt; From Folder<\/strong>)<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5202\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-01.png\" alt=\"Inventory Your Files Using Power Query\" width=\"451\" height=\"513\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-01.png 451w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-01-264x300.png 264w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 2:<\/span> <\/strong>Type in the path you want to list the files from. You can also browse for the folder. Click <strong>OK<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5203\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-02.png\" alt=\"Inventory Your Files Using Power Query\" width=\"699\" height=\"249\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-02.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-02-300x107.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong>This will give you a preview of the file list. Click <strong>Edit<\/strong> to examine it more inside the Power Query editor.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5204\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-03.png\" alt=\"Inventory Your Files Using Power Query\" width=\"599\" height=\"378\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-03.png 599w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-03-300x189.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p><strong style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong>You are now inside the Power Query Window.<\/p>\n<p>You can add more information into your Table by clicking the Icon beside <strong>Attributes.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5211\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05-1.png\" alt=\"Inventory Your Files Using Power Query\" width=\"365\" height=\"505\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05-1.png 365w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05-1-217x300.png 217w\" sizes=\"(max-width: 365px) 100vw, 365px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>For example, we want to include the Size column. <strong>Uncheck <\/strong><strong>(Select All Columns) <\/strong>and <strong>check Size<\/strong>. Click <strong>OK.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5206\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05.png\" alt=\"Inventory Your Files Using Power Query\" width=\"402\" height=\"511\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05.png 402w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-05-236x300.png 236w\" sizes=\"(max-width: 402px) 100vw, 402px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The size column is now shown.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5207\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-06.png\" alt=\"Inventory Your Files Using Power Query\" width=\"982\" height=\"168\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-06.png 982w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-06-300x51.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-06-768x131.png 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/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 automatically open up a brand new worksheet in your Excel workbook with the new data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5208\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-07.png\" alt=\"Inventory Your Files Using Power Query\" width=\"285\" height=\"145\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You now have your spanking new file list!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-08.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5209\" title=\"Inventory Your Files Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-08.png\" alt=\"Inventory Your Files Using Power Query\" width=\"1218\" height=\"346\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-08.png 1218w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-08-300x85.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-08-1024x291.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Inventory-08-768x218.png 768w\" sizes=\"(max-width: 1218px) 100vw, 1218px\" \/><\/a><\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/XFnnOH6fK_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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section4\"><\/a>4. Keep Duplicate Records <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data. One of the steps allows you to take is to<strong> keep duplicate records<\/strong>.<\/p>\n<p>We usually remove duplicated lines but if we need to keep and check what the duplicates are, Excel allows us to do that too!<\/p>\n<p>Let&#8217;s suppose you have this set of data. You can see that the marked ones are duplicate values, let us keep them!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7258\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-01.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" width=\"327\" height=\"325\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-01.png 327w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-01-300x298.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-01-150x150.png 150w\" sizes=\"(max-width: 327px) 100vw, 327px\"><\/a><\/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\/2017\/10\/Keep-Duplicates.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates.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\">Keep-Duplicates.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the <a class=\"wpil_keyword_link\" title=\"shortcut\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/333-excel-shortcuts-for-windows-and-mac\/\" target=\"_blank\" rel=\"noopener\" 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\/10\/Keep-Duplicates-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7260\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-02.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" width=\"281\" height=\"353\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-02.png 281w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-02-239x300.png 239w\" sizes=\"(max-width: 281px) 100vw, 281px\"><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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>Go to <em><strong>Home &gt; Keep Rows &gt; Keep Duplicates<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7261\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-03.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" width=\"529\" height=\"436\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-03.png 529w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-03-300x247.png 300w\" sizes=\"(max-width: 529px) 100vw, 529px\"><\/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 updated table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7262\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" width=\"309\" height=\"339\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-04.png 309w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-04-273x300.png 273w\" sizes=\"(max-width: 309px) 100vw, 309px\"><\/a><\/p>\n<p>You now have your new table with the duplicate rows kept!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7263\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Keep-Duplicates-05.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" width=\"238\" height=\"188\"><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Keep Duplicates in Excel<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/EiQfuJkId98?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section5\"><\/a>5. Split Column By Number of Characters <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> (in Excel 2010 &amp; 2013) or 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> split column by number of characters easily<\/strong>.<\/p>\n<p>This is helpful when you have columns that you want to split by an equal number of characters, say ID numbers.<\/p>\n<p>Let&#8217;s suppose you have the following source data below. We want to split it by 3 characters so we will have 4 parts for each ID.<\/p>\n<p>Let us get to work!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7224\" title=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-01.png\" alt=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" width=\"205\" height=\"178\" \/><\/a><\/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\/2017\/10\/Split-Column-By-Number-of-Characters.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters.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\">Split-Column-By-Number-of-Characters.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/10\/Split-Column-By-Number-of-Characters-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7225\" title=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-02.png\" alt=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" width=\"239\" height=\"292\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Remove Columns Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/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=\"Remove Columns Using Power Query or Get &amp; Transform\" 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>Select the column you want to split.<\/p>\n<p>Go to <em><strong>Home &gt; Split Column &gt; By Number of Characters<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7226\" title=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-03.png\" alt=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" width=\"690\" height=\"315\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-03.png 690w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-03-300x137.png 300w\" sizes=\"(max-width: 690px) 100vw, 690px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4: <\/strong><\/span>Select <strong>3<\/strong> for the Number of characters, <strong>Split Repeatedly,<\/strong> and click <strong>OK<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7227\" title=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-04.png\" alt=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" width=\"699\" height=\"334\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-04.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-04-300x143.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 5:<\/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 updated table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7228\" title=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-05.png\" alt=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" width=\"599\" height=\"297\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-05.png 599w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-05-300x149.png 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/a><\/p>\n<p>You now have your new table with the separated columns!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7229\" title=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-06.png\" alt=\"Split Column By Number of Characters Using Power Query or Get &amp; Transform\" width=\"462\" height=\"148\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-06.png 462w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Split-Column-By-Number-of-Characters-06-300x96.png 300w\" sizes=\"(max-width: 462px) 100vw, 462px\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Split Column by Number of Characters in Excel<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/3HEo_WwHw_c?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section6\"><\/a>6. Duplicate Columns <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> (in Excel 2010 &amp; 2013) or 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> duplicate columns easily<\/strong>.<\/p>\n<p>This is helpful when you have columns that you want to duplicate &amp; make some <strong>temporary\/permanent changes to it in the Query Editor<\/strong> but not in your source data.<\/p>\n<p>Let&#8217;s suppose you have the following source data below. You can see that the marked column is the one we want duplicated, so let us get to work!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7192\" title=\"Duplicate Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-01.png\" alt=\"Duplicate Columns Using Power Query or Get and Transform\" width=\"444\" height=\"334\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-01.png 444w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-01-300x226.png 300w\" sizes=\"(max-width: 444px) 100vw, 444px\" \/><\/a><\/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\/2017\/10\/Duplicate-Columns.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns.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\">Duplicate-Columns.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/10\/Duplicate-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7193\" title=\"Duplicate Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-02.png\" alt=\"Duplicate Columns Using Power Query or Get and Transform\" width=\"305\" height=\"288\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-02.png 305w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-02-300x283.png 300w\" sizes=\"(max-width: 305px) 100vw, 305px\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Remove Columns Using Power Query or Get and Transform\" 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\" title=\"\"><\/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=\"Remove Columns Using Power Query or Get &amp; Transform\" 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>Select the column you want to duplicate.<\/p>\n<p>Go to <em><strong>Add Column &gt; General &gt; Duplicate Column<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7194\" title=\"Duplicate Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-03.png\" alt=\"Duplicate Columns Using Power Query or Get &amp; Transform\" width=\"411\" height=\"421\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-03.png 411w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-03-293x300.png 293w\" sizes=\"(max-width: 411px) 100vw, 411px\" \/><\/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 updated table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7195\" title=\"Duplicate Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-04.png\" alt=\"Duplicate Columns Using Power Query or Get &amp; Transform\" width=\"367\" height=\"146\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-04.png 367w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-04-300x119.png 300w\" sizes=\"(max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p>You now have your new table with the column duplicated!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7196\" title=\"Duplicate Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-05.png\" alt=\"Duplicate Columns Using Power Query or Get &amp; Transform\" width=\"409\" height=\"251\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-05.png 409w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/10\/Duplicate-Columns-05-300x184.png 300w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Duplicate Columns Using Power Query or Get &amp; Transform:<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/SAM301GVGdU?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\">?<\/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><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section7\"><\/a>7. Use First Row as Headers <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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> use the first row as headers<\/strong>.<\/p>\n<p>Let&#8217;s suppose you have this set of data below. 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\" class=\"alignnone size-full wp-image-7136\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" 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 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 your data and turn it into an Excel Table by pressing the shortcut <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\" class=\"alignnone size-full wp-image-7141\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" 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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/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. 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\" class=\"alignnone size-full wp-image-7138\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" 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\" class=\"alignnone size-full wp-image-7139\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" 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\" class=\"alignnone size-full wp-image-7140\" title=\"Use First Row as Headers Using Power Query or Get &amp; Transform\" 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><br \/>\n<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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section8\"><\/a>8. Remove Columns <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> (in Excel 2010 &amp; 2013) or 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> remove columns easily<\/strong>.<\/p>\n<p>This is helpful when you have columns that you want to eliminate and do not need in your final report &#8211; but <strong>do want to keep<\/strong> in your source data.<\/p>\n<p>Let&#8217;s suppose you have the following source data below. You can see that the marked column is the one we want removed, so let us get rid of it!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7048\" title=\"Remove Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-01.png\" alt=\"Remove Columns Using Power Query or Get &amp; Transform\" width=\"444\" height=\"334\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-01.png 444w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-01-300x226.png 300w\" sizes=\"(max-width: 444px) 100vw, 444px\" \/><\/a><\/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\/2017\/09\/Remove-Columns.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns.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\">Remove-Columns.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/Remove-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7049\" title=\"Remove Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-02.png\" alt=\"Remove Columns Using Power Query or Get &amp; Transform\" width=\"305\" height=\"288\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-02.png 305w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-02-300x283.png 300w\" sizes=\"(max-width: 305px) 100vw, 305px\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Remove Columns Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/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=\"Remove Columns Using Power Query or Get &amp; Transform\" 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>Select the column(s) you want to remove. <strong>TIP:<\/strong> <em>Hold the CTRL key to select multiple columns.<\/em><\/p>\n<p>Go to <em><strong>Home &gt; Remove Columns &gt; Remove Columns<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7050\" title=\"Remove Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-03.png\" alt=\"Remove Columns Using Power Query or Get &amp; Transform\" width=\"495\" height=\"411\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-03.png 495w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-03-300x249.png 300w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/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\/Remove-Columns-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7051\" title=\"Remove Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-04.png\" alt=\"Remove Columns Using Power Query or Get &amp; Transform\" width=\"367\" height=\"146\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-04.png 367w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-04-300x119.png 300w\" sizes=\"(max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p>You now have your new table with the column removed!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7052\" title=\"Remove Columns Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Columns-05.png\" alt=\"Remove Columns Using Power Query or Get &amp; Transform\" width=\"228\" height=\"245\" \/><\/a><\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/U-djADVUmmw?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section9\"><\/a>9. Remove Duplicates <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to<strong> remove duplicates easily<\/strong>. This removes the human error whenever you try to delete your duplicate data manually!<\/p>\n<p>Let&#8217;s suppose you have this set of data. You can see that the marked ones are duplicate values, let us get rid of them!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6992\" title=\"Remove Duplicates Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-01.png\" alt=\"Remove Duplicates Using Power Query or Get &amp; Transform\" width=\"327\" height=\"325\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-01.png 327w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-01-300x298.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-01-150x150.png 150w\" sizes=\"(max-width: 327px) 100vw, 327px\" \/><\/a><\/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\/2017\/09\/Remove-Duplicates.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates.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\">Remove-Duplicates.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/Remove-Duplicates-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6993\" title=\"Remove Duplicates Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-02.png\" alt=\"Remove Duplicates Using Power Query or Get &amp; Transform\" width=\"281\" height=\"353\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-02.png 281w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-02-239x300.png 239w\" sizes=\"(max-width: 281px) 100vw, 281px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" 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-04\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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>Go to <em><strong>Home &gt; Remove Rows &gt; Remove Duplicates<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6994\" title=\"Remove Duplicates Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-03.png\" alt=\"Remove Duplicates Using Power Query or Get &amp; Transform\" width=\"580\" height=\"416\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-03.png 580w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-03-300x215.png 300w\" sizes=\"(max-width: 580px) 100vw, 580px\" \/><\/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\/2016\/11\/Fill-Down-10.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5556\" title=\"Fill Down Values Using Power Query\" 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>You now have your new table with the duplicate rows removed!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6995\" title=\"Remove Duplicates Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/09\/Remove-Duplicates-04.png\" alt=\"Remove Duplicates Using Power Query or Get &amp; Transform\" width=\"219\" height=\"163\" \/><\/a><\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/caFCCMOcouI?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section10\"><\/a>10. Fill Down Values <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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. One of the steps it allows you to take is to<strong> fill data down easily<\/strong>.<\/p>\n<p>You might be wondering when you might need to fill the 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\" class=\"alignnone size-full wp-image-5547\" title=\"Fill Down Values Using Power Query\" 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\" class=\"alignnone size-full wp-image-5548\" title=\"Fill Down Values Using Power Query\" 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 <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 <strong>Fill Down<\/strong> in Power Query.<\/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 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 your data and turn it into an Excel Table by pressing the shortcut <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\" class=\"alignnone size-full wp-image-5549\" title=\"Fill Down Values Using Power Query\" 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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" 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-04\" 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\" title=\"\"><\/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 <strong>Sales Month <\/strong>by <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\" class=\"alignnone size-full wp-image-5551\" title=\"Fill Down Values Using Power Query\" 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 <strong>Sales Quarter <\/strong>by <strong>Descending order.<\/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\" class=\"alignnone size-full wp-image-5552\" title=\"Fill Down Values Using Power Query\" 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 <strong>Fill down <\/strong>step.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5553\" title=\"Fill Down Values Using Power Query\" 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: <\/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\" class=\"alignnone size-full wp-image-5554\" title=\"Fill Down Values Using Power Query\" 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\" class=\"alignnone size-full wp-image-5555\" title=\"Fill Down Values Using Power Query\" 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\" class=\"alignnone size-full wp-image-5556\" title=\"Fill Down Values Using Power Query\" 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\" class=\"alignnone size-full wp-image-5557\" title=\"Fill Down Values Using Power Query\" 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><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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section11\"><\/a>11. Create Index Columns <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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. One of the most common steps I do, is I want to <strong>add an index column that serves as a row counter <\/strong>of my data.<\/p>\n<p>There is an alternative method of using the ROW <a class=\"wpil_keyword_link\" title=\"formula\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/top-excel-formulas-function-examples-to-get-better-at-microsoft-excel\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">formula<\/a> in Excel.<\/p>\n<p>However, if we simply want to keep it as a temporary column for data analysis, we can generate the Row Numbers using Power Query.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5155\" title=\"Create Index Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04.png\" alt=\"Create Index Columns Using Power Query\" width=\"366\" height=\"287\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04.png 366w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04-300x235.png 300w\" sizes=\"(max-width: 366px) 100vw, 366px\" \/><\/a><\/p>\n<p>Thankfully Power Query has an option that allows us to create <strong>Index Columns<\/strong>!<\/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\/2016\/11\/Index-Columns.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns.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\">Index-Columns.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Our sample data consists of Months and multiple Sales values for each quarter. Let us say we want a <strong>column that counts from 1 to 12 <\/strong>next to our data to serve as our row numbers.<\/p>\n<p>(Make sure that your data is first converted into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing CTRL+T and OK).<\/p>\n<p>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><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4936\" title=\"Create Index Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-01.png\" alt=\"Create Index Columns Using Power Query\" width=\"528\" height=\"535\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-01.png 528w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-01-296x300.png 296w\" sizes=\"(max-width: 528px) 100vw, 528px\" \/><\/a><\/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 2:<\/span> <\/strong>This will open up the Power Query Editor.<\/p>\n<p>Within here you need to select <strong><em>Add Column &gt; Add Index Column &gt; Custom<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4937\" title=\"Create Index Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-02.png\" alt=\"Create Index Columns Using Power Query\" width=\"520\" height=\"432\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-02.png 520w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Index-Columns-02-300x249.png 300w\" sizes=\"(max-width: 520px) 100vw, 520px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong>This brings up the <strong>Index Column<\/strong> dialogue box.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5154\" title=\"Create Index Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-03.png\" alt=\"Create Index Columns Using Power Query\" width=\"699\" height=\"261\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-03.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-03-300x112.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Set the <strong>Starting Index <\/strong>into 1, this would mean the starting number will be 1.<\/p>\n<p>For the <strong>Increment, <\/strong>place in 1. This means that every succeeding number will be incremented by one. So we will have 1, 2, 3, 4 and so on..<\/p>\n<p>Click <strong>OK.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong><span style=\"line-height: 1.5;\">Now you will see your changes take place and the data now has an <strong>index column<\/strong><strong>!<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5155\" title=\"Create Index Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04.png\" alt=\"Create Index Columns Using Power Query\" width=\"366\" height=\"287\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04.png 366w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-04-300x235.png 300w\" sizes=\"(max-width: 366px) 100vw, 366px\" \/><\/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 automatically open up a brand new worksheet in your Excel workbook with the new data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5156\" title=\"Create Index Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-05.png\" alt=\"Create Index Columns Using Power Query\" width=\"446\" height=\"145\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-05.png 446w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-05-300x98.png 300w\" sizes=\"(max-width: 446px) 100vw, 446px\" \/><\/a><\/p>\n<p>You now have your new table with your index column!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5157\" title=\"Create Index Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-06.png\" alt=\"Create Index Columns Using Power Query\" width=\"402\" height=\"489\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-06.png 402w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Index-Columns-06-247x300.png 247w\" sizes=\"(max-width: 402px) 100vw, 402px\" \/><\/a><\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/H_MK7oEAsU0?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section12\"><\/a>12. Remove Rows With Errors <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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 messy Excel data.<\/p>\n<p>One of the most common steps I do, is to <strong>clean my data and remove rows that have erroneous data,<\/strong> like this:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4859\" title=\"Remove Rows With Errors Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-01.png\" alt=\"Remove Rows With Errors Using Power Query\" width=\"408\" height=\"332\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-01.png 408w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-01-300x244.png 300w\" sizes=\"(max-width: 408px) 100vw, 408px\" \/><\/a><\/p>\n<p>Thankfully Power Query has an option that allows us to <strong>remove rows with errors<\/strong>!<\/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\/2016\/10\/Remove-Rows-with-Errors-.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-.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\">Remove-Rows-with-Errors-.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Our sample data contains the Sales numbers for each month. However, you can see that there are some months (4 of them) that have invalid data. We want to remove these rows.<\/p>\n<p>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><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4860\" title=\"Remove Rows With Errors Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-02.png\" alt=\"Remove Rows With Errors Using Power Query\" width=\"672\" height=\"542\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-02.png 672w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-02-300x242.png 300w\" sizes=\"(max-width: 672px) 100vw, 672px\" \/><\/a><\/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 2:<\/span> <\/strong>This will open up the Power Query Editor.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4861\" title=\"Remove Rows With Errors Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-03.png\" alt=\"Remove Rows With Errors Using Power Query\" width=\"268\" height=\"297\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Within here you need to click the <strong>Table icon<\/strong> on the upper left-hand corner of the table.<\/p>\n<p>Then select <strong><em>Remove Errors.<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4862\" title=\"Remove Rows With Errors Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-04.png\" alt=\"Remove Rows With Errors Using Power Query\" width=\"540\" height=\"629\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-04.png 540w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-04-258x300.png 258w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong><span style=\"line-height: 1.5;\">Now all of the <strong>rows with errors will be removed<\/strong> from the table<strong>.<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4863\" title=\"Remove Rows With Errors Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-05.png\" alt=\"Remove Rows With Errors Using Power Query\" width=\"262\" height=\"196\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4: <\/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 new data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4864\" title=\"Remove Rows With Errors Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-06.png\" alt=\"Remove Rows With Errors Using Power Query\" width=\"462\" height=\"348\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-06.png 462w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-06-300x226.png 300w\" sizes=\"(max-width: 462px) 100vw, 462px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You now have your new Excel table without any erroneous rows!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4865\" title=\"Remove Rows With Errors Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-07.png\" alt=\"Remove Rows With Errors Using Power Query\" width=\"449\" height=\"432\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-07.png 449w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Remove-Rows-with-Errors-07-300x289.png 300w\" sizes=\"(max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/-MkNy7a9tU4?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section13\"><\/a>13. Create Pivot Columns <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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. One of the most common steps I do, is I want to <strong>simplify my data and aggregate them together<\/strong> into something like this:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4808\" title=\"Create Pivot Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04.png\" alt=\"Create Pivot Columns Using Power Query\" width=\"388\" height=\"66\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04.png 388w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04-300x51.png 300w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/a><\/p>\n<p>Thankfully Power Query has an option that allows us to create <strong>Pivot Columns<\/strong>!<\/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\/2016\/10\/Pivot-Columns-1.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-1.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\">Pivot-Columns-1.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Our sample data consists of Sales Quarter and multiple sales values for each quarter. We want to sum them all upper quarter. Let us load our data into Power Query.<\/p>\n<p>(Make sure that your data is first converted into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing CTRL+T and OK).<\/p>\n<p>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><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4805\" title=\"Create Pivot Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-01.png\" alt=\"Create Pivot Columns Using Power Query\" width=\"534\" height=\"713\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-01.png 534w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-01-225x300.png 225w\" sizes=\"(max-width: 534px) 100vw, 534px\" \/><\/a><\/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 2:<\/span> <\/strong>This will open up the Power Query Editor.<\/p>\n<p>Within here you need to select <strong><em>Transform &gt; Pivot Column<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4806\" title=\"Create Pivot Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-02.png\" alt=\"Create Pivot Columns Using Power Query\" width=\"578\" height=\"616\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-02.png 578w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-02-281x300.png 281w\" sizes=\"(max-width: 578px) 100vw, 578px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong>This brings up the <strong>Pivot Column<\/strong> dialogue box.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4807\" title=\"Create Pivot Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-03.png\" alt=\"Create Pivot Columns Using Power Query\" width=\"699\" height=\"313\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-03.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-03-300x134.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>For the <strong>Values Column drop-down<\/strong>, select the column name from our data that has the values in it&#8230;in our example it will be <strong>SALES<\/strong>.<\/p>\n<p><strong>Click on advanced options<\/strong> and this will bring up the <strong>Aggregate Value Function<\/strong>. Here we select how the new cells should be combined.<\/p>\n<p>As we want to show the <em>Sales Totals<\/em> for each quarter, we need to select the <strong>Sum<\/strong> option from the drop-down box.<\/p>\n<p>Click <strong>OK.<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong><span style=\"line-height: 1.5;\">Now you will see your changes take place and the data has now been<strong> grouped and summed!<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4808\" title=\"Create Pivot Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04.png\" alt=\"Create Pivot Columns Using Power Query\" width=\"388\" height=\"66\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04.png 388w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-04-300x51.png 300w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/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 automatically open up a brand new worksheet in your Excel workbook with the new data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4809\" title=\"Create Pivot Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-05.png\" alt=\"Create Pivot Columns Using Power Query\" width=\"488\" height=\"225\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-05.png 488w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-05-300x138.png 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You now have your new table with the total of each sales quarter. That&#8217;s why they call it <strong>POWER QUERY!!!<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4810\" title=\"Create Pivot Columns Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-06.png\" alt=\"Create Pivot Columns Using Power Query\" width=\"903\" height=\"413\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-06.png 903w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-06-300x137.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/10\/Pivot-Columns-06-768x351.png 768w\" sizes=\"(max-width: 903px) 100vw, 903px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/W1vutJBgrkw?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section14\"><\/a>14. Group Rows and Get Counts <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\">Power Query<\/a> lets you perform a series of steps to transform your Excel data.<\/p>\n<p>One of the steps it allows you to take is to <strong>group rows and get the counts of each group<\/strong><strong> very easily<\/strong>.<\/p>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Group-By-Count.xlsx<\/span><\/a><\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/06\/Group-By-Count-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3310\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-01.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"630\" height=\"386\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-01.png 630w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-01-300x184.png 300w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3311\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-02.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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>We want to group this data by <strong>Country<\/strong> and show how many times each Country appeared in the table. (i.e. Australia appears 4 times in this table)<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3312\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-03.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"238\" height=\"238\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-03.png 238w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-03-150x150.png 150w\" sizes=\"(max-width: 238px) 100vw, 238px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong>Within here you need to select <strong><em>Transform &gt; Group By<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3313\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-04.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"200\" height=\"112\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 5:<\/span> <\/strong>Make sure to select <strong>Country <\/strong>for <strong>Group By, <\/strong>and select <strong>Count Rows <\/strong>for the <strong>Operation.<\/strong><\/p>\n<p>This will group your table by <strong>Country <\/strong>value, and count the number of occurrences of each country.<\/p>\n<p>For example, the country of <strong>Australia <\/strong>appears <strong>4 times<\/strong> in our table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3314\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-05.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"699\" height=\"307\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-05.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-05-300x132.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p><strong style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">STEP 6:<\/span> <\/strong><span style=\"line-height: 1.5;\">Now you will see your changes take place. And the data has now been <strong>grouped together.<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3315\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-06.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"206\" height=\"93\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7: <\/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 new data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3316\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-07.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"135\" height=\"129\" \/><\/a><\/p>\n<p>You now have your new table with the counts of each country.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-08.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3317\" title=\"Group Rows and Get Counts Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Group-By-Count-08.png\" alt=\"Group Rows and Get Counts Using Power Query\" width=\"174\" height=\"107\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/TLXCNjUtqII?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section15\"><\/a>15. Reverse Rows <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\">Power Query<\/a> lets you perform a series of steps to transform your Excel data. One of the steps it allows you to take is to <strong>reverse the order of rows very easily<\/strong>.<\/p>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-2.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Reverse-Rows-2.xlsx<\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>To provide a quick comparison, it&#8217;s not straightforward to reverse rows in Excel <strong>without Power Query<\/strong>:<\/p>\n<p>We have our data that we want to <strong>reverse the row order:<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3511\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-01.png\" alt=\"Reverse Rows Using Power Query\" width=\"300\" height=\"253\" \/><\/a><\/p>\n<p>Since Excel does not have a <strong>Reverse Row <\/strong>function, we need to add a <strong>Helper <\/strong>column manually that has the order listed out <strong>(from 1 to 10).<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3512\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-02.png\" alt=\"Reverse Rows Using Power Query\" width=\"403\" height=\"256\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-02.png 403w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-02-300x191.png 300w\" sizes=\"(max-width: 403px) 100vw, 403px\" \/><\/a><\/p>\n<p>We use the <strong>Sort <\/strong>function and select <strong>Sort Largest to Smallest<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3513\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-03.png\" alt=\"Reverse Rows Using Power Query\" width=\"400\" height=\"449\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-03.png 400w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-03-267x300.png 267w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><\/p>\n<p>The data is now in <strong>reverse order<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3514\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-04.png\" alt=\"Reverse Rows Using Power Query\" width=\"401\" height=\"274\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-04.png 401w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Long-Cut-04-300x205.png 300w\" sizes=\"(max-width: 401px) 100vw, 401px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail on how to do it easily in <strong>Power Query<\/strong>:<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/06\/Reverse-Rows-01-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3505\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-01-1.png\" alt=\"Reverse Rows Using Power Query\" width=\"614\" height=\"288\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-01-1.png 614w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-01-1-300x141.png 300w\" sizes=\"(max-width: 614px) 100vw, 614px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3297\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-02.png\" alt=\"Reverse Rows Using Power Query\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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 <strong>Power Query Editor<\/strong>.<\/p>\n<p>Currently, you can see the Ranks ordered from <strong>First<\/strong><strong> to Tenth<\/strong>. We want to reverse the ordering of the rows.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-03-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3506\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-03-1.png\" alt=\"Reverse Rows Using Power Query\" width=\"358\" height=\"241\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-03-1.png 358w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-03-1-300x202.png 300w\" sizes=\"(max-width: 358px) 100vw, 358px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong>Within here you need to select <strong><em>Transform &gt; Reverse Rows<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3299\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-04.png\" alt=\"Reverse Rows Using Power Query\" width=\"277\" height=\"111\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 5:<\/span> <\/strong>Now you will see your changes take place. The Ranks are now ordered from <strong>Tenth<\/strong><strong> to First<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-05-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3507\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-05-1.png\" alt=\"Reverse Rows Using Power Query\" width=\"350\" height=\"244\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-05-1.png 350w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-05-1-300x209.png 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6: <\/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 data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3301\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-06.png\" alt=\"Reverse Rows Using Power Query\" width=\"135\" height=\"129\" \/><\/a><\/p>\n<p>You now have your new table in reverse order.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-07-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3508\" title=\"Reverse Rows Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Reverse-Rows-07-1.png\" alt=\"Reverse Rows Using Power Query\" width=\"255\" height=\"221\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/C6aOELgSLxM?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section16\"><\/a>16. Transpose <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\">Power Query<\/a> lets you perform a series of steps to transform your Excel data. One of the steps it allows you to take is to <strong>transpose data very easily<\/strong>.<\/p>\n<p><strong>Transposing <\/strong>a data table is basically <strong>rotating your data from rows to columns<\/strong>, <strong>or from columns to rows<\/strong>. To further explain this concept, screenshots are provided below.<\/p>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Transpose.xlsx<\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/06\/Transpose-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3283\" title=\"Transpose Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-01.png\" alt=\"Transpose Using Power Query\" width=\"630\" height=\"386\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-01.png 630w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-01-300x184.png 300w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3284\" title=\"Transpose Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-02.png\" alt=\"Transpose Using Power Query\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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>We want to rotate this data from <strong>rows to columns.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3285\" title=\"Transpose Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-03.png\" alt=\"Transpose Using Power Query\" width=\"238\" height=\"238\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-03.png 238w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-03-150x150.png 150w\" sizes=\"(max-width: 238px) 100vw, 238px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong>Within here you need to select <strong><em>Transform &gt; Transpose<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3286\" title=\"Transpose Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-04.png\" alt=\"Transpose Using Power Query\" width=\"291\" height=\"123\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 5:<\/span> <\/strong>Now you will see your changes take place.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3287\" title=\"Transpose Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-05.png\" alt=\"Transpose Using Power Query\" width=\"1063\" height=\"82\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-05.png 1063w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-05-300x23.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-05-1024x79.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-05-768x59.png 768w\" sizes=\"(max-width: 1063px) 100vw, 1063px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6: <\/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 transposed data.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3288\" title=\"Transpose Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-06.png\" alt=\"Transpose Using Power Query\" width=\"135\" height=\"129\" \/><\/a><\/p>\n<p>You now have your new transposed table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3289\" title=\"Transpose Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-07.png\" alt=\"Transpose Using Power Query\" width=\"993\" height=\"68\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-07.png 993w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-07-300x21.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Transpose-07-768x53.png 768w\" sizes=\"(max-width: 993px) 100vw, 993px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/N4YMQunNLdc?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section17\"><\/a>17. Replace Values <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\">Power Query<\/a> lets you perform a series of steps to transform your Excel data. One of the steps it allows you to take is to <strong>replace values easily<\/strong>.<\/p>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Replace-Values.xlsx<\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/06\/Replace-Values-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3197\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-01.png\" alt=\"Replace Values Using Power Query\" width=\"630\" height=\"386\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-01.png 630w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-01-300x184.png 300w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3198\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-02.png\" alt=\"Replace Values Using Power Query\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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>We want to change the Country <strong>Australia <\/strong>into <strong>New Zealand. <\/strong>Make sure you have the <strong>Country column selected <\/strong>by clicking on the <strong>Country <\/strong>header.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3199\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-03.png\" alt=\"Replace Values Using Power Query\" width=\"271\" height=\"250\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong>Within here you need to select <strong><em>Transform &gt; Replace Values<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3200\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-04.png\" alt=\"Replace Values Using Power Query\" width=\"583\" height=\"115\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-04.png 583w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-04-300x59.png 300w\" sizes=\"(max-width: 583px) 100vw, 583px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 5:<\/span> <\/strong>This will open up the <strong>Replace Values <\/strong>dialogue box.<\/p>\n<p>Place <em>Australia<\/em> in <strong>Value to Find, <\/strong>and <em>New Zealand <\/em>in <strong>Replace With<\/strong>. This will replace all of the <em>Australia <\/em>values with <em>New Zealand<\/em>.<\/p>\n<p>Click <strong>OK.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3201\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-05.png\" alt=\"Replace Values Using Power Query\" width=\"681\" height=\"254\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-05.png 681w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-05-300x112.png 300w\" sizes=\"(max-width: 681px) 100vw, 681px\" \/><\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 6:<\/span> <\/strong>Now you will see your changes take place.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3202\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-06.png\" alt=\"Replace Values Using Power Query\" width=\"243\" height=\"237\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7: <\/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\/06\/Replace-Values-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3203\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-07.png\" alt=\"Replace Values Using Power Query\" width=\"135\" height=\"129\" \/><\/a><\/p>\n<p>You now have your new table with the updated values.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3204\" title=\"Replace Values Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-08.png\" alt=\"Replace Values Using Power Query\" width=\"325\" height=\"332\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-08.png 325w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/06\/Replace-Values-08-294x300.png 294w\" sizes=\"(max-width: 325px) 100vw, 325px\" \/><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/-DsX23K9M7o?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section18\"><\/a>18. Split First &amp; Last Name <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>There are times when you receive a data set of employee full names in one column and you want to separate the full name into first name and surname in separate columns.<\/p>\n<p>This is a common task and most people may refer to complex formulas to do this and waste lots of time in the process.<\/p>\n<p>With <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a>, you can split the full name that is in one cell into separate columns with just a few mouse clicks.<\/p>\n<p>Here is how&#8230;<\/p>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/Split-Columns-First-Last-Name.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Split-Columns-First-Last-Name.xlsx<\/span><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> Click in your data and turn it into an Excel Table by pressing the shortcut <strong>CTRL+T or by going to Insert Table<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/excel-table.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2971\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/excel-table.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"451\" height=\"370\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/excel-table.jpg 451w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/excel-table-300x246.jpg 300w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> Go to <em><strong>Power Query &gt; From Table<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/power-query-from-table.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2972\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/power-query-from-table.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"615\" height=\"121\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/power-query-from-table.jpg 615w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/power-query-from-table-300x59.jpg 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/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. Within here you need to select <em><strong>Home &gt; Split Columns &gt; By Delimiter<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/split-column-by-delimietr.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2973\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/split-column-by-delimietr.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"805\" height=\"150\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/split-column-by-delimietr.jpg 805w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/split-column-by-delimietr-300x56.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/split-column-by-delimietr-768x143.jpg 768w\" sizes=\"(max-width: 805px) 100vw, 805px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4:<\/strong> <\/span>This will open up the Split Column by Delimiter dialogue box.<\/p>\n<p>In the drop down box under <strong><em>Select or enter delimiter<\/em><\/strong> you need to choose <strong>Space<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/space-delimiter.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2974\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/space-delimiter.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"695\" height=\"325\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/space-delimiter.jpg 695w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/space-delimiter-300x140.jpg 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5:<\/strong><\/span> For the <strong><em>Split<\/em> <\/strong>option, you need to select the default<em><strong> At each occurrence of the delimiter<\/strong> (since there is only one space in each cell&#8217;s data)<strong> <\/strong>and press<strong> OK <\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/aplit-at-each-occurrence.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2975\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/aplit-at-each-occurrence.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"695\" height=\"325\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/aplit-at-each-occurrence.jpg 695w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/aplit-at-each-occurrence-300x140.jpg 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>This will <strong>split the full name into two separate columns<\/strong>, one for the first name called <em>FULL NAME.1<\/em> and another for the surname called <em>FULL NAME.2<\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/split-columns.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2977\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/split-columns.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"260\" height=\"248\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6:<\/strong><\/span> Now all you need to do is press <strong>Close &amp; Load<\/strong> from the Home tab and this will <strong>open up a brand new worksheet<\/strong> in your Excel workbook with the split columns<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/close-load.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2976\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/close-load.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"114\" height=\"118\" \/><\/a><\/p>\n<p>You can amend the column headings and here you have your full name split into separate columns&#8230;Easy hey!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/new-columns.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2978\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/new-columns.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"220\" height=\"233\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/F0w8xhZ83LY?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section19\"><\/a>19. Consolidate Multiple Excel Workbooks <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>One of the most sought after query from the millions of Excel users around the world is:<\/p>\n<h3 class=\"counter-reset\"><em> How do I consolidate multiple Excel workbooks into one?<\/em><\/h3>\n<p>There are a couple of ways you can do this, using VBA or complex formulas but the learning curve is steep and out of reach for most Excel users.<\/p>\n<p>Luckily with Power Query, this consolidation task can be done in a couple of minutes! That&#8217;s right, only a couple of minutes.<\/p>\n<p>I show you how below&#8230;<\/p>\n<p><a class=\"IRPP_minimalist icon-download\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/Consolidate-Multiple-Excel-Workbooks.xlsx\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Consolidate-Multiple-Excel-Workbooks.xlsx<\/span><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> <strong>Create a New Folder<\/strong> on your Desktop or any directory and name it to whatever you like e.g. <em>2016 Sales<\/em><\/p>\n<p><strong>Move an Excel Workbook in this Folder<\/strong> that contains your Sales data e.g. <em>January 2016.xlsx<\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-jan.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3060\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-jan.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"315\" height=\"131\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-jan.jpg 315w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-jan-300x125.jpg 300w\" sizes=\"(max-width: 315px) 100vw, 315px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> Open a <strong>NEW Excel Workbook<\/strong> and go to <em><strong>Power Query &gt; From File &gt; From Folder<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/from-folder.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3038\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/from-folder.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"927\" height=\"404\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/from-folder.jpg 927w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/from-folder-300x131.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/from-folder-768x335.jpg 768w\" sizes=\"(max-width: 927px) 100vw, 927px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><\/span> From the Folder dialogue box, <strong>click the Browse button<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/folder.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3039\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/folder.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"695\" height=\"245\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/folder.jpg 695w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/folder-300x106.jpg 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>This will bring up the <em>Browse for Folder<\/em> dialogue box and you need to<strong> select the folder you created in Step 1<\/strong> and press <strong>OK<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/browse-dor-folder.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3040\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/browse-dor-folder.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"320\" height=\"378\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/browse-dor-folder.jpg 320w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/browse-dor-folder-254x300.jpg 254w\" sizes=\"(max-width: 320px) 100vw, 320px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4:<\/strong><\/span> This will open up the <strong>Query Editor<\/strong>.<\/p>\n<p>From in here you need to<strong> select the first 2 columns<\/strong> (hold down the CTRL key to select) and<strong> Right Click on the column heading<\/strong> and choose <strong>Remove Other Columns<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-other-columns.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3041\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-other-columns.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"413\" height=\"135\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-other-columns.jpg 413w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-other-columns-300x98.jpg 300w\" sizes=\"(max-width: 413px) 100vw, 413px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5:<\/strong><\/span> You need to go to <em><strong>Add Column &gt; Add Custom Column<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3042\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"379\" height=\"122\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column.jpg 379w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column-300x97.jpg 300w\" sizes=\"(max-width: 379px) 100vw, 379px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6:<\/strong> <\/span>This will bring up the <em>Add Custom Column<\/em> dialogue box.<\/p>\n<p>In here you need to <strong>name the new column<\/strong> E.G. <em>Import<\/em>, and within the Custom Column Formula you need to<strong> enter the following formula<\/strong>:<\/p>\n<h3 class=\"counter-reset\">= Excel.Workbook([Content])<\/h3>\n<p>This will import the workbooks from within the Folder that you selected in Step 3<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column2.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3043\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column2.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"695\" height=\"399\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column2.jpg 695w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/add-custom-column2-300x172.jpg 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7:<\/strong><\/span> You now have a new column called <em>Import<\/em>.<\/p>\n<p><strong>Click on the Expand Filter<\/strong> and select the<strong> Data<\/strong> box only and press <strong>OK<\/strong>. This will import the workbook from the folder<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/import-expand.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3044\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/import-expand.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"367\" height=\"296\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/import-expand.jpg 367w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/import-expand-300x242.jpg 300w\" sizes=\"(max-width: 367px) 100vw, 367px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 8:<\/strong> <\/span><strong>Click on the Expand Filter<\/strong> from the<em> Import.Data<\/em> column and select <strong>OK<\/strong>. This imports all the columns&#8217; data from within the workbook<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/expand-import-2.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3045\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/expand-import-2.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"397\" height=\"300\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/expand-import-2.jpg 397w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/expand-import-2-300x227.jpg 300w\" sizes=\"(max-width: 397px) 100vw, 397px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-import.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3046\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-import.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"959\" height=\"369\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-import.jpg 959w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-import-300x115.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-import-768x296.jpg 768w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 9:<\/strong><\/span> Now it is time to transform the data by making some cosmetic changes!<\/p>\n<p><strong>Remove the Content column<\/strong> by <strong>Right Clicking<\/strong> and choosing <strong>Remove<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-binary.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3049\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-binary.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"289\" height=\"126\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 10:<\/strong> <\/span>Select the<em> Import.Data.Column1<\/em> and <strong>filter out the CUSTOMER<\/strong> heading and press <strong>OK<\/strong>. This will also remove the other column&#8217;s headers<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-column-headings.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3050\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-column-headings.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"341\" height=\"445\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-column-headings.jpg 341w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/remove-column-headings-230x300.jpg 230w\" sizes=\"(max-width: 341px) 100vw, 341px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 11:<\/strong><\/span> <strong>Select the <em>Date<\/em><\/strong> <strong>column<\/strong> and go to <em><strong>Transform &gt; Data Type &gt; Date<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-date.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3051\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-date.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"378\" height=\"329\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-date.jpg 378w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-date-300x261.jpg 300w\" sizes=\"(max-width: 378px) 100vw, 378px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 12:<\/strong><\/span> <strong>Select the <em>Sales<\/em> column<\/strong> and go to <em><strong>Transform &gt; Data Type &gt; Currency<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-currency.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3052\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-currency.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"517\" height=\"328\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-currency.jpg 517w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/data-type-currency-300x190.jpg 300w\" sizes=\"(max-width: 517px) 100vw, 517px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 13:<\/strong><\/span> <strong>Rename the column headings<\/strong> to whatever you like by <strong>double clicking on the column header<\/strong>, renaming and pressing <strong>OK<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/column-rename.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3053\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/column-rename.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"449\" height=\"67\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/column-rename.jpg 449w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/column-rename-300x45.jpg 300w\" sizes=\"(max-width: 449px) 100vw, 449px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 14:<\/strong> <\/span>Go to <em><strong>File &gt; Close &amp; Load.<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/close-load-1.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3054\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/close-load-1.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"189\" height=\"155\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>This will put the data into a new worksheet within your workbook<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/new-sheet-1.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3056\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/new-sheet-1.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"561\" height=\"370\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/new-sheet-1.jpg 561w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/new-sheet-1-300x198.jpg 300w\" sizes=\"(max-width: 561px) 100vw, 561px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 15:<\/strong><\/span> You can now<strong> Insert a <a class=\"wpil_keyword_link\" title=\"Pivot Table\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/101-excel-pivot-tables\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">Pivot Table<\/a><\/strong> to do your analysis by going to<em><strong> Insert &gt; Pivot Table &gt; New\/Existing Worksheet<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/insert-pivot-table.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3057\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/insert-pivot-table.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"203\" height=\"126\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Put the Months in the ROWS and the Sales $ in the VALUES area:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/pivot-table1.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3058\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/pivot-table1.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"513\" height=\"428\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/pivot-table1.jpg 513w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/pivot-table1-300x250.jpg 300w\" sizes=\"(max-width: 513px) 100vw, 513px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><strong>STEP 16:<\/strong><\/span> NOW FOR THE COOL PART!!!!<\/h3>\n<p>You can <strong>move similar workbooks into the Folder we<\/strong> <strong>created in Step 1,<\/strong> say for subsequent months eg. <em>February 2016.xlsx, March 2016.xlsx etc<\/em><\/p>\n<p><em>NB: The Excel Workbooks have to have the same format and number of columns as in the workbook we imported in Step 1<\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-subsequent-months.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3059\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-subsequent-months.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"505\" height=\"140\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-subsequent-months.jpg 505w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/move-subsequent-months-300x83.jpg 300w\" sizes=\"(max-width: 505px) 100vw, 505px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 17:<\/strong> <\/span>In your Excel workbook, <strong>click on the imported data<\/strong> and this will open up the <strong>Workbook Queries pane<\/strong> (If this does not open, go to <em>Power Query &gt; Show Pane<\/em>)<\/p>\n<p><strong>Click the Refresh button<\/strong> (or you can go to <em>Table Tools &gt; Query &gt; Refresh<\/em>)<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/refresh-pane.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3061\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/refresh-pane.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"705\" height=\"286\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/refresh-pane.jpg 705w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/refresh-pane-300x122.jpg 300w\" sizes=\"(max-width: 705px) 100vw, 705px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 18:<\/strong><\/span> This will <strong>import the<em> February 2016.xlsx<\/em> and <em>March 2016.xlsx<\/em> data<\/strong> into the Excel workbook and<strong> append it to January&#8217;s data<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/feb-data.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3062\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/feb-data.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"557\" height=\"306\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/feb-data.jpg 557w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/feb-data-300x165.jpg 300w\" sizes=\"(max-width: 557px) 100vw, 557px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 19:<\/strong> <\/span>Now you can<strong> Refresh the Pivot Table<\/strong> and the new imported data will be reflected<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/updated-pivot.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3063\" title=\"Consolidate Multiple Excel Workbooks Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/updated-pivot.jpg\" alt=\"Consolidate Multiple Excel Workbooks Using Power Query\" width=\"206\" height=\"120\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Next month all you have to do is drop in the new month&#8217;s workbook into the 2016 Sales Folder and Refresh the Query &amp; the Pivot Table to see the results!<\/p>\n<h3 class=\"counter-reset\">THAT IS POWER!!!!<\/h3>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/7D2KxCSvYEQ?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section20\"><\/a>20. Consolidate Multiple Excel Sheets <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>Power Query is awesome!<\/p>\n<p>You will see why after viewing this Power Query tutorial.<\/p>\n<p>I get lots of queries from my blog readers asking me if there is a way to easily consolidate multiple Excel worksheets into one.<\/p>\n<p>With Power Query, the answer is YES!<\/p>\n<p>If you have multiple Excel worksheets that are in the same format and their underlying differences are their values and dates (e.g. January Sales List, February Sales List, March Sales List, etc), then we can easily consolidate all the worksheets into one.<\/p>\n<p>Here is how&#8230;<\/p>\n<p><span style=\"text-decoration: underline; color: #0000ff;\"><a class=\"IRPP_minimalist icon-download\" style=\"color: #0000ff; text-decoration: underline;\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/Append-Multiple-Sheetsv2.xlsx\" rel=\"\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Append-Multiple-Sheetsv2.xlsx<\/span><\/a><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1: <\/strong><span style=\"color: #000000;\">Make sure that each worksheet\u00b4s data is in an <strong>Excel Table<\/strong> by clicking in the data and pressing <strong>CTRL+T<\/strong><\/span><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/excel-table.jpg\" rel=\"attachment wp-att-2875\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2875\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/excel-table.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"281\" height=\"270\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2: <\/strong><span style=\"color: #000000;\">Click in each of the worksheets data that you want to consolidate and select:<\/span><\/span><\/p>\n<p><strong>Power Query &gt; From Table<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/from-table.jpg\" rel=\"attachment wp-att-2876\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2876\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/from-table.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"618\" height=\"126\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/from-table.jpg 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/from-table-300x61.jpg 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3: <\/strong><span style=\"color: #000000;\">This will open up the <strong>Query Editor<\/strong> and all you have to do here is press <strong>Close &amp; Load<\/strong>. <\/span><\/span><\/p>\n<p><em><strong>NB: Make sure to do Step 2 &amp; 3 for each worksheet you want to consolidate<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load.jpg\" rel=\"attachment wp-att-2877\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2877\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"565\" height=\"283\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load.jpg 565w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load-300x150.jpg 300w\" sizes=\"(max-width: 565px) 100vw, 565px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4: <\/strong><span style=\"color: #000000;\">Select <strong>Power Query &gt; Append <\/strong><\/span><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/Append.jpg\" rel=\"attachment wp-att-2878\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2878\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/Append.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"553\" height=\"125\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/Append.jpg 553w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/Append-300x68.jpg 300w\" sizes=\"(max-width: 553px) 100vw, 553px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5: <\/strong><span style=\"color: #000000;\">Choose the <strong>Three or more tables<\/strong> option<\/span><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/three-or-more-table.jpg\" rel=\"attachment wp-att-2879\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2879\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/three-or-more-table.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"695\" height=\"276\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/three-or-more-table.jpg 695w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/three-or-more-table-300x119.jpg 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6: <\/strong><span style=\"color: #000000;\">Add the tables to append from the <strong>Available Tables<\/strong> (from the left) to the <strong>Tables to Append<\/strong> (to the right) by selecting and pressing the <strong>Add<\/strong> button.<\/span><\/span><\/p>\n<p>You can also organise the order that you want your consolidated table to appear by moving the Tables up or down<\/p>\n<p><strong>Press the OK button!<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/append2.jpg\" rel=\"attachment wp-att-2880\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2880\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/append2.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"695\" height=\"417\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/append2.jpg 695w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/append2-300x180.jpg 300w\" sizes=\"(max-width: 695px) 100vw, 695px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7:<\/strong> <\/span>This will open up the<strong> Query Editor<\/strong> once again. Choose <strong>Close &amp; Load<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load2.jpg\" rel=\"attachment wp-att-2881\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2881\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load2.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"525\" height=\"409\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load2.jpg 525w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/close-load2-300x234.jpg 300w\" sizes=\"(max-width: 525px) 100vw, 525px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 8:<\/strong><\/span> This will open up a brand new worksheet which will consolidate all the worksheets into one big Table:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/consolidated-table.jpg\" rel=\"attachment wp-att-2882\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2882\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/consolidated-table.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"409\" height=\"554\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/consolidated-table.jpg 409w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/consolidated-table-221x300.jpg 221w\" sizes=\"(max-width: 409px) 100vw, 409px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 9:<\/strong><\/span> From this consolidate worksheet you can <strong>Insert a Pivot Table<\/strong> and do your analysis:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/pivot-table.jpg\" rel=\"attachment wp-att-2883\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2883\" title=\"Consolidate Multiple Excel Sheets Using Power Query Append\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/04\/pivot-table.jpg\" alt=\"Consolidate Multiple Excel Sheets Using Power Query Append\" width=\"251\" height=\"205\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section21\"><\/a>21. Unpivot Data Using Excel Power Query <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>In Excel 2016 it comes built in the Ribbon menu under the <strong>Data<\/strong> tab and within the <strong>Get &amp; Transform<\/strong> group.<\/p>\n<p>Power Query allows you to extract data from any source, clean and transform the data and then load it to another sheet within Excel, Power Pivot, or the Power BI Designer canvas.<\/p>\n<p>One of the best features is to Unpivot Columns.<\/p>\n<p>What that does is transforms columns with similar characteristics (e.g. Jan, Feb, March&#8230;) and puts them in a unique column or tabular format (e.g. Month), which then allows you to do further analysis using Pivot Tables which was not possible before unpivoting.<\/p>\n<p>Here is how this is done:<\/p>\n<p><span style=\"text-decoration: underline; color: #0000ff;\"><a class=\"IRPP_minimalist icon-download\" style=\"color: #0000ff; text-decoration: underline;\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/Unpivot.xlsx\" rel=\"\" target=\"_blank\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Unpivot.xlsx<\/span><\/a><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1:<\/strong><\/span> Highlight your data and go to <em><strong>Power Query &gt; From Table &gt; OK<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/from-table-1.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2273 size-full\" title=\"Unpivot Data Using Excel Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/from-table-1.png\" alt=\"Unpivot Data Using Excel Power Query\" width=\"735\" height=\"125\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/from-table-1.png 735w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/from-table-1-300x51.png 300w\" sizes=\"(max-width: 735px) 100vw, 735px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2:<\/strong><\/span> This opens the Power Query editor and from here you need to <strong>select the columns that you want to unpivot<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/select-column-in-editor.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2274 size-full\" title=\"Unpivot Data Using Excel Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/select-column-in-editor.png\" alt=\"Unpivot Data Using Excel Power Query\" width=\"944\" height=\"255\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/select-column-in-editor.png 944w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/select-column-in-editor-300x81.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/select-column-in-editor-768x207.png 768w\" sizes=\"(max-width: 944px) 100vw, 944px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3:<\/strong><\/span> You then need to go to the <em><strong>Transform<\/strong> <\/em>tab and select<em> <strong>Unpivot Columns<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unoivot-columns-power-query.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2275 size-full\" title=\"Unpivot Data Using Excel Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unoivot-columns-power-query.png\" alt=\"Unpivot Data Using Excel Power Query\" width=\"588\" height=\"127\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unoivot-columns-power-query.png 588w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unoivot-columns-power-query-300x65.png 300w\" sizes=\"(max-width: 588px) 100vw, 588px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4:<\/strong><\/span> Go to the<em><strong> File<\/strong><\/em> tab and choose <em><strong>Close &amp; Load<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/clos-load-power-query.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2277 size-full\" title=\"Unpivot Data Using Excel Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/clos-load-power-query.png\" alt=\"Unpivot Data Using Excel Power Query\" width=\"241\" height=\"355\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/clos-load-power-query.png 241w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/clos-load-power-query-204x300.png 204w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/a><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5:<\/strong><\/span> This will load and <strong>open the unpivoted data into a new worksheet<\/strong> with your Excel workbook. Now you can go crazy with your super analytical work, using Pivot Tables etc<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unpivoted-data.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2278 size-full\" title=\"Unpivot Data Using Excel Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unpivoted-data.png\" alt=\"Unpivot Data Using Excel Power Query\" width=\"318\" height=\"412\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unpivoted-data.png 318w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/02\/unpivoted-data-232x300.png 232w\" sizes=\"(max-width: 318px) 100vw, 318px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/JP3G8rko9M8?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section22\"><\/a>22. Filter Records <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to<strong> filter records<\/strong>.<\/p>\n<p>And the best part is, we will use an <strong>OR condition! <\/strong>It&#8217;s not that straightforward to do in Excel, but it&#8217;s magical in <strong>Power Query!<\/strong><\/p>\n<p>Let&#8217;s suppose you have this set of data below.<\/p>\n<p>We want to filter records that <strong>starts with the letter &#8220;Y&#8221; OR has a country of &#8220;USA&#8221;<\/strong>. You can see that the marked ones are our targets, let us keep them!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9062\" title=\"Filter Records Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-01.png\" alt=\"Filter Records Using Power Query or Get &amp; Transform\" width=\"331\" height=\"327\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-01.png 331w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-01-300x296.png 300w\" sizes=\"(max-width: 331px) 100vw, 331px\" \/><\/a><\/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\/2018\/07\/Filtering.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering.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\">Filtering.xlsx<\/span><\/a><\/p>\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <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\/2018\/07\/Filtering-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9063\" title=\"Filter Records Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-02.png\" alt=\"Filter Records Using Power Query or Get &amp; Transform\" width=\"394\" height=\"357\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-02.png 394w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-02-300x272.png 300w\" sizes=\"(max-width: 394px) 100vw, 394px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Filter Records Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Filter Records Using Power Query or Get &amp; Transform\" 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>Go to Filter Arrow of <strong>Full Name <\/strong>and select<em><strong> Text Filters &gt; <\/strong><\/em><em><strong>Begins With<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9064\" title=\"Filter Records Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-03.png\" alt=\"Filter Records Using Power Query or Get &amp; Transform\" width=\"647\" height=\"407\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-03.png 647w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-03-300x189.png 300w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/a><\/p>\n<p>Here is where the magic happens! Select <strong>Advanced <\/strong>and make sure your conditions are:<\/p>\n<p><strong>Full Name begins with Y<\/strong><\/p>\n<p><strong>Or Country equals USA<\/strong><\/p>\n<p>Click<strong> OK.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9065\" title=\"Filter Records Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-04.png\" alt=\"Filter Records Using Power Query or Get &amp; Transform\" width=\"779\" height=\"332\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-04.png 779w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-04-300x128.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-04-768x327.png 768w\" sizes=\"(max-width: 779px) 100vw, 779px\" \/><\/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 updated table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9066\" title=\"Filter Records Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-05.png\" alt=\"Filter Records Using Power Query or Get &amp; Transform\" width=\"339\" height=\"406\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-05.png 339w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-05-250x300.png 250w\" sizes=\"(max-width: 339px) 100vw, 339px\" \/><\/a><\/p>\n<p>You now have your new table with the filtered rows kept!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9067\" title=\"Filter Records Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/07\/Filtering-06.png\" alt=\"Filter Records Using Power Query or Get &amp; Transform\" width=\"225\" height=\"213\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Filter Records in Excel<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/upFnSCe1TmA?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\">?<\/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><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Importing_Data\"><\/span>Importing Data<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section23\"><\/a>23. Import Web Data <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>&nbsp;<\/p>\n<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 clean and transform your raw &amp; messed up data into a format where you can do further Excel analysis with ease.<\/p>\n<p>Firstly, we would need data to play with Power Query, right? The good thing with Power Query is that there is a <strong>multitude of ways to pull in data.<\/strong><\/p>\n<p>One ways is to get data from the internet by using the <strong>importing web data <\/strong>feature.<strong> <\/strong>I will show you how we can parse a webpage and use it for Power Query!<\/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\/2016\/09\/Import-Web-Data-1.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-1.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\">Import-Web-Data-1.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail using Excel 2016 as our workbook:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Go to <strong>Data &gt; New Query &gt; From Other Sources &gt; From Web. <\/strong><\/p>\n<p>(In Excel 2010 &amp; 2013 you need to go to <strong>Power Query &gt; From Web<\/strong>)<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4446\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-01.png\" alt=\"Import Web Data Using Power Query\" width=\"575\" height=\"709\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-01.png 575w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-01-243x300.png 243w\" sizes=\"(max-width: 575px) 100vw, 575px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2<\/strong>:<\/span> This will ask for a website where you want to get the data from.<\/p>\n<p>We want to get the stock market indexes from Google finance.<\/p>\n<p>Copy and paste this URL: <strong>https:\/\/www.google.com\/finance<\/strong><\/p>\n<p>Press <strong>OK<\/strong> to continue<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4447\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-02.png\" alt=\"Import Web Data Using Power Query\" width=\"699\" height=\"249\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-02.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-02-300x107.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong>Power Query will now try to parse <a href=\"https:\/\/www.google.com\/finance\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">this webpage<\/a>, and in doing so, has determined that there are multiple tables of data in there.<\/p>\n<p>Here is what Power Query brings back as Table options:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/parse-web.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4503\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/parse-web.jpg\" alt=\"Import Web Data Using Power Query\" width=\"330\" height=\"878\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/parse-web.jpg 330w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/parse-web-113x300.jpg 113w\" sizes=\"(max-width: 330px) 100vw, 330px\" \/><\/a><\/p>\n<p>By clicking on the Table options in the <strong>Navigator<\/strong> pane, you will get a preview of the web data on the right-hand side.<\/p>\n<p>Let&#8217;s select <strong>Table 0<\/strong> for our example and press <strong>Edit<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4448\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-03.png\" alt=\"Import Web Data Using Power Query\" width=\"879\" height=\"699\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-03.png 879w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-03-300x239.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-03-768x611.png 768w\" sizes=\"(max-width: 879px) 100vw, 879px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4:<\/span> <\/strong>The data is now imported into the <strong>Query Editor<\/strong> window.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4449\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-04.png\" alt=\"Import Web Data Using Power Query\" width=\"479\" height=\"728\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-04.png 479w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-04-197x300.png 197w\" sizes=\"(max-width: 479px) 100vw, 479px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 5:<\/span> <\/strong>We are going to transform <strong><em>Column3<\/em><\/strong> so the data can be easier to analyze.<\/p>\n<p><strong>Select the <em>Column3<\/em> heading<\/strong> with your mouse<strong> <\/strong>and go to <strong>Home &gt;<\/strong> <strong>Split Column &gt; By Delimiter.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4450\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-05.png\" alt=\"Import Web Data Using Power Query\" width=\"679\" height=\"653\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-05.png 679w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-05-300x289.png 300w\" sizes=\"(max-width: 679px) 100vw, 679px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">STEP 6:<\/span> <\/strong>We want to split the third column into two separate values. One for the actual number, and another for the percentage.<\/p>\n<p>To achieve this, we need to split the data by the space in between the two values.<\/p>\n<p><span style=\"line-height: 1.5;\">Select <strong>Space<\/strong> from the delimiter drop-down and press <strong>OK.<\/strong><\/span><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4451\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-06.png\" alt=\"Import Web Data Using Power Query\" width=\"699\" height=\"329\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-06.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-06-300x141.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 7: <\/strong><\/span> Our imported web data has been transformed into our liking.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4452\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-07.png\" alt=\"Import Web Data Using Power Query\" width=\"551\" height=\"657\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-07.png 551w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/Import-Web-Data-07-252x300.png 252w\" sizes=\"(max-width: 551px) 100vw, 551px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>We are now ready to load it into our Excel worksheet by selecting <strong>Close &amp; Load<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/close-load.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2976 size-full\" title=\"Split First &amp; Last Name Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/05\/close-load.jpg\" alt=\"Split First &amp; Last Name Using Power Query\" width=\"114\" height=\"118\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 8:<\/strong> <\/span> Now that the data is in your Excel worksheet, tomorrow all you need to do is <strong>select the data<\/strong> &amp; press the <strong>Refresh<\/strong> button from the<strong> Workbook Queries<\/strong> pane on the right hand side.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/workbookk-queries2.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4510\" title=\"Import Web Data Using Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/workbookk-queries2.jpg\" alt=\"Import Web Data Using Power Query\" width=\"751\" height=\"455\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/workbookk-queries2.jpg 751w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/09\/workbookk-queries2-300x182.jpg 300w\" sizes=\"(max-width: 751px) 100vw, 751px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You will have the latest stock prices &amp; all this without copying and pasting from the webpage! Thank You Power Query \ud83d\ude42<br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/Sv5POlAAId4?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section24\"><\/a>24. Import Data from XML <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.<\/p>\n<p>But what if your data source is not in your Excel <a class=\"wpil_keyword_link\" title=\"spreadsheet\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/free-excel-templates-and-spreadsheets\/\" target=\"_blank\" rel=\"noopener\" data-wpil-keyword-link=\"linked\">spreadsheet<\/a>?<\/p>\n<p>It&#8217;s very common nowadays to get data imported from a company&#8217;s accounting or sales system in the XML format. If it&#8217;s inside a XML (extensible markup language) file, it&#8217;s very easy to <strong>import data from xml<\/strong> and right into <strong>Power Query! <\/strong><\/p>\n<p>Let&#8217;s suppose you have this set of data from the xml file:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7577\" title=\"Import Data from XML Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-01.png\" alt=\"Import Data from XML Using Power Query or Get &amp; Transform\" width=\"868\" height=\"543\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-01.png 868w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-01-300x188.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-01-768x480.png 768w\" sizes=\"(max-width: 868px) 100vw, 868px\" \/><\/a><\/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\/2018\/01\/Get-Data-from-XML.zip\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML.zip\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook and source file<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">Get-Data-from-XML.zip<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Using Excel 2016 (screenshot below)<\/strong><\/span><\/p>\n<p>Go to <em><strong>Data &gt; New Query &gt; From File &gt; From XML<\/strong><\/em><\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Using Excel 2013 or Excel 2010<\/strong><\/span><\/p>\n<p>Go to <em><strong>Power Query &gt; From File &gt; From XML<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7578\" title=\"Import Data from XML Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-02.png\" alt=\"Import Data from XML Using Power Query or Get &amp; Transform\" width=\"364\" height=\"336\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-02.png 364w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-02-300x277.png 300w\" sizes=\"(max-width: 364px) 100vw, 364px\" \/><\/a><\/p>\n<p>Select the <strong>xml file <\/strong>that contains the data. Click <strong>Import.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7579\" title=\"Import Data from XML Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-03.png\" alt=\"Import Data from XML Using Power Query or Get &amp; Transform\" width=\"669\" height=\"473\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-03.png 669w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-03-300x212.png 300w\" sizes=\"(max-width: 669px) 100vw, 669px\" \/><\/a><\/p>\n<p>Select the <strong>XML Data Source. <\/strong>A preview of the xml data will be shown. If it looks good, press <strong>Edit.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7580\" title=\"Import Data from XML Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-04.png\" alt=\"Import Data from XML Using Power Query or Get &amp; Transform\" width=\"1041\" height=\"699\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-04.png 1041w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-04-300x201.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-04-1024x688.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-04-768x516.png 768w\" sizes=\"(max-width: 1041px) 100vw, 1041px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2<\/strong>:<\/span> This will open up the <strong>Power Query Editor<\/strong>. You can now perform your data manipulation here but we will keep the data as is.<\/p>\n<p>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 imported table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7581\" title=\"Import Data from XML Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-05.png\" alt=\"Import Data from XML Using Power Query or Get &amp; Transform\" width=\"803\" height=\"322\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-05.png 803w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-05-300x120.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-05-768x308.png 768w\" sizes=\"(max-width: 803px) 100vw, 803px\" \/><\/a><\/p>\n<p>You now have your new table from the XML file!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7583\" title=\"Import Data from XML Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-06.png\" alt=\"Import Data from XML Using Power Query or Get &amp; Transform\" width=\"746\" height=\"130\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-06.png 746w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/01\/Get-Data-from-XML-06-300x52.png 300w\" sizes=\"(max-width: 746px) 100vw, 746px\" \/><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Import Data from XML in Excel<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/yFKhRCWB2rg?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section25\"><\/a>25. Import Data from CSV <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.<\/p>\n<p>But what if your data source is not in your Excel spreadsheet but located on your desktop?<\/p>\n<p>If it&#8217;s inside a <strong>CSV<\/strong> file &#8211; <strong>Comma Separated Values<\/strong> which is denoted by a <strong>.csv<\/strong> file extension &amp; where the columns are separated by commas &#8211; it&#8217;s very easy to <strong>import data from csv<\/strong> and right into <strong>Power Query! <\/strong><\/p>\n<p>It&#8217;s very common nowadays to get data in the comma-delimited format.<\/p>\n<p>Let&#8217;s suppose you have this set of data from the csv file:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7543\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-01.png\" alt=\"Import Data from CSV Using Power Query\" width=\"214\" height=\"264\"><\/a><\/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\/2018\/03\/Get-Data-from-CSV-1.zip\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/03\/Get-Data-from-CSV-1.zip\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook and source file<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">Get-Data-from-CSV-1.zip<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Using Excel 2016 (screenshot below)<\/strong><\/span><\/p>\n<p>Go to <em><strong>Data &gt; New Query &gt; From File &gt; From CSV<\/strong><\/em><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Using Excel 2013 or Excel 2010<\/strong><\/span><\/p>\n<p>Go to <em><strong>Power Query &gt; From File &gt; From CSV<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7544\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-02.png\" alt=\"Import Data from CSV Using Power Query\" width=\"373\" height=\"338\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-02.png 373w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-02-300x272.png 300w\" sizes=\"(max-width: 373px) 100vw, 373px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Select the <strong>csv file <\/strong>that contains the data. Click <strong>Import.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7545\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-03.png\" alt=\"Import Data from CSV Using Power Query\" width=\"669\" height=\"473\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-03.png 669w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-03-300x212.png 300w\" sizes=\"(max-width: 669px) 100vw, 669px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>A preview of the csv data will be shown. If it looks good, press <strong>Edit.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7546\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-04.png\" alt=\"Import Data from CSV Using Power Query\" width=\"759\" height=\"378\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-04.png 759w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-04-300x149.png 300w\" sizes=\"(max-width: 759px) 100vw, 759px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2<\/strong>:<\/span> This will open up the Power Query Editor.<\/p>\n<p>Go to <em><strong>Home &gt; Transform &gt; Use First Row As Headers<\/strong>. <\/em><\/p>\n<p>This will give your table the correct Column Headers.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7547\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-05.png\" alt=\"Import Data from CSV Using Power Query\" width=\"777\" height=\"443\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-05.png 777w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-05-300x171.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-05-768x438.png 768w\" sizes=\"(max-width: 777px) 100vw, 777px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/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 imported table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7548\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-06.png\" alt=\"Import Data from CSV Using Power Query\" width=\"328\" height=\"396\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-06.png 328w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-06-248x300.png 248w\" sizes=\"(max-width: 328px) 100vw, 328px\"><\/a><\/p>\n<p>You now have your new table from the csv file!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7549\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-CSV-07.png\" alt=\"Import Data from CSV Using Power Query\" width=\"215\" height=\"246\"><\/a><\/p>\n<p><span style=\"color: #0000ff;\"><strong>Import Data from CSV in Excel<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/z_nWR4CUciQ?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section26\"><\/a>26. Import Data from Text <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data.<\/p>\n<p>But what if your data source is not in your Excel spreadsheet?<\/p>\n<p>If it&#8217;s inside a text file, it&#8217;s very easy to <strong>import data from text<\/strong> and right into <strong>Power Query!<\/strong><\/p>\n<p>Let&#8217;s suppose you have this set of data from a text file:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7521\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-01.png\" alt=\"Import Data from Text Using Power Query or Get &amp; Transform\" width=\"258\" height=\"263\"><\/a><\/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\/2017\/12\/Get-Data-from-Text.zip\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text.zip\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook and source file<i class=\"fa fa-download\"><\/i><\/span><span class=\"postTitle px-3\">Get-Data-from-Text.zip<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span><\/p>\n<p><span style=\"text-decoration: underline;\"><span style=\"color: #0000ff;\"><strong>Using Excel 2016 (screenshot below)<\/strong><\/span><\/span><\/p>\n<p>Go to <em><strong>Data &gt; New Query &gt; From File &gt; From Text <\/strong><\/em><\/p>\n<p><span style=\"text-decoration: underline;\"><strong><span style=\"color: #0000ff; text-decoration: underline;\">Using Excel 2013 or Excel 2010<\/span><\/strong><\/span><\/p>\n<p>Go to <em><strong>Power Query &gt; From File &gt; From Text<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7522\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-02.png\" alt=\"Import Data from Text Using Power Query or Get &amp; Transform\" width=\"426\" height=\"347\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-02.png 426w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-02-300x244.png 300w\" sizes=\"(max-width: 426px) 100vw, 426px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Select the <strong>text file (with extension <em>.txt<\/em>) <\/strong>that contains the data. Click <strong>Import.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7523\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-03.png\" alt=\"Import Data from Text Using Power Query or Get &amp; Transform\" width=\"666\" height=\"466\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-03.png 666w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-03-300x210.png 300w\" sizes=\"(max-width: 666px) 100vw, 666px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>A preview of the text data will be shown. If it looks good, press <strong>Edit.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7524\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-04.png\" alt=\"Import Data from Text Using Power Query or Get &amp; Transform\" width=\"759\" height=\"378\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-04.png 759w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-04-300x149.png 300w\" sizes=\"(max-width: 759px) 100vw, 759px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 2<\/strong>:<\/span> This will open up the Power Query Editor.<\/p>\n<p>Go to <em><strong>Home &gt; Transform &gt; Use First Row As Headers<\/strong>. <\/em><\/p>\n<p>This will give your table the correct Column Headers.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7525\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-05.png\" alt=\"Import Data from Text Using Power Query or Get &amp; Transform\" width=\"761\" height=\"457\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-05.png 761w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-05-300x180.png 300w\" sizes=\"(max-width: 761px) 100vw, 761px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/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 imported table.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7526\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-06.png\" alt=\"Import Data from Text Using Power Query or Get &amp; Transform\" width=\"387\" height=\"405\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-06.png 387w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-06-287x300.png 287w\" sizes=\"(max-width: 387px) 100vw, 387px\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You now have your new table from the text file!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-07.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-7527\" title=\"\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/12\/Get-Data-from-Text-07.png\" alt=\"Import Data from Text Using Power Query or Get &amp; Transform\" width=\"205\" height=\"248\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>Import Data from Text Using Power Query or Get &amp; Transform<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/MDYIhrorCEs?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\">?<\/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><\/p>\n<h2><span class=\"ez-toc-section\" id=\"The_M_Language\"><\/span>The M Language<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section27\"><\/a>27. Getting Started with M <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p>&nbsp;<\/p>\n<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.<\/p>\n<p>There are times when we want to do things that are not built in the user interface. This is possible with <strong>Power Query&#8217;s programming language, which is M.<\/strong><\/p>\n<p>To start off, we will do a simple example of merging the first name and second name into a new column. This is possible with the <strong>CONCATENATE formula<\/strong>, however I want to use a simple example for you to get a feel of how to use <strong>M in Power Query<\/strong>. Baby steps!<\/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\/2016\/12\/Getting-Started-with-M.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook <\/span><span class=\"postTitle px-3\">Getting-Started-with-M.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing the shortcut <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\/12\/Getting-Started-with-M-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5649\" title=\"Getting Started with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-01.png\" alt=\"Getting Started with M in Power Query\" width=\"241\" height=\"282\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5431\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" alt=\"merge-columns-02\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" title=\"\"><\/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 <strong>Power Query Editor.<\/strong><\/p>\n<p>Here we will have our first taste of using <strong>M!<\/strong><\/p>\n<p>Go to <em><strong>Add Column &gt; Add Custom Column<br \/>\n<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5650\" title=\"Getting Started with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-02.png\" alt=\"Getting Started with M in Power Query\" width=\"454\" height=\"388\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-02.png 454w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-02-300x256.png 300w\" sizes=\"(max-width: 454px) 100vw, 454px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4: <\/span><\/strong>Let us create a simple <strong>M <\/strong>expression to combine the <strong>First Name <\/strong>and the <strong>Last Name.<\/strong><\/p>\n<p>In the <strong>New column name<\/strong> text box, type <em><strong>Full Name<\/strong><\/em><\/p>\n<p>In the <strong>Custom column formula<\/strong>, type in: <em><strong>[First Name]&amp;&#8221; &#8220;&amp;[Last Name] <\/strong><\/em><strong><br \/>\n<\/strong><\/p>\n<p><em>(You can alternatively double click in the <strong>Available columns<\/strong> names to use the column names in the formula)<\/em><\/p>\n<p>The <strong>Ampersand (&amp;)<\/strong> will combine the values together, then we added a space in the middle with the <strong>double quotes<\/strong> <strong>&#8221; &#8220;<\/strong><\/p>\n<p>Click <strong>OK.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5651\" title=\"Getting Started with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-03.png\" alt=\"Getting Started with M in Power Query\" width=\"699\" height=\"412\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-03.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-03-300x177.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Now you will see your changes take place.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5652\" title=\"Getting Started with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-04.png\" alt=\"Getting Started with M in Power Query\" width=\"508\" height=\"252\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-04.png 508w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-04-300x149.png 300w\" sizes=\"(max-width: 508px) 100vw, 508px\" \/><\/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\/12\/Getting-Started-with-M-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5653\" title=\"Getting Started with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-05.png\" alt=\"Getting Started with M in Power Query\" width=\"352\" height=\"120\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-05.png 352w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-05-300x102.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Woohoo! You now had your first taste of programming using <strong>M!<\/strong> Watch out for future posts as we tackle more complex formulas!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5654\" title=\"Getting Started with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-06.png\" alt=\"Getting Started with M in Power Query\" width=\"382\" height=\"225\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-06.png 382w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Getting-Started-with-M-06-300x177.png 300w\" sizes=\"(max-width: 382px) 100vw, 382px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/lYDVGlsuW7A?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section28\"><\/a>28. Replicating Excel\u2019s FIND Function with M <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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. There are times when we want to do things that are not built in the user interface. This is possible with <strong>Power Query&#8217;s formula language, which is called M.<\/strong><\/p>\n<p>Unfortunately, not all of Excel&#8217;s formulas can be used in M.<\/p>\n<p>For example, if we want to use the <strong>Excel&#8217;s FIND Function <\/strong>to find a specific character in text<strong>,<\/strong> it is not supported in <strong>M<\/strong>.<\/p>\n<p>Let me show you how I can replicate the <strong>FIND Function <\/strong>in M!<\/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\/2017\/03\/Replicating-Excels-FIND-Function-with-M.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M.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\">Replicating-Excels-FIND-Function-with-M.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing the shortcut <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\/03\/Replicating-Excels-FIND-Function-with-M-01.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6097\" title=\"Replicating Excel's FIND Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-01.jpg\" alt=\"Replicating Excel's FIND Function with M in Power Query\" width=\"255\" height=\"372\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-01.jpg 255w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-01-206x300.jpg 206w\" sizes=\"(max-width: 255px) 100vw, 255px\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5431\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" alt=\"merge-columns-02\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" title=\"\"><\/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 <strong>Power Query Editor.<\/strong><\/p>\n<p>We want to <strong>get the position of the letter O <\/strong>of the <strong>Channel Partners<\/strong>, so we need to select the CHANNEL PARTNERS column.<\/p>\n<p>Go to <em><strong>Add Column &gt; Add Custom Column<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-02.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-6098 alignnone\" title=\"Replicating Excel's FIND Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-02.jpg\" alt=\"Replicating Excel's FIND Function with M in Power Query\" width=\"359\" height=\"386\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-02.jpg 359w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-02-279x300.jpg 279w\" sizes=\"(max-width: 359px) 100vw, 359px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4: <\/span><\/strong>Let us create a simple <strong>M <\/strong>expression to replicate the <strong>FIND function in Excel<\/strong><strong>.<\/strong><\/p>\n<p>In the <strong>New column name <\/strong>text box, type<span style=\"color: #0000ff;\"><em> <b>FIND<\/b><\/em><\/span><\/p>\n<p>In the <strong>Custom column formula<\/strong>, type in:<strong><span style=\"color: #0000ff;\"><em> Text.PositionOf(<\/em><\/span><br \/>\n<\/strong><\/p>\n<p>From the <strong>Available columns<\/strong> choose <span style=\"color: #0000ff;\"><strong>CHANNEL PARTNERS<\/strong><\/span> and select Insert.<\/p>\n<p>Then finish off the formula by entering <strong><em><span style=\"color: #0000ff;\">&#8220;o&#8221;) + 1 <\/span><\/em><\/strong><\/p>\n<p>We now have built the following formula:<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #0000ff;\"><strong><em>Text.PositionOf([CHANNEL PARTNERS], &#8220;o&#8221;) + 1<\/em><\/strong><\/span><\/h3>\n<p>&nbsp;<\/p>\n<p>So let us quickly break down what we just did:<\/p>\n<ul>\n<li>We are using the <strong>Text.PositionOf <\/strong>formula to get the find the letter &#8220;o&#8221; in the <b>CHANNEL PARTNERS<\/b> column<\/li>\n<li>We added 1 to it because the <em>PositionOf<\/em> formula starts counting at 0.  That is different to the FIND formula in Excel which starts counting at 1 as the 1st character.<\/li>\n<li>So to replicate the FIND formula, we need to add 1 to our formula to make up for the difference.<\/li>\n<li>Click <strong>OK to confirm.<\/strong><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-03.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6099\" title=\"Replicating Excel's FIND Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-03.jpg\" alt=\"Replicating Excel's FIND Function with M in Power Query\" width=\"699\" height=\"412\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-03.jpg 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-03-300x177.jpg 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Now you will see your changes take place. For example, in &#8220;Widget Corp&#8221; the first &#8220;o&#8221; encountered is the 9th character in this text string.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-04.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6100\" title=\"Replicating Excel's FIND Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-04.jpg\" alt=\"Replicating Excel's FIND Function with M in Power Query\" width=\"291\" height=\"219\" \/><\/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\/2017\/03\/Replicating-Excels-FIND-Function-with-M-05.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6101\" title=\"Replicating Excel's FIND Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-05.jpg\" alt=\"Replicating Excel's FIND Function with M in Power Query\" width=\"353\" height=\"128\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-05.jpg 353w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-05-300x109.jpg 300w\" sizes=\"(max-width: 353px) 100vw, 353px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Congratulations! You have used the <strong>M <\/strong>formula in Power Query to replicate Excel&#8217;s <strong>FIND <\/strong><strong>function<\/strong>!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-06-1.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6104\" title=\"Replicating Excel's FIND Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-06-1.jpg\" alt=\"Replicating Excel's FIND Function with M in Power Query\" width=\"205\" height=\"205\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-06-1.jpg 205w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/03\/Replicating-Excels-FIND-Function-with-M-06-1-150x150.jpg 150w\" sizes=\"(max-width: 205px) 100vw, 205px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/Hkn4Aztr9hE?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section29\"><\/a>29. Replicating Excel\u2019s LEN Function with M <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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. There are times when we want to do things that are not built in the user interface. This is possible with <strong>Power Query&#8217;s programming language, which is M.<\/strong><\/p>\n<p>Unfortunately, not all of Excel&#8217;s formulas can be used in M.<\/p>\n<p>For example, if we want to use the <strong>LEN Excel Function <\/strong>to get the length of strings<strong>,<\/strong> it is not supported in <strong>M<\/strong>.<\/p>\n<p>Let me show you how I can replicate the <strong>LEN Function <\/strong>in M!<\/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\/2017\/02\/Replicating-Excels-LEN-Function-with-M.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M.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\">Replicating-Excels-LEN-Function-with-M.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing the shortcut <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\/02\/Replicating-Excels-LEN-Function-with-M-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5965\" title=\"Replicating Excel's LEN Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-01.png\" alt=\"Replicating Excel's LEN Function with M in Power Query\" width=\"243\" height=\"284\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5431\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" alt=\"merge-columns-02\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" title=\"\"><\/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 <strong>Power Query Editor.<\/strong><\/p>\n<p>We want to <strong>get the length<\/strong> of the <strong>Channel Partners<\/strong>, so we need to select the CHANNEL PARTNERS column.<\/p>\n<p>Go to <em><strong>Add Column &gt; Add Custom Column<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-02.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5966\" title=\"Replicating Excel's LEN Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-02.jpg\" alt=\"Replicating Excel's LEN Function with M in Power Query\" width=\"1099\" height=\"713\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-02.jpg 1099w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-02-300x195.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-02-1024x664.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-02-768x498.jpg 768w\" sizes=\"(max-width: 1099px) 100vw, 1099px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4: <\/span><\/strong>Let us create a simple <strong>M <\/strong>expression to replicate the <strong>LEN function in Excel<\/strong><strong>.<\/strong><\/p>\n<p>In the <strong>New column name <\/strong>text box, type<span style=\"color: #0000ff;\"><em> <strong>CHANNEL PARTNERS<\/strong><strong> (LEN)<\/strong><\/em><\/span><\/p>\n<p>In the <strong>Custom column formula<\/strong>, type in:<strong><span style=\"color: #0000ff;\"><em> Text.Length(<\/em><\/span><br \/>\n<\/strong><\/p>\n<p>From the <strong>Available columns<\/strong> choose <span style=\"color: #0000ff;\"><strong>CHANNEL PARTNERS<\/strong><\/span> and select Insert.<\/p>\n<p>Then finish off the formula by entering <strong><em><span style=\"color: #0000ff;\">) <\/span><\/em><\/strong><\/p>\n<p>We now have build the following formula:<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #0000ff;\"><strong><em>Text.Length([CHANNEL PARTNERS])<\/em><\/strong><\/span><\/h3>\n<p>So lets quickly break down what we just did:<\/p>\n<ul>\n<li>We are using the <strong>Text.Length <\/strong>formula to get the length of the <b>CHANNEL PARTNERS<\/b> column<\/li>\n<li>Click <strong>OK to confirm.<\/strong><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-03.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5967\" title=\"Replicating Excel's LEN Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-03.jpg\" alt=\"Replicating Excel's LEN Function with M in Power Query\" width=\"699\" height=\"412\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-03.jpg 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-03-300x177.jpg 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Now you will see your changes take place.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-04.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5968\" title=\"Replicating Excel's LEN Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-04.jpg\" alt=\"Replicating Excel's LEN Function with M in Power Query\" width=\"1065\" height=\"595\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-04.jpg 1065w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-04-300x168.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-04-1024x572.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-04-768x429.jpg 768w\" sizes=\"(max-width: 1065px) 100vw, 1065px\" \/><\/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\/2017\/02\/Replicating-Excels-LEN-Function-with-M-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5969\" title=\"Replicating Excel's LEN Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-05.png\" alt=\"Replicating Excel's LEN Function with M in Power Query\" width=\"352\" height=\"120\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-05.png 352w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-05-300x102.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Congratulations! You have used a <strong>M <\/strong>formula for replicating the <strong>LEN <\/strong><strong>function<\/strong>!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-06.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5970\" title=\"Replicating Excel's LEN Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-06.jpg\" alt=\"Replicating Excel's LEN Function with M in Power Query\" width=\"620\" height=\"517\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-06.jpg 620w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEN-Function-with-M-06-300x250.jpg 300w\" sizes=\"(max-width: 620px) 100vw, 620px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/PycbGIh4E_U?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section30\"><\/a>30. Replicating Excel\u2019s RIGHT Function with M <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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. There are times when we want to do things that are not built in the user interface. This is possible with <strong>Power Query&#8217;s programming language, which is M.<\/strong><\/p>\n<p>Unfortunately, not all of Excel&#8217;s formulas can be used in M.<\/p>\n<p>For example, if we want to use the <strong>RIGHT Excel Function<\/strong><strong>,<\/strong> it is not supported in <strong>M<\/strong>.<\/p>\n<p>But I will show you how we can replicate the <strong>RIGHT Function <\/strong>in M using Power Query and the <strong>Text.End<\/strong> formula!<\/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\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M.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\">Replicating-Excels-RIGHT-Function-with-M.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing the shortcut <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\/02\/Replicating-Excels-RIGHT-Function-with-M-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5952\" title=\"Replicating Excel's RIGHT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-01.png\" alt=\"Replicating Excel's RIGHT Function with M in Power Query\" width=\"243\" height=\"284\" \/><\/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><br \/>\n<strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5431\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" alt=\"merge-columns-02\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" title=\"\"><\/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 <strong>Power Query Editor.<\/strong><\/p>\n<p><strong>Select the SALES QTR<\/strong> column.<\/p>\n<p>Go to <em><strong>Add Column &gt; Add Custom Column<br \/>\n<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-02.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5953\" title=\"Replicating Excel's RIGHT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-02.jpg\" alt=\"Replicating Excel's RIGHT Function with M in Power Query\" width=\"1066\" height=\"663\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-02.jpg 1066w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-02-300x187.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-02-1024x637.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-02-768x478.jpg 768w\" sizes=\"(max-width: 1066px) 100vw, 1066px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4: <\/span><\/strong>We want to get the last character of the SALES QTR cell values. For example: 1, 2, 3 or 4<\/p>\n<p>So, let us create a simple <strong>M <\/strong>expression to replicate the <strong>RIGHT function in Excel<\/strong><strong>. <\/strong><\/p>\n<p>In the <strong>New column name <\/strong>text box, type<span style=\"color: #0000ff;\"><em> <strong>SALES QTR (Shortened)<\/strong><\/em><\/span><\/p>\n<p>In the <strong>Custom column formula<\/strong>, type in:<strong><span style=\"color: #0000ff;\"><em> Text.End(<\/em><\/span><br \/>\n<\/strong><\/p>\n<p>From the <strong>Available columns<\/strong> choose <span style=\"color: #0000ff;\"><strong>SALES QTR<\/strong><\/span> and Insert<\/p>\n<p>Then finish off the formula by entering <strong><em><span style=\"color: #0000ff;\">, 1) <\/span><\/em><\/strong><\/p>\n<p>We now have built the following formula:<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #0000ff;\"><strong><em>Text.End([SALES QTR], 1)<\/em><\/strong><\/span><\/h3>\n<p>&nbsp;<\/p>\n<p>So let us quickly break down what we just did:<\/p>\n<ul>\n<li>We are using the <strong>Text.End <\/strong>formula to get the last <strong>X<\/strong> characters of the <strong>SALES QTR<\/strong> column<\/li>\n<li>We place in <b>1<\/b>, to specify that we want the <strong>last 1 character.<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Click <strong>OK to confirm.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-03.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5954\" title=\"Replicating Excel's RIGHT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-03.jpg\" alt=\"Replicating Excel's RIGHT Function with M in Power Query\" width=\"699\" height=\"412\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-03.jpg 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-03-300x177.jpg 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Now you will see your changes take place.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-04.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5955\" title=\"Replicating Excel's RIGHT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-04.jpg\" alt=\"Replicating Excel's RIGHT Function with M in Power Query\" width=\"1095\" height=\"635\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-04.jpg 1095w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-04-300x174.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-04-1024x594.jpg 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-04-768x445.jpg 768w\" sizes=\"(max-width: 1095px) 100vw, 1095px\" \/><\/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\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5956\" title=\"Replicating Excel's RIGHT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-05.png\" alt=\"Replicating Excel's RIGHT Function with M in Power Query\" width=\"352\" height=\"120\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-05.png 352w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-05-300x102.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Congratulations! You have used a <strong>M <\/strong>formula for replicating the <strong>RIGHT <\/strong><strong>function<\/strong>!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-06.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5957\" title=\"Replicating Excel's RIGHT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-06.jpg\" alt=\"Replicating Excel's RIGHT Function with M in Power Query\" width=\"608\" height=\"466\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-06.jpg 608w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-RIGHT-Function-with-M-06-300x230.jpg 300w\" sizes=\"(max-width: 608px) 100vw, 608px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/gvBbk7xRtMs?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section31\"><\/a>31. Replicating Excel\u2019s LEFT Function with M <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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. There are times when we want to do things that are not built in the user interface. This is possible with <strong>Power Query&#8217;s programming language, which is M.<\/strong><\/p>\n<p>Unfortunately, not all of Excel&#8217;s formulas can be used in M.<\/p>\n<p>For example, if we want to use the <strong>LEFT Excel Function<\/strong><strong>,<\/strong> it is not supported in <strong>M<\/strong>.<\/p>\n<p>But I have found a way for us to replicate the <strong>LEFT Function <\/strong>in M!<\/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\/2017\/02\/Replicating-Excels-LEFT-Function-with-M.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Replicating-Excels-LEFT-Function-with-M.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\">Replicating-Excels-LEFT-Function-with-M.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing the shortcut <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\/12\/Replicating-Excels-LEFT-Function-with-M-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5727\" title=\"Replicating Excel's LEFT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-01.png\" alt=\"Replicating Excel's LEFT Function with M in Power Query\" width=\"243\" height=\"284\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5431\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" alt=\"merge-columns-02\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" title=\"\"><\/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 <strong>Power Query Editor.<\/strong><\/p>\n<p>Go to <em><strong>Add Column &gt; Add Custom Column<br \/>\n<\/strong><\/em><\/p>\n<p>We want to <strong>get the first 3 characters<\/strong> of the <strong>Sales Month<\/strong>:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5728\" title=\"Replicating Excel's LEFT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-02.png\" alt=\"Replicating Excel's LEFT Function with M in Power Query\" width=\"755\" height=\"463\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-02.png 755w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-02-300x184.png 300w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4: <\/span><\/strong>Let us create a simple <strong>M <\/strong>expression to replicate the <strong>LEFT function in Excel<\/strong><strong>.<\/strong><\/p>\n<p>In the <strong>New column name <\/strong>text box, type<span style=\"color: #0000ff;\"><em> <strong>SALES MONTH (Shortened)<\/strong><\/em><\/span><\/p>\n<p>In the <strong>Custom column formula<\/strong>, type in:<strong><span style=\"color: #0000ff;\"><em> Text.Start(<\/em><\/span><br \/>\n<\/strong><\/p>\n<p>From the <strong>Available columns<\/strong> choose <span style=\"color: #0000ff;\"><strong>SALES MONTH<\/strong><\/span> and Insert<\/p>\n<p>Then finish off the formula by entering <strong><em><span style=\"color: #0000ff;\">, 3) <\/span><\/em><\/strong><\/p>\n<p>We now have build the following formula:<\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #0000ff;\"><strong><em>Text.Start([SALES MONTH], 3)<\/em><\/strong><\/span><\/h3>\n<p>&nbsp;<\/p>\n<p>So lets quickly break down what we just did:<\/p>\n<ul>\n<li>We are using the <strong>Text.Start <\/strong>formula to get the first <strong>X<\/strong> characters of the <strong>SALES MONTH<\/strong> column<\/li>\n<li>We place in <strong>3<\/strong>, to specify that we want the <strong>first 3 characters.<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>Click <strong>OK to confirm.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5729\" title=\"Replicating Excel's LEFT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-03.png\" alt=\"Replicating Excel's LEFT Function with M in Power Query\" width=\"699\" height=\"412\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-03.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-03-300x177.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Now you will see your changes take place.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5730\" title=\"Replicating Excel's LEFT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-04.png\" alt=\"Replicating Excel's LEFT Function with M in Power Query\" width=\"1074\" height=\"667\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-04.png 1074w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-04-300x186.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-04-1024x636.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-04-768x477.png 768w\" sizes=\"(max-width: 1074px) 100vw, 1074px\" \/><\/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\/12\/Replicating-Excels-LEFT-Function-with-M-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5731\" title=\"Replicating Excel's LEFT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-05.png\" alt=\"Replicating Excel's LEFT Function with M in Power Query\" width=\"352\" height=\"120\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-05.png 352w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-05-300x102.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Congratulations! You have used a <strong>M <\/strong>formula for replicating the <strong>LEFT <\/strong><strong>function<\/strong>!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5732\" title=\"Replicating Excel's LEFT Function with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-06.png\" alt=\"Replicating Excel's LEFT Function with M in Power Query\" width=\"626\" height=\"403\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-06.png 626w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Replicating-Excels-LEFT-Function-with-M-06-300x193.png 300w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/a><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/PUFVJRSOi-A?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section32\"><\/a>32. Data Type Conversions with M <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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 clean &amp; transform your Excel data.<\/p>\n<p>There are times when we want to do things that are not built in the user interface. This is possible with <strong>Power Query&#8217;s programming language, which is M.<\/strong><\/p>\n<p>One of the unique characteristics of <strong>M <\/strong>is it takes data types very seriously.<\/p>\n<p>For example, if we try to concatenate or combine a text with a number, it will result in an error. So let us take a look what are our options for <strong>data type conversions in M<\/strong>.<\/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\/2016\/12\/Data-Type-Conversions-with-M-.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-.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\">Data-Type-Conversions-with-M-.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">Let\u2019s go through the steps in detail:<\/p>\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/how-to-insert-an-excel-table\/\" target=\"_blank\" rel=\"noopener noreferrer\">Excel Table<\/a> by pressing the shortcut <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\/12\/Data-Type-Conversions-with-M-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5661\" title=\"Data Type Conversions with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-01.png\" alt=\"Data Type Conversions with M in Power Query\" width=\"241\" height=\"282\" \/><\/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> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5431\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png\" alt=\"merge-columns-02\" width=\"618\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02.png 618w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Merge-Columns-02-300x64.png 300w\" sizes=\"(max-width: 618px) 100vw, 618px\" title=\"\"><\/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 <strong>Power Query Editor.<\/strong><\/p>\n<p>Go to <em><strong>Add Column &gt; Add Custom Column<br \/>\n<\/strong><\/em><\/p>\n<p>We want to combine the <strong>Financial Year (Number)<\/strong> and <strong>Sales Qtr (Text)<\/strong>:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5662\" title=\"Data Type Conversions with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-02.png\" alt=\"Data Type Conversions with M in Power Query\" width=\"1035\" height=\"317\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-02.png 1035w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-02-300x92.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-02-1024x314.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-02-768x235.png 768w\" sizes=\"(max-width: 1035px) 100vw, 1035px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 4: <\/span><\/strong>Let us create a simple <strong>M <\/strong>expression to combine the <strong>Financial Year <\/strong>and the <strong>Sales Quarter.<\/strong><\/p>\n<p>In the <strong>New column name<\/strong> text box, type <em><strong>Financial Quarter<\/strong><\/em><\/p>\n<p>In the <strong>Custom column formula<\/strong>, type in:<strong><em> Text.From([FINANCIAL YEAR])&amp;&#8221; &#8220;&amp;[SALES QTR]<\/em><br \/>\n<\/strong><\/p>\n<p>The main point here is we are doing the following steps:<\/p>\n<ul>\n<li>We are using the <strong>Text.From <\/strong>formula to convert the <strong>Financial Year <\/strong>into <em>Text<\/em><\/li>\n<li>Since <strong>Financial Year <\/strong>and <strong>Sales Qtr<\/strong> are now both texts, we can combine them together.<\/li>\n<li>We can now use the <strong>Ampersand (&amp;)<\/strong> to join them together.<\/li>\n<\/ul>\n<p>Click <strong>OK.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5663\" title=\"Data Type Conversions with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-03.png\" alt=\"Data Type Conversions with M in Power Query\" width=\"699\" height=\"412\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-03.png 699w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-03-300x177.png 300w\" sizes=\"(max-width: 699px) 100vw, 699px\" \/><\/a><\/p>\n<p>Now you will see your changes take place.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5664\" title=\"Data Type Conversions with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-04.png\" alt=\"Data Type Conversions with M in Power Query\" width=\"1041\" height=\"303\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-04.png 1041w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-04-300x87.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-04-1024x298.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-04-768x224.png 768w\" sizes=\"(max-width: 1041px) 100vw, 1041px\" \/><\/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\/12\/Data-Type-Conversions-with-M-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5665\" title=\"Data Type Conversions with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-05.png\" alt=\"Data Type Conversions with M in Power Query\" width=\"352\" height=\"120\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-05.png 352w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-05-300x102.png 300w\" sizes=\"(max-width: 352px) 100vw, 352px\" \/><\/a><\/p>\n<p>Congratulations! You have used a <strong>M <\/strong>formula for data conversions!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5666\" title=\"Data Type Conversions with M in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-06.png\" alt=\"Data Type Conversions with M in Power Query\" width=\"1321\" height=\"395\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-06.png 1321w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-06-300x90.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-06-1024x306.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/12\/Data-Type-Conversions-with-M-06-768x230.png 768w\" sizes=\"(max-width: 1321px) 100vw, 1321px\" \/><\/a><\/p>\n<p>There are a lot more data conversion formulas you could use:<\/p>\n<ul>\n<li><strong>Date.FromText()<\/strong> &#8211; Converts text dates into the date data type\n<ul>\n<li>ex. Date.FromText(&#8220;Jan 12, 2017&#8221;)<\/li>\n<\/ul>\n<\/li>\n<li><strong>Time.FromText() &#8211;<\/strong> Converts text times into the time data type:\n<ul>\n<li>ex. Time.FromText(&#8220;6:55 AM&#8221;)<\/li>\n<\/ul>\n<\/li>\n<li><strong>Number.FromText()<\/strong> &#8211; Converts text numbers into the decimal data type:\n<ul>\n<li>ex. Number.FromText(&#8220;123.34&#8221;)<\/li>\n<\/ul>\n<\/li>\n<li><strong>Currency.From()<\/strong> &#8211; Converts values into the currency data type:\n<ul>\n<li>ex. Currency.From(500.15)<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><iframe src=\"https:\/\/www.youtube.com\/embed\/t2pz_Uo08DQ?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\">?<\/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><\/p>\n<div class=\"yuzo_related_post style-3\" data-version=\"5.12.68\">\n<h2><span class=\"ez-toc-section\" id=\"Bonus_Tips\"><\/span>Bonus Tips<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<\/div>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section33\"><\/a>33. Advanced Editor <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> can let us perform a lot of complex steps with our data.<\/p>\n<p>However wouldn&#8217;t it be fun if you could understand better what is happening under the hood? Come join me as we take a look into the <strong>Advanced Editor<\/strong>!<\/p>\n<p>We will use the <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/create-index-columns-using-power-query\/\" target=\"_blank\" rel=\"noopener noreferrer\">Index Column Post<\/a> as our starting point. Please download the Excel Workbook below.<\/p>\n<p style=\"text-align: center;\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor.xlsx\" data-leadbox-id=\"147284833f72a2:12f08263ab46dc\"><span class=\"ctaText px-3 text-capitalize\">Download excel workbook<\/span><span class=\"postTitle px-3\">Advanced-Editor.xlsx<\/span><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Let\u2019s go through the steps in detail:<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> For us to view the existing Power Query steps:<\/p>\n<p>Go to <strong><em>Data &gt; Get &amp; Transform &gt; Show Queries (Excel 2016) <\/em><\/strong><em>or<\/em><\/p>\n<p><strong><em>Go to Data &gt; Get &amp; Transform &gt; Show Pane (Excel 2013 &amp; 2010)<\/em><\/strong><\/p>\n<p>Now double click on the <em><strong>Table1 <\/strong>query.<\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-01.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5987\" title=\"Advanced Editor In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-01.jpg\" alt=\"Advanced Editor In Power Query\" width=\"533\" height=\"339\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-01.jpg 533w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-01-300x191.jpg 300w\" sizes=\"(max-width: 533px) 100vw, 533px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 2:<\/span> <\/strong>This will open up the <strong>Power Query Editor<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-02.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5988\" title=\"Advanced Editor In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-02.jpg\" alt=\"Advanced Editor In Power Query\" width=\"370\" height=\"293\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-02.jpg 370w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-02-300x238.jpg 300w\" sizes=\"(max-width: 370px) 100vw, 370px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You can see the Applied Steps we have with the<strong> Index Column workbook <\/strong>you downloaded above.<strong> <\/strong>The steps are broken down as follows:<\/p>\n<ul>\n<li><strong>SOURCE:<\/strong> Get the Source Table<\/li>\n<li><strong>CHANGED TYPE:<\/strong> Changed the type of columns in the Table<\/li>\n<li><strong>ADDED INDEX:<\/strong> Added an Index Column<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-03.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5989\" title=\"Advanced Editor In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-03.jpg\" alt=\"Advanced Editor In Power Query\" width=\"262\" height=\"114\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong>Now the fun part! Go to <em><strong>Home &gt; Advanced Editor<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-04.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5990\" title=\"Advanced Editor In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-04.jpg\" alt=\"Advanced Editor In Power Query\" width=\"361\" height=\"135\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-04.jpg 361w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-04-300x112.jpg 300w\" sizes=\"(max-width: 361px) 100vw, 361px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You will now see our exact 3 steps, in detailed form!<\/p>\n<ul>\n<li>Get the <strong>Table1<\/strong> as the Source<\/li>\n<li>Change the Column Type of <strong>Sales Month<\/strong> to <em>text<\/em>, and <strong>Sales<\/strong> to <em>number<\/em><\/li>\n<li>Add a new index column called <strong>Index<\/strong> that starts at 1 and increments by 1<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-05.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5991\" title=\"Advanced Editor In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-05.jpg\" alt=\"Advanced Editor In Power Query\" width=\"791\" height=\"537\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-05.jpg 791w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-05-300x204.jpg 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/02\/Advanced-Editor-05-768x521.jpg 768w\" sizes=\"(max-width: 791px) 100vw, 791px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>You are now able to see what&#8217;s happening under the hood of your Power Query transformations!<\/p>\n<p>Stay tuned as you join me in editing through the Power Query <strong>Advanced Editor<\/strong> next time!<br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/wJTFk4AlxtQ?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section34\"><\/a>34. Delete Steps Until End <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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 messy Excel data. And if you make a mistake, it&#8217;s very easy to <strong>Delete Steps Until the End<\/strong>!<\/p>\n<p>Let&#8217;s say you&#8217;re deep in thought, creating multiple steps, then all of a sudden you realized midway some of the steps were incorrect.<\/p>\n<p>Our sample Power Query steps to remove rows from our table, and we want to undo those steps!<\/p>\n<p>Let\u2019s go through the steps in detail:<\/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\/2018\/09\/Delete-Steps-Until-End.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End.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\">Delete-Steps-Until-End.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Let us edit an existing query that we want to modify.<\/p>\n<p>Go to <strong><em>Data &gt; Get &amp; Transform &gt; Show Queries<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9293\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01.png\" alt=\"Delete Steps Until End In Power Query\" width=\"694\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01.png 694w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01-300x57.png 300w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/a><\/p>\n<p>Double click on your Query to open the <strong>Power Query Editor<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9294\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02.png\" alt=\"Delete Steps Until End In Power Query\" width=\"451\" height=\"375\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02.png 451w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02-300x249.png 300w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 2:<\/span> <\/strong>We want to remove all of the Removal steps in our Query. So we will be deleting Step #3 onwards:<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-03.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9295\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-03.png\" alt=\"Delete Steps Until End In Power Query\" width=\"1024\" height=\"452\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-03.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-03-300x132.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-03-768x339.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/p>\n<p>Right click on the Step #3 and select <em><strong>Delete Until End.<\/strong><\/em><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9296\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-04.png\" alt=\"Delete Steps Until End In Power Query\" width=\"277\" height=\"484\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-04.png 277w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-04-172x300.png 172w\" sizes=\"(max-width: 277px) 100vw, 277px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong style=\"line-height: 1.5;\"><span style=\"color: #ff0000;\">STEP 3:<\/span> <\/strong> <strong>Click Delete.<\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-05.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9297\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-05.png\" alt=\"Delete Steps Until End In Power Query\" width=\"459\" height=\"181\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-05.png 459w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-05-300x118.png 300w\" sizes=\"(max-width: 459px) 100vw, 459px\" \/><\/a><\/p>\n<p>The steps are removed, and you can see your data is now restored!<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-06.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9298\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-06.png\" alt=\"Delete Steps Until End In Power Query\" width=\"982\" height=\"330\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-06.png 982w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-06-300x101.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-06-768x258.png 768w\" sizes=\"(max-width: 982px) 100vw, 982px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Delete Steps Until End in Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/DHN0Nr0YLOc?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section35\"><\/a>35. Comments in Query Steps <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<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 messy Excel data. And if you have a whole lot of steps, you can add your own <strong>comment in query steps<\/strong> in Power Query!<\/p>\n<p>This will make it easier for you to understand your query, or if another person will use it, they can pick it up quickly!<\/p>\n<p>Let\u2019s go through the steps in detail:<\/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\/2019\/01\/Comment-in-Query-Steps.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps.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\">Comment-in-Query-Steps.xlsx<\/span><\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Let us edit an existing query that we want to modify.<\/p>\n<p>Go to <strong><em>Data &gt; Get &amp; Transform &gt; Show Queries<\/em><\/strong><\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9293\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01.png\" alt=\"Delete Steps Until End In Power Query\" width=\"694\" height=\"132\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01.png 694w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-01-300x57.png 300w\" sizes=\"(max-width: 694px) 100vw, 694px\" \/><\/a><\/p>\n<p>Double click on your Query to open the <strong>Power Query Editor<\/strong>.<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-9294\" title=\"Delete Steps Until End In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02.png\" alt=\"Delete Steps Until End In Power Query\" width=\"451\" height=\"375\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02.png 451w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2018\/09\/Delete-Steps-Until-End-02-300x249.png 300w\" sizes=\"(max-width: 451px) 100vw, 451px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff0000;\">STEP 2:<\/span> <\/strong>We want to add a comment to one of our steps. Right click on the step that <strong>removes the top rows<\/strong> and select <strong>Properties<\/strong>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11008\" title=\"Comment In Query Steps In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps-03.png\" alt=\"Comment In Query Steps In Power Query\" width=\"977\" height=\"730\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps-03.png 977w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps-03-300x224.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps-03-768x574.png 768w\" sizes=\"(max-width: 977px) 100vw, 977px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Since this step removes the first two months, type in the <strong>Description &#8220;Remove January and February&#8221;<\/strong> and <strong>click <\/strong><strong>OK.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11009\" title=\"Comment In Query Steps In Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps-04.png\" alt=\"Comment In Query Steps In Power Query\" width=\"411\" height=\"284\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps-04.png 411w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Comment-in-Query-Steps-04-300x207.png 300w\" sizes=\"(max-width: 411px) 100vw, 411px\" \/><\/p>\n<p>You have saved your first comment in Power Query! You can repeat the same steps for other query steps as well.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Comment in Query Steps in Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/D6lfzYA87qE?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section36\"><\/a>36. Extract Length <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to<b> extract the length of text.<\/b><\/p>\n<p>For our example, let us get the names that have <strong>at least 12 characters<\/strong>!<\/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\/2019\/01\/Extract-Length.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length.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\">Extract-Length.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <strong>Ctrl + T <\/strong>or by going to<strong> Insert &gt; Table<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11029\" title=\"Extract Length Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-01.png\" alt=\"Extract Length Using Power Query or Get &amp; Transform\" width=\"542\" height=\"586\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-01.png 542w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-01-277x300.png 277w\" sizes=\"(max-width: 542px) 100vw, 542px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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>Make sure the Name column is selected. Go to <em><strong>Add Column &gt; From Text&gt; Extract &gt; Length<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11037\" title=\"Extract Length Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-02.png\" alt=\"Extract Length Using Power Query or Get &amp; Transform\" width=\"605\" height=\"398\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-02.png 605w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-02-300x197.png 300w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>Now we can get the names that are at least 12 characters long! Click on the <strong>Arrow<\/strong> beside the <strong>Length Column.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11030\" title=\"Extract Length Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-03.png\" alt=\"Extract Length Using Power Query or Get &amp; Transform\" width=\"383\" height=\"251\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-03.png 383w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-03-300x197.png 300w\" sizes=\"(max-width: 383px) 100vw, 383px\" \/><\/p>\n<p>Go to <em><strong>Number Filters &gt; Greater Than Or Equal To<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11031\" title=\"Extract Length Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-04.png\" alt=\"Extract Length Using Power Query or Get &amp; Transform\" width=\"589\" height=\"399\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-04.png 589w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-04-300x203.png 300w\" sizes=\"(max-width: 589px) 100vw, 589px\" \/><\/p>\n<p>Type in <strong>12. Click OK.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11032\" title=\"Extract Length Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-05.png\" alt=\"Extract Length Using Power Query or Get &amp; Transform\" width=\"698\" height=\"275\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-05.png 698w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-05-300x118.png 300w\" sizes=\"(max-width: 698px) 100vw, 698px\" \/><\/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 filtered records!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11033\" title=\"Extract Length Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-06.png\" alt=\"Extract Length Using Power Query or Get &amp; Transform\" width=\"432\" height=\"315\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-06.png 432w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-06-300x219.png 300w\" sizes=\"(max-width: 432px) 100vw, 432px\" \/><\/p>\n<p>You now have your new table with names at least 12 characters long!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11034\" title=\"Extract Length Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-07.png\" alt=\"Extract Length Using Power Query or Get &amp; Transform\" width=\"331\" height=\"225\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-07.png 331w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Extract-Length-07-300x204.png 300w\" sizes=\"(max-width: 331px) 100vw, 331px\" \/><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Extract Length in Excel Using Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/ojqClHZTokI?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section37\"><\/a>37. Count Rows <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to<b> count the number of rows in your query.<\/b><\/p>\n<p>And with just one step, you can get the count very easily!<\/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\/2019\/01\/Count-Rows.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows.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\">Count-Rows.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <strong>Ctrl + T <\/strong>or by going to<strong> Insert &gt; Table<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11018\" title=\"Count Rows Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-01.png\" alt=\"Count Rows Using Power Query or Get &amp; Transform\" width=\"463\" height=\"682\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-01.png 463w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-01-204x300.png 204w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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>Go to <em><strong>Transform&gt; Table &gt; Count Rows<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11019\" title=\"Count Rows Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-02.png\" alt=\"Count Rows Using Power Query or Get &amp; Transform\" width=\"639\" height=\"421\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-02.png 639w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-02-300x198.png 300w\" sizes=\"(max-width: 639px) 100vw, 639px\" \/><\/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 row count!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11020\" title=\"Count Rows Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-03.png\" alt=\"Count Rows Using Power Query or Get &amp; Transform\" width=\"469\" height=\"255\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-03.png 469w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-03-300x163.png 300w\" sizes=\"(max-width: 469px) 100vw, 469px\" \/><\/p>\n<p>You now have your new table with a row count of 10!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11021\" title=\"Count Rows Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-04.png\" alt=\"Count Rows Using Power Query or Get &amp; Transform\" width=\"366\" height=\"305\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-04.png 366w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Count-Rows-04-300x250.png 300w\" sizes=\"(max-width: 366px) 100vw, 366px\" \/><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Count Rows in Excel Using Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/HkavNwbgzIA?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section38\"><\/a>38. Split the Date <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to<b> split your date into year, month and day for easier processing.<\/b><\/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\/2019\/01\/Split-the-Date.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date.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\">Split-the-Date.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <strong>Ctrl + T <\/strong>or by going to<strong> Insert &gt; Table<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11044\" title=\"Split the Date Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-01.png\" alt=\"Split the Date Using Power Query or Get &amp; Transform\" width=\"696\" height=\"501\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-01.png 696w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-01-300x216.png 300w\" sizes=\"(max-width: 696px) 100vw, 696px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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. Let us now get the Year, Month and Day.<\/p>\n<p>Make sure the<strong> Order Date column<\/strong> is selected. Go to <em><strong>Add Column &gt; From Date &amp; Time &gt; Date &gt; Year&gt; Year<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11045\" title=\"Split the Date Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-02.png\" alt=\"Split the Date Using Power Query or Get &amp; Transform\" width=\"1012\" height=\"363\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-02.png 1012w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-02-300x108.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-02-768x275.png 768w\" sizes=\"(max-width: 1012px) 100vw, 1012px\" \/><\/p>\n<p>Make sure the<strong> Order Date column<\/strong> is selected. Go to <em><strong>Add Column &gt; From Date &amp; Time &gt; Date &gt; Month &gt; Month <\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11046\" title=\"Split the Date Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-03.png\" alt=\"Split the Date Using Power Query or Get &amp; Transform\" width=\"1034\" height=\"358\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-03.png 1034w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-03-300x104.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-03-1024x355.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-03-768x266.png 768w\" sizes=\"(max-width: 1034px) 100vw, 1034px\" \/><\/p>\n<p>Make sure the<strong> Order Date column<\/strong> is selected. Go to <em><strong>Add Column &gt; From Date &amp; Time &gt; Date &gt; Day &gt; Day<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11047\" title=\"Split the Date Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-04.png\" alt=\"Split the Date Using Power Query or Get &amp; Transform\" width=\"1022\" height=\"381\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-04.png 1022w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-04-300x112.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-04-768x286.png 768w\" sizes=\"(max-width: 1022px) 100vw, 1022px\" \/><\/p>\n<p>&nbsp;<\/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 updated records!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11048\" title=\"Split the Date Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-05.png\" alt=\"Split the Date Using Power Query or Get &amp; Transform\" width=\"856\" height=\"440\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-05.png 856w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-05-300x154.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-05-768x395.png 768w\" sizes=\"(max-width: 856px) 100vw, 856px\" \/><\/p>\n<p>You now have your dates split to <strong>Year, Month and Day!<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11049\" title=\"Split the Date Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-06.png\" alt=\"Split the Date Using Power Query or Get &amp; Transform\" width=\"588\" height=\"374\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-06.png 588w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Date-06-300x191.png 300w\" sizes=\"(max-width: 588px) 100vw, 588px\" \/><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Split the Date in Excel Using Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/oOjIKPfC29I?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section39\"><\/a>39. Split the Time <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to<b> split your time into hours, minutes and seconds for easier processing.<\/b><\/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\/2019\/01\/Split-the-Time.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time.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\">Split-the-Time.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <strong>Ctrl + T <\/strong>or by going to<strong> Insert &gt; Table<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11060\" title=\"Split the Time Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-01.png\" alt=\"Split the Time Using Power Query or Get &amp; Transform\" width=\"865\" height=\"458\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-01.png 865w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-01-300x159.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-01-768x407.png 768w\" sizes=\"(max-width: 865px) 100vw, 865px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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. Let us now get the Hour, Minute and Second.<\/p>\n<p>Make sure the<strong> Order Time column<\/strong> is selected. Go to <em><strong>Add Column &gt; From Date &amp; Time &gt; Time&gt; Hour &gt; Hour<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11061\" title=\"Split the Time Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-02.png\" alt=\"Split the Time Using Power Query or Get &amp; Transform\" width=\"1029\" height=\"376\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-02.png 1029w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-02-300x110.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-02-1024x374.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-02-768x281.png 768w\" sizes=\"(max-width: 1029px) 100vw, 1029px\" \/><\/p>\n<p>Make sure the<strong> Order Time column<\/strong> is selected. Go to <em><strong>Add Column &gt; From Date &amp; Time &gt; Time&gt; Minute<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11062\" title=\"Split the Time Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-03.png\" alt=\"Split the Time Using Power Query or Get &amp; Transform\" width=\"898\" height=\"384\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-03.png 898w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-03-300x128.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-03-768x328.png 768w\" sizes=\"(max-width: 898px) 100vw, 898px\" \/><\/p>\n<p>Make sure the<strong> Order Time column<\/strong> is selected. Go to <em><strong>Add Column &gt; From Date &amp; Time &gt; Time&gt; Second<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11063\" title=\"Split the Time Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-04.png\" alt=\"Split the Time Using Power Query or Get &amp; Transform\" width=\"901\" height=\"360\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-04.png 901w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-04-300x120.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-04-768x307.png 768w\" sizes=\"(max-width: 901px) 100vw, 901px\" \/><\/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 updated records!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11064\" title=\"Split the Time Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-05.png\" alt=\"Split the Time Using Power Query or Get &amp; Transform\" width=\"813\" height=\"459\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-05.png 813w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-05-300x169.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-05-768x434.png 768w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/p>\n<p>You now have your times split to <strong>Hour, Minute and Second!<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11065\" title=\"Split the Time Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-06.png\" alt=\"Split the Time Using Power Query or Get &amp; Transform\" width=\"704\" height=\"330\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-06.png 704w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/01\/Split-the-Time-06-300x141.png 300w\" sizes=\"(max-width: 704px) 100vw, 704px\" \/><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Split the Time in Excel Using Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/Tjb5pMY4Yus?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section40\"><\/a>40. Process Flat Data Using Modulo <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to <strong>process flat data via the Modulo calculation in Power Query<\/strong><b>.<\/b><\/p>\n<p>This is a really cool trick that you have to see! In our table, we have this flat sales data, and we want to extract just the names:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11110\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-01.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"241\" height=\"503\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-01.png 241w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-01-144x300.png 144w\" sizes=\"(max-width: 241px) 100vw, 241px\" \/><\/p>\n<p>Imagine doing it by hand, it is going to take forever! But with Power Query, it will be done in a flash!<\/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\/2019\/02\/Process-Flat-Data-using-Modulo.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo.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\">Process-Flat-Data-using-Modulo.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and 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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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 2: <\/strong><\/span>This will open up the Power Query Editor.<\/p>\n<p>Notice that our flat sales data has a <strong>pattern<\/strong>. The pattern &#8220;Region, Salesperson Name, Sales&#8221; <strong>repeats every 3 rows<\/strong>!<\/p>\n<p>Let as add an Index Column to number all of the rows. Go to <em><strong>Add Column &gt; General &gt; Index Column<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11111\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-02.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"370\" height=\"507\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-02.png 370w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-02-219x300.png 219w\" sizes=\"(max-width: 370px) 100vw, 370px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 3: <\/strong><\/span>This is where the magic happens!<\/p>\n<p>Make sure the Index column is selected. Go to <em><strong>Add Column &gt; Number Column &gt; Standard &gt; Modulo<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11112\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-03.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"715\" height=\"557\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-03.png 715w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-03-300x234.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/p>\n<p>Since our pattern repeats every 3 rows, let us type in 3. <strong>Click OK.<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11113\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-04.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"1063\" height=\"368\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-04.png 1063w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-04-300x104.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-04-1024x354.png 1024w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-04-768x266.png 768w\" sizes=\"(max-width: 1063px) 100vw, 1063px\" \/><\/p>\n<p>Now we have our modulo results.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11114\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-05.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"457\" height=\"342\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-05.png 457w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-05-300x225.png 300w\" sizes=\"(max-width: 457px) 100vw, 457px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4: <\/strong><\/span>Notice that the Salesperson name consistently matches the Modulo value 1? We can now extract the names quickly!<\/p>\n<p>Click on the <strong>Filter icon of the Modulo column<\/strong> and make sure only <strong>1 is ticked. <\/strong>This will hide the other unnecessary rows.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11115\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-06.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"480\" height=\"374\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-06.png 480w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-06-300x234.png 300w\" sizes=\"(max-width: 480px) 100vw, 480px\" \/><\/p>\n<p>&nbsp;<\/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 records!<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11116\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-07.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"503\" height=\"294\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-07.png 503w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-07-300x175.png 300w\" sizes=\"(max-width: 503px) 100vw, 503px\" \/><\/p>\n<p>You now have the names thanks to Modulo in Power Query!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11117\" title=\"Process Flat Data Using Modulo in Power Query\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-08.png\" alt=\"Process Flat Data Using Modulo in Power Query\" width=\"366\" height=\"155\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-08.png 366w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Process-Flat-Data-using-Modulo-08-300x127.png 300w\" sizes=\"(max-width: 366px) 100vw, 366px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Process Flat Data Using Modulo in Excel Using Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/qSkijI6Px_E?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\"><span style=\"color: #ff0000;\"><a id=\"section41\"><\/a>41. Format Text <span style=\"color: #000000;\"><a style=\"color: #000000;\" href=\"#table_of_contents\"><i class=\"fa fa-arrow-up \" ><\/i><\/a><\/span><\/span><\/h3>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a> or 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 take is to<b> format text with multiple ways.<\/b><\/p>\n<p>For our example, let us go over the most common usages of format text:<\/p>\n<ul>\n<li>Upper case<\/li>\n<li>Lower case<\/li>\n<li>Capitalize each word<\/li>\n<li>Trim<\/li>\n<\/ul>\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\/2019\/02\/Format-Text.xlsx\" target=\"_blank\" rel=\"noopener noreferrer\" data-leadbox=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text.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\">Format-Text.xlsx<\/span><\/a><\/p>\n<p class=\"line-two\">\n<\/div>\n<p><span style=\"color: #ff0000;\"><strong>STEP 1<\/strong>:<\/span> Select your data and turn it into an Excel Table by pressing the shortcut <strong>Ctrl + T <\/strong>or by going to<strong> Insert &gt; Table<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11093\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-01.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"587\" height=\"545\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-01.png 587w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-01-300x279.png 300w\" sizes=\"(max-width: 587px) 100vw, 587px\" \/><\/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><strong>Excel 2016:<\/strong><\/p>\n<p><strong><em> <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5550\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" alt=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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\" title=\"\"><\/a><\/em><\/strong><\/p>\n<p><strong>Excel 2013 &amp; 2010:<\/strong><\/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=\"Keep Duplicates Using Power Query or Get &amp; Transform\" 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. Let us try to convert to lower case.<\/p>\n<p>Make sure the Full Name column is selected. Go to <em><strong>Add Column &gt; From Text&gt; Format &gt; lowercase<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11094\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-02.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"537\" height=\"387\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-02.png 537w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-02-300x216.png 300w\" sizes=\"(max-width: 537px) 100vw, 537px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11095\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-03.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"443\" height=\"253\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-03.png 443w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-03-300x171.png 300w\" sizes=\"(max-width: 443px) 100vw, 443px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 4: <\/strong><\/span>Let us try to convert to upper case.<\/p>\n<p>Make sure the Full Name column is selected. Go to <em><strong>Add Column &gt; From Text&gt; Format &gt; UPPERCASE<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11096\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-04.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"527\" height=\"395\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-04.png 527w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-04-300x225.png 300w\" sizes=\"(max-width: 527px) 100vw, 527px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11097\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-05.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"591\" height=\"242\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-05.png 591w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-05-300x123.png 300w\" sizes=\"(max-width: 591px) 100vw, 591px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 5: <\/strong><\/span>Let us now capitalize each word.<\/p>\n<p>Make sure the UPPERCASE column is selected. Go to <em><strong>Add Column &gt; From Text&gt; Format &gt; Capitalize each word<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11098\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-06.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"626\" height=\"395\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-06.png 626w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-06-300x189.png 300w\" sizes=\"(max-width: 626px) 100vw, 626px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11099\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-07.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"755\" height=\"253\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-07.png 755w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-07-300x101.png 300w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/p>\n<p><span style=\"color: #ff0000;\"><strong>STEP 6: <\/strong><\/span>Let us now try out trimming the text to rid of the extra spaces.<\/p>\n<p>Make sure the Full Name column is selected. Go to <em><strong>Add Column &gt; From Text&gt; Format &gt; Trim<\/strong><\/em><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11100\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-08.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"807\" height=\"400\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-08.png 807w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-08-300x149.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-08-768x381.png 768w\" sizes=\"(max-width: 807px) 100vw, 807px\" \/><\/p>\n<p>We have now formatted our text in Power Query in multiple ways!<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-11101\" title=\"Format Text Using Power Query or Get &amp; Transform\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-09.png\" alt=\"Format Text Using Power Query or Get &amp; Transform\" width=\"907\" height=\"254\" srcset=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-09.png 907w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-09-300x84.png 300w, https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/02\/Format-Text-09-768x215.png 768w\" sizes=\"(max-width: 907px) 100vw, 907px\" \/><\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Format Text in Excel Using Power Query<\/strong><\/span><br \/>\n<iframe src=\"https:\/\/www.youtube.com\/embed\/lEEFBksqL2Y?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\">?<\/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><\/p>\n<h3 class=\"counter-reset\">Conclusion<\/h3>\n<p>In this Power Query Tutorial, you have learned how to clean and transform messy data in Excel and repeat the same process with just a click of a button, every time you change the data.<\/p>\n<p>You can learn more about how to use Excel by viewing our FREE Excel webinar training on <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-43.html\" target=\"_blank\" rel=\"noopener noreferrer\">Formulas<\/a>, <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-5.html\" target=\"_blank\" rel=\"noopener noreferrer\">Pivot Tables<\/a>, and <a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-39.html\" target=\"_blank\" rel=\"noopener noreferrer\">Macros &amp; VBA<\/a>!<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Excel Power Query is one of the most powerful new features within Microsoft Excel and the easiest to learn. It was first introduced as an Excel add-in in 2013 and was then made available in Excel 2010. In Excel 2016 it was renamed to Get &amp; Transform and was available (without using an add-in) under [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":9316,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"50 Things You Can Do With Excel Power Query","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[121,120],"tags":[117,473],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9267"}],"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=9267"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/9267\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/9316"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=9267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=9267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=9267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}