{"id":11089,"date":"2019-04-30T17:29:14","date_gmt":"2019-04-30T15:29:14","guid":{"rendered":"https:\/\/www.myexcelonline.com\/?p=11089"},"modified":"2024-02-06T16:18:38","modified_gmt":"2024-02-06T15:18:38","slug":"format-text-using-power-query-or-get-transform","status":"publish","type":"post","link":"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/format-text-using-power-query-or-get-transform\/","title":{"rendered":"Format Text Using Power Query or Get &#038; Transform"},"content":{"rendered":"<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/installing-power-query-excel-2010\/\" target=\"_blank\" rel=\"noopener noreferrer\">Power Query<\/a>\u00a0or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data. \u00a0One of the steps it allows you to take is to<b>\u00a0format text with multiple\u00a0ways.<\/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><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\">\ufeff<\/span><\/iframe><a href=\"https:\/\/www.youtube.com\/c\/MyExcelOnlinecomtutorials?sub_confirmation=1\" target=\"_blank\" rel=\"noopener noreferrer nofollow\"><img loading=\"lazy\" decoding=\"async\" class=\"alignmiddle wp-image-111468 size-full\" style=\"vertical-align: middle;\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2019\/04\/1.yt_.png\" alt=\"\" title=\"\"><\/a><\/p>\n<p class=\"line-two\"><a class=\"IRPP_minimalist icon-download button small\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/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\u00a0your data and turn it into an Excel Table by pressing the <a class=\"wpil_keyword_link\" href=\"https:\/\/www.myexcelonline.com\/meo-staging\/blog\/333-excel-shortcuts-for-windows-and-mac\/\" target=\"_blank\" rel=\"noopener\" title=\"shortcut\" data-wpil-keyword-link=\"linked\">shortcut<\/a> <strong>Ctrl + T <\/strong>or by going to<strong> Insert &gt; Table<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11093\" 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>\u00a0<a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2016\/11\/Fill-Down-04.png\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11094\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11095\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11096\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11097\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11098\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11099\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11100\" 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\" title=\"Format Text Using Power Query or Get &amp; Transform\"  class=\"aligncenter size-full wp-image-11101\" 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>&nbsp;<\/p>\n<p><span style=\"color: #0000ff;\"><strong>How to Format Text in Excel Using Power Query<\/strong><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/www.myexcelonline.com\/meo-staging\/100-39.html\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/www.myexcelonline.com\/meo-staging\/wp-content\/uploads\/2017\/07\/530x300.jpg\" alt=\"Free Excel Macros &amp; VBA Webinar Training\" width=\"530\" height=\"300\" title=\"\"><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Power Query\u00a0or Get &amp; Transform (In Excel 2016) lets you perform a series of steps to transform your Excel data. \u00a0One of the steps it allows you to take is to\u00a0format text with multiple\u00a0ways. For our example, let us go over the most common usages of format text: Upper case Lower case Capitalize each word [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17710,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cos_headline_score":0,"cos_seo_score":0,"cos_headline_text":"","cos_headline_has_been_analyzed":false,"cos_last_analyzed_headline":[],"om_disable_all_campaigns":false},"categories":[120,121],"tags":[576,117,70],"acf":[],"_links":{"self":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/11089"}],"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=11089"}],"version-history":[{"count":0,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/posts\/11089\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media\/17710"}],"wp:attachment":[{"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/media?parent=11089"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/categories?post=11089"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.myexcelonline.com\/meo-staging\/wp-json\/wp\/v2\/tags?post=11089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}