DEV Community

Cover image for Introduction to MS Excel for Data Analytics
Caroline Sikolia
Caroline Sikolia

Posted on

Introduction to MS Excel for Data Analytics

Within the Microsoft Office suite, Microsoft Excel is a robust spreadsheet application that uses rows and columns (cells) to organize, analyze, visualize, and compute data. With formulas, functions, charts, and pivot tables to transform raw data into usable insights, it can be used for anything from personal budgets and contact lists to sophisticated financial modeling and data analysis. It is accessible online and across devices for teamwork.

Excel Interface

This consist of things you see when you open excel. They include:

  • Quick Access Toolbar: The Quick Access Toolbar is located above the ribbon and contains buttons for commands that you'll use often, such as save and undo.

  • Ribbon:The Excel Ribbon is the command center at the top of the window, organized into Tabs (like Home, Insert, Page Layout) that contain logical Groups (like Font, Alignment) of related Commands (buttons, icons) for performing actions.

  • Name Box:The Name Box in Excel is the small box left of the formula bar that shows the active cell's reference (e.g., A1) but also lets you assign meaningful names to cells or ranges, making them easier to find and use in formulas.

  • Formula Bar:The Excel formula bar is a toolbar below the ribbon used to enter, view, and edit data or formulas in cells.

  • Worksheet & Workbook:An Excel worksheet is a grid of columns and rows forming a single page for data entry, analysis, and visualization. One or multiple worksheets make a Workbook.

Formatting and Cleaning Data

This section covers how to clean data in your work sheet using tools such as Formatting Cells, Conditional Formatting and removing duplicates.

  • Formatting Cells & Rows: You can format the cells and Rows in your data according to their data type to improve data integrity, readability and assist in calculations. This can be done through number section in the home tab part of the ribbon or right clicking a cell.

  • Removing Duplicates: Duplicates in data sets can be removed via the Data tab in the ribbon under the remove duplicates button.

  • Conditional Formatting:Excel conditional formatting automatically changes cell appearance (color, icons, data bars) based on rules or formulas, helping you visualize trends, spot outliers, and highlight key data like duplicates .

Sorting, Filtering and Data Validation

  • Sorting: This changes the order of rows based on the chosen columns eg. From largest to smallest for numbers and A to Z for texts.
  • Filtering:Excel filtering lets you show only the data that meets specific criteria, hiding the rest.
  • Data Validation:Data validation in Excel restricts data entry in cells to specific types, values, or formats (like whole numbers, dates, or list items) to ensure accuracy and consistency.

Basic Calculations and Functions

A formula in excel is a command for Excel to calculate something. They usually begin with an equal sign.(=)
You can do basic calculations directly eg. =B2 + B3 or you can use the SUM function. SUM is usually for addition, AVERAGE
for finding average , MIN for finding minimum value, MAX for maximum value and COUNT for counting cells with values.


AUTOSUM in Excel quickly adds numbers in a range using the =SUM function; you can use the AutoSum button (Σ) on the Home tab, or the Alt + = keyboard shortcut, by selecting the cell where the total should appear and pressing Enter.


Conditional Functions
These calculate only for rows that meet certain conditions.
SUMIF: Adds values in a range that meet a single, specified condition, using the syntax =SUMIF(range, criteria, [sum_range]), where range is checked for criteria, and if true, corresponding cells in sum_range are added.


SUMIFS is used when there is more than one criteria.
COUNTIF,AVERAGEIF,MAXIF and MINIF can be used the same way depending on what calculation needs to be done.

Tables in Excel

You can convert your data to a table under the insert tab in the ribbon or click anywhere in your data and select Ctrl + T.


PivotTables
PivotTables in Excel are formula-free tools designed for instantly summarizing, analyzing, and exploring large datasets. You can create them through selecting anywhere in your data and navigating to the insert tab.
You can edit the contents of the pivot table using the PivotTable section.

Charts & Slicers

Excel charts and slicers create interactive, visual reports by allowing users to filter data dynamically. Slicers act as visual buttons to filter PivotTables, Tables, and connected Charts instantly.

Dashboards

An Excel dashboard is a visual report that consolidates key business metrics (KPIs), charts, and tables into a single view for easy tracking and analysis, offering a dynamic, at-a-glance understanding of performance, often built using PivotTables, PivotCharts, Slicers, and Timelines for interactivity.

Conclusion

Excel is a great starting point for anyone getting into data analysis. With basic formulas, pivot tables, slicers, charts, and dashboards, you can turn messy raw data into clear, useful insights. These tools make it easier to spot trends, answer questions faster, and support better decisions. With practice, Excel becomes more than just a spreadsheet, it becomes a powerful tool for understanding data.

Top comments (0)