<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Chika Chieze on Medium]]></title>
        <description><![CDATA[Stories by Chika Chieze on Medium]]></description>
        <link>https://medium.com/@chikachieze08?source=rss-ea00e04c5a70------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*1SLgbrvrVuxmFmbBHB-vfA.jpeg</url>
            <title>Stories by Chika Chieze on Medium</title>
            <link>https://medium.com/@chikachieze08?source=rss-ea00e04c5a70------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 06:53:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@chikachieze08/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Data Cleaning and Transformation in Excel]]></title>
            <link>https://medium.com/@chikachieze08/data-cleaning-and-transformation-in-excel-2f0599a54216?source=rss-ea00e04c5a70------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f0599a54216</guid>
            <dc:creator><![CDATA[Chika Chieze]]></dc:creator>
            <pubDate>Fri, 15 Dec 2023 23:03:44 GMT</pubDate>
            <atom:updated>2023-12-15T23:03:44.985Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*stDBhLNjdfN9z8q4Lht-jw.jpeg" /></figure><p>Having recently learned data cleaning in Microsoft Excel, I’m now applying my skills to real-world data. This hands-on experience is helping me solidify my understanding and navigate practical challenges. By working with actual datasets, I’m honing my proficiency in data analysis and turning theoretical knowledge into practical know-how.</p><p>To accomplish this task, I utilized the <strong>FIFA 21 messy, raw dataset for cleaning/ exploring</strong> from Kaggle.com. This dataset contained information about the players comprising of 77 Rows and 18980 columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XfNqzwtbVCSXXi7pEsll6Q.png" /><figcaption>Uncleaned Dataset</figcaption></figure><p><strong>Cleaning the Data</strong></p><p>After creating a backup copy of the original dataset in a separate worksheet, I decided to check out for some common issues in data cleaning:</p><ul><li>Inconsistent column width &amp; row height</li><li>Blank rows, columns or cells</li><li>Duplicate rows or cells</li><li>Inconsistent case &amp; spacing</li><li>Numbers formatted as texts</li><li>Columns formatted incorrectly</li><li>Texts not split correctly across columns</li><li>Abbreviations that need to be replaced</li><li>Random line breaking and strange characters</li><li>Headers not specified</li></ul><h4><strong><em>Name</em></strong></h4><p>In addressing the issue of strange characters in the “LongName” column, I opted for the Flash Fill over the text-to-columns tool for swift data cleaning. I created a new column and used the “Playerurl” column as reference and eliminated the strange characters associated with the names. Flash Fill will sense the pattern you provide and show you a preview of the rest of the column filled in with your combined text. I also used the Find and Replace option by using the excel shortcut (CTRL + H) to replace the hyphen with a space. I ended this step by using the case formula (=PROPER(D2)) to capitalize the first letter of each name.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*M6DyF8bcHVJi2zCBcso0Tg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*-ZIKHHxZ60PCMEIjyQ5TsQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/257/1*IRuJZKXM5pbsy1wro08AYA.png" /><figcaption>Cleaned Data</figcaption></figure><p><strong>Height and Weight</strong></p><p>Converting the height column to numerical form was a bit challenging. The data in this column was in a non-uniform state and for any conversion to be done, I needed the data to be consistent. The data in this column existed in centimeter(cm), feet(ft) and inches(in) together. The first thing I did was to copy the height column and paste it in a separate work sheet. The text that contained (“) was highlighted with red using the conditional formatting option and sorted to be at the top.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/94/1*pPa--ohgDAn4JJzMdD7tgw.png" /><figcaption>uncleaned height and weight</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/90/1*0kjhrt5TPAe3VHrE0ndNpw.png" /></figure><p>I also separated the values with “cm” and the values with feet and inches into different columns, and used the Text to Columns option to separate the inches from the feet using (‘) as the delimiter. I used the Find and Replace option to replace (“) with space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*5G4lUiTJcgJ9kxNv59vj5g.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/143/1*VHhr-wrMUTY_LxTxyif4VQ.png" /></figure><p>I wanted all the values in the height column to be in feet(ft) and I started by converting the feet(ft) and inches to just feet(ft). I used CONCATENATE and ROUND functions in this formula because concatenate function joins text strings together and the round function rounds a number to a specified number of digits. While converting, I kept in mind that 1 feet = 12 inches and the values were rounded up to 1 decimal place.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*HlFKO5fnOpR8T8bIKswjbw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/51/1*UrleObpii19Uy0oDKa0UIw.png" /></figure><p>I took the longer step of converting cm to feet(ft) and inches(in) so I could apply the same process of changing the inches to feet(ft). This was done after eradicating the “cm” unit attached to the values in the column. After the last step, I copied and pasted the new values to my main work sheet.</p><p>The data in the weight column was also inconsistent, it existed in kg and lbs. I wanted the all data in the weight column to be in “lbs”. To achieve a good result, I used CONCATENATE, CONVERT and ROUND functions to convert “kg” to “lbs”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/436/1*yq_6z4qosnFnCFMA8hRigA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/103/1*ern1iRfIWVbBbrEpmbSb7g.png" /><figcaption>cleaned height and weight</figcaption></figure><h4><strong>W/F, SM and IR</strong></h4><p>These columns contained the ratings of the players on a scale of 1–5 but had strange characters attached to them. In order to analyze this data in the long run, the strange characters needed to be eliminated. I used VBA and macros to run this process instead of using the Find and Replace tool.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/173/1*pMa0v5PJMO17YHi1_zzObg.png" /><figcaption>uncleaned data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*9zpshVTQty6Wx6QGdOYwOA.png" /><figcaption>Strange character removal VBA code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*goyxMdZfaMvLmxHLzwJtNQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/193/1*TdRuJe1wHqDSniHrFnIixA.png" /><figcaption>cleaned data</figcaption></figure><p><strong>CLUB</strong></p><p>The club column seemed to have hidden data as it appeared empty. I used the sort and filter tool to be sure of the hidden data. To display the data in this column, I used the wrap and text tool. I went through the data and noticed some of them contained wrong spellings and strange characters attached. I sorted out the data with strange characters and wrong spellings and I used the Find and Replace tool to fix them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/74/1*iDv2yuZVJmSApFOwdTNCrg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/186/1*bhrILpdVLT-NK_C0WGbpIQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/289/1*1Lx0aV-WR9ZXq8w4Ialk_w.png" /><figcaption>cleaned data</figcaption></figure><p><strong>OVA, POT and BOV</strong></p><p>I renamed these columns to “Overall Rating”, “Potential rating” and “Best rating”. I also converted them to percentages by creating a new column and formatting it to percentage. I also used the formula (=A2/100) in each of the new columns created to make the data appear in percentage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/121/1*yNQjOctIBqcA_0umL7jVng.png" /><figcaption>uncleaned data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/316/1*4NfB9Qd8WNmB43ahnXmkYA.png" /><figcaption>cleaned data</figcaption></figure><p>Cleaned Data</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cXY33SfJrlCW9cKBNR2A3Q.png" /></figure><p><strong>Conclusion and Recommendation</strong></p><p>Mastering data cleaning in Excel is key for obtaining accurate insights. By using Excel’s features, adopting practical tips, and ensuring transparent documentation, we can efficiently transform raw data into refined, analysis-ready information, which helps in making more informed decision-making.</p><p>I was able to create new ideas and develop my method in data cleaning quickly and efficiently. I would recommend this project for a beginner in the data analysis world who wants to develop his/her skills in data cleaning.</p><p>Thank you for reading.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f0599a54216" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>