{"id":3301,"date":"2017-05-16T12:25:59","date_gmt":"2017-05-16T19:25:59","guid":{"rendered":"http:\/\/www.microsoft.com\/garage-en-us\/?p=3301"},"modified":"2018-12-21T16:28:15","modified_gmt":"2018-12-22T00:28:15","slug":"transform-data-example","status":"publish","type":"post","link":"http://approjects.co.za/?big=en-us/garage\/blog\/2017\/05\/transform-data-example\/","title":{"rendered":"Transform Data by Example, a Microsoft Garage project for Excel"},"content":{"rendered":"
Many Excel users can relate to the problem of data wrangling.<\/p>\n
You start with an input data set that you wish to transform into a new format so that you can perform further analysis using the transformed data. Not surprisingly, these problems arise for common types of data such as date and time, addresses, phone numbers, URLs.<\/p>\n
For example, consider the following task. Given a column of dates in your spreadsheet as shown in column A in Figure 1, suppose you want to extract the day-of-week for each date so that you can subsequently filter or group your data by day-of-week. Note that the input data might appear in different formats, and the day of week may not even exist as part of the input data. Excel today does not include a built-in function that does this transformation. Although suitable functions do exist in open source repositories such as .NET, GitHub and Stack Overflow, or perhaps in a repository within your own organization, it is not easy for you to discover the right function for your task.<\/p>\n