DEV Community

Timothy M Kariuki
Timothy M Kariuki

Posted on

Getting Started with Excel for Data Analytics: From Basics to Data Cleaning.

Introduction

There is a joke that says "Never publicly boast you are good at excel, there are levels". (You will be humiliated by what others can do with it ) which I think is a show of how many capabilities excel has for one to master all; there is always something you haven't learnt. As society becomes increasingly data-driven, exploring a variety of data analysis tools is essential to effectively manage and interpret information. Microsoft Excel remains a fundamental and widely accessible tool for data collection, management and analysis. Despite the rise of Artificial Intelligence (AI) transforming large-scale data handling, Excel excels(pun in 10....) at organizing and processing data into clear, readable formats. This capability is essential for extracting insights that support research, business strategy, and various data-driven projects.
Excel is often the first tool beginners learn in data analytics because it is visual, easy to understand, and widely used in workplaces. Whether you’re managing numerical data, such as budgets, or qualitative data, such as customer survey responses, Excel workbooks let you import and organize data effectively.

Components And Tools of Excel

Excel uses a grid of numbered rows (↔) and lettered columns (↕). Every piece of data sits inside a cell, which is the basic building block of a spreadsheet. Each cell gets its address from its column letter followed by its row number—meaning A1 refers to the cell in Column A, Row 1.

Excel has a ribbon at the top that give options for data manipulation and editing within the workbooks; the clickable ribbon labels across the top (Home, Insert, Page Layout, Formulas, Data, Review, View).

Excel offers a variety of tools found within the ribbon for data analysis that help identify trends in large datasets, saving time compared to manual analysis. Key tools include:

  • Sort and Filter: Create separate views with drop-down menus to filter data.
  • Conditional Formatting: Highlights data for easy reference, such as numbers exceeding a threshold or cells containing specific words.

Moreover, At the bottom of the excel workbook we find the sheets tab where you can replicate or open a new tab to to inser new data.

Finding and Replacing Data

Finding Data: Use Ctrl + F or head to Home > Editing > Find & Select > Find. Type what you are looking for into the Find what box and click Find Next or Find All.
Replacing Data: Use Ctrl + H or navigate to Home > Editing > Find & Select > Replace. Enter the existing text in the Find what field, type the updated content in Replace with, and choose Replace or Replace All.

Excel Formulae

Excel has formulas that perform calculations, manipulate text and test conditions. Every Excel formula begins with an equal sign (=). The formulas include: Math formulas, Text formulas, Logical formulas such as below:
Math formula: Perform arithimetic calculations on data.
=SUM(A1:A10) — Adds all numbers in cells A1 through A10.
Logical formula: Evaluate conditions and return different values based on whether the condition is true or false.
=IF(C2>=50, "Pass", "Fail") -If student score in C2 is 50 or higher, displays "Pass"; otherwise, displays "Fail".
Text Formula: Combines, cleans, or alters text strings Example: UPPER / LOWER: =UPPER(A2) — Converts text in A2 to uppercase.

Process of Cleaning Data

Cleaning data in excel involves a number if steps that help eliminate inconsistencies and provide data reliability as well as readability:

  • Elimination of Duplicates: After opening the excel, sheet choose your data range, select Data > Remove Duplicates. Select the columns to look for duplicate values in, then allow Excel to remove the rows that are repeated.
  • Fix Texts: Use UPPER()/LOWER()/PROPER() to standardize capitalization across text columns. This elps to make the data in the excel readable.
  • Investigate Missing Data in Cells: find empty cells, then decide whether to fill them with a default value, a formula, or delete the row entirely.
  • Standardize Texts Formats: Ensure that dates, numbers, and currency are stored as actual values (not text) so that sorting and calculations function properly.

  • Fix Inconsistent Data: Use Filters to correct inconsistent data labels (e.g Luxdev, LxDev, L.D) and use Find & Replace to standardize them.

  • Identify, Investigate and Correct/Eliminate Outliers: Use formulas (MIN, MAX, AVERAGE, IFERROR) to flag values that fall outside expected ranges or contain calculation errors.

  • Adding Additional Fields: If a new field is needed e.g Full name, use CONCATENATE() to merge(first and last name) fields together.

  • Proper Font Formats: Use the official and agreed upon fonts to format your data and make it professional.

Conclusion

Excel remains a vital tool for managing data, but the quality of the data determines how powerful and accurate it can be. Effective data cleaning eliminates errors, standardizes formats, and ensures accurate analysis. In the end, clean data turns Excel from a being just a spreadsheet into a trustworthy tool for confident data analysis.

Top comments (0)