<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Collins Muatha</title>
    <description>The latest articles on DEV Community by Collins Muatha (@collins_muatha_d018e04d99).</description>
    <link>https://dev.to/collins_muatha_d018e04d99</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4071870%2Fab6971cc-3be4-4821-8a20-b7c5ce6a70a2.jpg</url>
      <title>DEV Community: Collins Muatha</title>
      <link>https://dev.to/collins_muatha_d018e04d99</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/collins_muatha_d018e04d99"/>
    <language>en</language>
    <item>
      <title>Getting Started with Excel for Data Analytics: From Basics to Data Cleaning</title>
      <dc:creator>Collins Muatha</dc:creator>
      <pubDate>Sun, 06 Sep 2026 17:09:13 +0000</pubDate>
      <link>https://dev.to/collins_muatha_d018e04d99/getting-started-with-excel-for-data-analytics-from-basics-to-data-cleaning-263b</link>
      <guid>https://dev.to/collins_muatha_d018e04d99/getting-started-with-excel-for-data-analytics-from-basics-to-data-cleaning-263b</guid>
      <description>&lt;p&gt;&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
Excel is a spreadsheet software tool that is widely used to organize, format, calculate, and analyze data in rows and columns. Its popularity stems from its user-friendly interface and powerful built-in functions and features, which make it easy for beginners and professionals alike to handle day to day data tasks. This article takes you through step-by-step guidelines on how to use and navigate Excel—from basic layout components to the practical data cleaning methods that are vital for data analytics.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Excel Workbook Basics&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Workbook and Worksheets&lt;/strong&gt; &lt;br&gt;
An Excel workbook is the main file that can contain one or many worksheets. A worksheet is a single grid containing multiple rows and columns. The worksheet tabs are located at the bottom-left corner of the workbook window. You can easily add a new worksheet by clicking the + icon next to the existing tabs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Cell&lt;/strong&gt;&lt;br&gt;
A cell is the individual block formed at the intersection of a row and a column. Each cell has a unique address (like A1 or B2) used to reference and store data points.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Ribbon&lt;/strong&gt;&lt;br&gt;
The Ribbon is the extensive toolbar located at the top of the Excel window. It houses a variety of buttons, commands, and icons. To make navigation intuitive, it organizes these tools into specialized tabs and groups for quick formatting, mathematical modeling, and comprehensive data management.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;*&lt;em&gt;Data Cleaning *&lt;/em&gt;&lt;br&gt;
Data cleaning is the process of identifying and correcting errors within a dataset so that it is reliable, accurate, and ready for analysis. As a best practice before beginning, always copy your original worksheet to a new sheet. Renaming this secondary sheet to "Clean" allows you to preserve your raw data intact while performing all modifications safely on the duplicate workspace.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Text Functions&lt;/strong&gt;&lt;br&gt;
Text functions are used to standardize strings, repair data entry inconsistencies, and combine fields:UPPER: Converts all lowercase characters in a text string to uppercase.LOWER: Converts all uppercase characters in a text string to lowercase.TRIM: Strips out irregular spacing before, after, and between text characters, leaving only single spaces.CONCAT: Joins text strings from multiple cells together (e.g., combining a "First Name" and "Last Name" column to generate standard corporate email addresses).&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1tnadp6anegrewtgk40t.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1tnadp6anegrewtgk40t.webp" alt=" " width="528" height="389"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Find and Replace&lt;/strong&gt;&lt;br&gt;
Find and Replace is often the initial step in cleaning a dataset. It is used to standardize entries by merging variations of data that were entered incorrectly or inconsistently due to human error. For example, a dataset might contain both "Human Resource" and "HR." While these mean the exact same thing, Excel treats them as different values.To resolve this, you can open the tool using the keyboard shortcut Ctrl + H. In the dialogue box that appears, you enter the inconsistent text in the "Find what" field and your standardized term in the "Replace with" field. Clicking "Replace All" instantly merges these variations into a single, uniform term across your entire spreadsheet.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Conditional Formatting&lt;/strong&gt;&lt;br&gt;
Conditional formatting is a tool that changes the appearence of cells, it let me use colors or databars to highlight high values or errors without having to look at rows or columns manually.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb6bmnr83ygd3j7q2z07m.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fb6bmnr83ygd3j7q2z07m.jpg" alt=" " width="771" height="217"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Sorting and Filtering&lt;/strong&gt;&lt;br&gt;
Sorting and filtering are essential for auditing data. Sorting text columns from A to Z and numeric columns from Largest to Smallest quickly exposes data entry errors. For example, sorting a numerical column like Age immediately isolates text anomaliessuch as the word "thirty" typed instead of the number 30making them easy to find and fix. As highlighted below the age column has thirty keyed in as a text instead of number.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F62q2ipkysn3nvdv8lei5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F62q2ipkysn3nvdv8lei5.jpg" alt=" " width="785" height="265"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Removing Duplicates&lt;/strong&gt;&lt;br&gt;
Duplicate entries distort data metrics and cause calculation errors. To remove them, select your dataset and navigate to the Data tab on the Ribbon, then click Remove Duplicates under the Data Tools group.This action opens a dialog box (as shown below). For an accurate cleanup, ensure you check "My data has headers", then select the unique primary key column—such as Employee IDwhile unchecking the others.This tells Excel to isolate and remove duplicate rows based strictly on unique identifier duplicates, keeping your main dataset completely clean.&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe4aiwx19xpds1405mlaf.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fe4aiwx19xpds1405mlaf.webp" alt=" " width="800" height="390"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Blank and Missing values&lt;/strong&gt;&lt;br&gt;
On the columns that have blanks i changed them to '0' on the numeric columns and on the text columns i changed them to 'Unknown'. This is done to reduce inaccuracies.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;7 &lt;strong&gt;Aggregate Functions&lt;/strong&gt;&lt;br&gt;
Aggregate functions allow you to perform mathematical operations across an entire column or row range:&lt;strong&gt;SUM&lt;/strong&gt;: Adds a selected range of numbers together.&lt;strong&gt;PRODUCT&lt;/strong&gt;: Multiplies a series of numbers together.POWER: Raises a specific number to a designated power.&lt;strong&gt;MIN&lt;/strong&gt;: Finds the absolute lowest numerical value in a data range.&lt;strong&gt;MAX&lt;/strong&gt;: Finds the absolute highest numerical value in a data range.&lt;strong&gt;MEDIAN&lt;/strong&gt;: Identifies the exact middle number from a sorted set of values.&lt;strong&gt;MODE&lt;/strong&gt;: Returns the most frequently occurring number in a dataset.&lt;strong&gt;AVERAGE&lt;/strong&gt;: Calculates the mathematical mean by summing a group of numbers and dividing by their count.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Statistical Functions&lt;/strong&gt;&lt;br&gt;
Statistical tracking functions help you audit data volume and monitor data density:&lt;strong&gt;COUNT&lt;/strong&gt;: Counts cells that contain numerical values only.&lt;strong&gt;COUNTA&lt;/strong&gt;: Counts any cell that is not completely blank (reads text, numbers, and errors).&lt;strong&gt;COUNTBLANK&lt;/strong&gt;: Tracks dataset completeness by counting only the empty cells in a range.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Conditional Aggregations&lt;/strong&gt;&lt;br&gt;
Conditional functions allow you to count, sum, or average data only when specific business criteria are met:&lt;strong&gt;COUNTIF&lt;/strong&gt;: Counts cells matching a single condition (e.g., finding the total number of staff assigned to the IT department).&lt;strong&gt;COUNTIFS&lt;/strong&gt;: Counts cells matching multiple criteria simultaneously (e.g., finding how many female staff members are over the age of 30).&lt;strong&gt;SUMIF&lt;/strong&gt;: Adds numerical values together based on a single condition (e.g., calculating the combined total payroll salary for female staff).&lt;strong&gt;SUMIFS&lt;/strong&gt;: Adds numerical values together based on multiple criteria (e.g., calculating the total salary paid strictly to male staff members who are over 30).&lt;strong&gt;AVERAGEIF&lt;/strong&gt;: Calculates the mean value based on one condition (e.g., determining the average age of all male staff).&lt;strong&gt;AVERAGEIFS&lt;/strong&gt;: Calculates the mean value using multiple criteria (e.g., determining the average age of male staff members working inside the HR department).&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
Excel remains an indispensable asset in the data analytics toolkit because of its accessibility, intuitive interface, and deep structural tools.As covered throughout this guide, successful data analysis depends heavily on the foundational step of data cleaning.By mastering basic sheet layouts, applying precise text functions, using shortcuts like Ctrl + H, and strictly managing duplicate entries using primary identifiers like Employee ID, you transform chaotic datasets into trusted information spaces.When your data is clean, the deployment of aggregate, statistical, and conditional functions unlocks accurate operational insights allowing businesses to make confident, strategic choices based on factual metrics.&lt;/p&gt;

</description>
      <category>datascience</category>
      <category>beginners</category>
    </item>
    <item>
      <title>Understanding the Git Workflow: Working Directory, Staging, Commit and Push</title>
      <dc:creator>Collins Muatha</dc:creator>
      <pubDate>Sat, 29 Aug 2026 19:14:32 +0000</pubDate>
      <link>https://dev.to/collins_muatha_d018e04d99/understanding-the-git-workflow-working-directory-staging-commit-and-push-ijf</link>
      <guid>https://dev.to/collins_muatha_d018e04d99/understanding-the-git-workflow-working-directory-staging-commit-and-push-ijf</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;When I first started learning Git, commands such as' git add',&lt;br&gt;
'git commit', and 'git push' seemed confusing. I later understood&lt;br&gt;
that each command represents a different stage in saving and sharing&lt;br&gt;
project changes.&lt;/p&gt;

&lt;p&gt;In this article, I explain the Git workflow using a small practical&lt;br&gt;
project.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Git?
&lt;/h2&gt;

&lt;p&gt;Git is a version control system that records changes made to files.&lt;br&gt;
It allows developers to track project history, return to earlier&lt;br&gt;
versions, and work safely on projects.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Git workflow
&lt;/h2&gt;

&lt;p&gt;The basic workflow is:&lt;/p&gt;

&lt;p&gt;Working directory → Staging area → Commit → Remote repository&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Working directory
&lt;/h2&gt;

&lt;p&gt;The working directory is the project folder on my computer.&lt;br&gt;
When I create or edit &lt;code&gt;README.md&lt;/code&gt;, the changes first exist here.&lt;/p&gt;

&lt;p&gt;Example:&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
mkdir git-workflow-demo&lt;br&gt;
cd git-workflow-demo&lt;br&gt;
'''&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Initialize a Git repository
&lt;/h2&gt;

&lt;p&gt;'''bash&lt;br&gt;
git &lt;a href="https://dev.tourl"&gt;init&lt;/a&gt;&lt;br&gt;
'''&lt;/p&gt;

&lt;p&gt;This command tells Git to start tracking the project.&lt;/p&gt;

&lt;p&gt;To check the status:&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git status&lt;br&gt;
'''&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Staging area
&lt;/h2&gt;

&lt;p&gt;The staging area allows me to choose which changes should be included&lt;br&gt;
in the next commit.&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git add README.md&lt;br&gt;
'''&lt;/p&gt;

&lt;p&gt;To stage all files:&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git add .&lt;br&gt;
''''&lt;/p&gt;

&lt;p&gt;The staging area is useful because I may have several changes in my&lt;br&gt;
working directory but only want to save some of them in one commit.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Commit
&lt;/h2&gt;

&lt;p&gt;A commit is a saved snapshot of the staged changes.&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git commit -m "Add first Git workflow demo"&lt;br&gt;
'''&lt;/p&gt;

&lt;p&gt;A good commit message should be short and meaningful.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Connect the project to GitHub
&lt;/h2&gt;

&lt;p&gt;After creating a repository on GitHub, I connect it to my local project:&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git remote add origin &lt;a href="mailto:git@github.com"&gt;git@github.com&lt;/a&gt;:YOUR-USERNAME/git-workflow-demo.git&lt;br&gt;
'''&lt;/p&gt;

&lt;p&gt;I can confirm the connection with:&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git remote -v&lt;br&gt;
'''&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Push changes to GitHub
&lt;/h2&gt;

&lt;p&gt;'''bash&lt;br&gt;
git branch -M main&lt;br&gt;
git push -u origin main&lt;br&gt;
'''&lt;/p&gt;

&lt;p&gt;The 'git push' command uploads local commits to the GitHub repository.&lt;/p&gt;

&lt;h2&gt;
  
  
  Making another change
&lt;/h2&gt;

&lt;p&gt;After editing the file again, I can repeat the workflow:&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git status&lt;br&gt;
git add README.md&lt;br&gt;
git commit -m "Update project explanation"&lt;br&gt;
git push&lt;br&gt;
'''&lt;/p&gt;

&lt;h2&gt;
  
  
  Common mistakes
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Forgetting to stage changes
&lt;/h3&gt;

&lt;p&gt;If I commit without running &lt;code&gt;git add&lt;/code&gt;, Git may report that there is&lt;br&gt;
nothing to commit.&lt;/p&gt;

&lt;h3&gt;
  
  
  Using an unclear commit message
&lt;/h3&gt;

&lt;p&gt;A message such as &lt;code&gt;changes&lt;/code&gt; does not explain what was changed.&lt;br&gt;
A message such as &lt;code&gt;Update README instructions&lt;/code&gt; is clearer.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pushing before configuring the remote
&lt;/h3&gt;

&lt;p&gt;If Git does not know the GitHub repository address, I must first run:&lt;/p&gt;

&lt;p&gt;'''bash&lt;br&gt;
git remote add origin REPOSITORY-URL&lt;br&gt;
'''&lt;/p&gt;

&lt;h3&gt;
  
  
  Sharing a private SSH key
&lt;/h3&gt;

&lt;p&gt;The private key must remain on my computer. Only the public key should&lt;br&gt;
be added to GitHub.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;The Git workflow is easier to understand when viewed as a sequence:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Make changes in the working directory.&lt;/li&gt;
&lt;li&gt;Select changes with 'git add'.&lt;/li&gt;
&lt;li&gt;Save a snapshot with 'git commit'.&lt;/li&gt;
&lt;li&gt;Upload the commit with 'git push'.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This small project helped me understand how local work is tracked and&lt;br&gt;
shared on GitHub.&lt;/p&gt;

&lt;h2&gt;
  
  
  Useful commands
&lt;/h2&gt;

&lt;p&gt;''''bash&lt;br&gt;
git status&lt;br&gt;
git add .&lt;br&gt;
git commit -m "Meaningful message"&lt;br&gt;
git log --oneline&lt;br&gt;
git remote -v&lt;br&gt;
git push&lt;br&gt;
''''&lt;/p&gt;

</description>
      <category>git</category>
      <category>github</category>
      <category>tutorial</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
