{"id":486,"date":"2015-04-10T15:39:09","date_gmt":"2015-04-10T13:39:09","guid":{"rendered":"http:\/\/www.flip-design.de\/?p=486"},"modified":"2015-04-10T15:53:21","modified_gmt":"2015-04-10T13:53:21","slug":"excel-2013-and-the-flash-fill-function-etl-for-beginners","status":"publish","type":"post","link":"https:\/\/www.flip-design.de\/?p=486","title":{"rendered":"Excel 2013 and the Flash Fill Function (ETL for Beginners ;-) )"},"content":{"rendered":"<p>Off topic but really good to combine with PowerPivot or PowerQuery: The flash fill function.<br \/>\nWith this feature in Excel 2013 you can automatically extract text into columns. It works better than the text in columns feature or Left, Right or Find functions in Excel or PowerPivot for me.<\/p>\n<p><span style=\"text-decoration: underline;\"><strong>Example:<\/strong><\/span><\/p>\n<p>This column contains surname, middle names and last names into one column. First you must convert this data into a table:<\/p>\n<p><a href=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-01-42.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-487 size-full\" src=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-01-42.png\" alt=\"10-04-_2015_15-01-42\" width=\"1480\" height=\"758\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-01-42.png 1480w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-01-42-300x153.png 300w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-01-42-1024x524.png 1024w\" sizes=\"(max-width: 1480px) 100vw, 1480px\" \/><\/a><\/p>\n<p>Next add a column \u201csurname\u201d \u2013 please do not add the other columns. Sometimes Excel is confused by the other columns\u2026<br \/>\nThen type in the new column the first surname \u201cFranz\u201d. In the next row start typing the next surname \u201cKarl\u201d. Excel writes automatically the other names into the cells. In this case you can also use the Flash Fill Function in the Ribbon \u201cData\u201d \u2013 but this function will not work by the middle names.<\/p>\n<p><a href=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-04-55.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-489\" src=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-04-55.png\" alt=\"10-04-_2015_15-04-55\" width=\"371\" height=\"306\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-04-55.png 371w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-04-55-300x247.png 300w\" sizes=\"(max-width: 371px) 100vw, 371px\" \/><br \/>\n<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Now add a new column middle name and type in the first data cell the first middle name \u201cDieter\u201d. If your data have no double name in the first rows, sometimes you must type much more names if Excel use the Flash Fill Function.<\/p>\n<p><a href=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-05-40.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-490\" src=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-05-40.png\" alt=\"10-04-_2015_15-05-40\" width=\"483\" height=\"308\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-05-40.png 483w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-05-40-300x191.png 300w\" sizes=\"(max-width: 483px) 100vw, 483px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>In the last row you can see the surname in the middle name column. If you have middle names or data with more text parts it is sometimes not perfect! The last step is to add the last name column. The data has in the first 2 rows some different data \u2013 a single last name and double name. So you must type 2 rows till the Flash Fill Function takes effect:<\/p>\n<p><a href=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-06-08.png\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-491\" src=\"http:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-06-08.png\" alt=\"10-04-_2015_15-06-08\" width=\"601\" height=\"309\" srcset=\"https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-06-08.png 601w, https:\/\/www.flip-design.de\/wp-content\/uploads\/2015\/04\/10-04-_2015_15-06-08-300x154.png 300w\" sizes=\"(max-width: 601px) 100vw, 601px\" \/><\/a><\/p>\n<p><strong>Now you can add this table into your PowerPivot or PowerView model. Enjoy this feature!<\/strong><\/p>\n<p>More information: <a href=\"http:\/\/blogs.office.com\/2012\/08\/09\/flash-fill\/\">http:\/\/blogs.office.com\/2012\/08\/09\/flash-fill\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Off topic but really good to combine with PowerPivot or PowerQuery: The flash fill function. With this feature in Excel 2013 you can automatically extract text into columns. It works better than the text in columns feature or Left, Right &hellip; <a href=\"https:\/\/www.flip-design.de\/?p=486\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":498,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[30,29,41,26,37],"tags":[],"_links":{"self":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts\/486"}],"collection":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=486"}],"version-history":[{"count":9,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts\/486\/revisions"}],"predecessor-version":[{"id":501,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/posts\/486\/revisions\/501"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=\/wp\/v2\/media\/498"}],"wp:attachment":[{"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.flip-design.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}