DEV Community

Nashipae Ntung'ani
Nashipae Ntung'ani

Posted on

Beginner's Guide to Basic Data Analysis in Microsoft Excel

Introduction

MS Excel is one of the ,most widely used micro soft tools for recording and analyzing information. Whether a person is managing personal finances, tracking school marks, or handling business report, Excel provides a simple way to turn a list of numbers to meaningful insights

The Interface

Before analyzing data, you need to know where things are. The excel screen is a grid of columns(labeled as letter A,B,C)and rows (labeled with numbers 1,2,3).

  • Cell: The intersection of rows and a column (eg cell A1)

  • Ribbon:The tool bar at the top where you find all your tools like home, Insert and data

  • Formula Bar: Located above the grid, this shows the exact text or calculation inside the exact text or calculated inside the cell one ahs selected

Cleaning Data

Excel has several built-in tools to help fix errors:

  1. Removing duplicates: If you have the same information repeated by mistake, go to the Data tab and click remove duplicates

  2. Text cleaning: You use simple formulas to fix messy text:

  • =PROPER(A2): capitalizes the first letter of every word eg names

  • =TRIM(A2):Remove extra spaces from beginning or end of your text
    3.Conditional Formatting
    This tool automatically highlights cell based on rules.
    Highlight Cell Rules (Greater Than 80,000,Less Than 80,000)

Organizing with Sorting and Filtering

Once your data is clea, you can organize it to see patterns.

  • Sorting: This changes the order of your list. for example, one can sort a list of employee salary from highest to lowest to see who the highest earners are. Freeze Top Row:
  • View tab > Freeze Panes.
  • Choose Freeze Top Row.
    Types of sorting:

    • Text: A to Z or Z to A
    • Numbers: Smallest to Largest or Largest to Smallest
    • Dates: Oldest to Newest or Newest to Oldest
  • Filtering: This hides data you don't need.

    An example: If you only want to see employees from the "IT" department, you can click the filter button on the data tab and uncheck everthing except "IT"

  • Freezing panes: Keeps your header row visible while you scroll through thousands of row data. To freeze Top Row:

    -View tab > Freeze Panes.

    -Choose Freeze Top Row.

    One can choose to freeze the top column or custom freeze

Basic calculation (Functions)

Calculations are the heart of data analysis.Ever formula in excel must start with an equal sign =. Here are the most common functions used to summarize data:
*Aggregate Function
*

  • SUM: Adds up all the numbers in a range(e.g., =SUM(E2:E10)adds all salaries in those cells

  • Average: Find the middle value of a group of numbers. Example:
    Average salary of all employees:
    =AVERAGE(E2:E877)

  • MIN/MAX: Find the smallest or the largest number in your list. =MIN(E2:E877) to look for the minimum salary.
    =MAX(E2:E877) to look for maximum salary.

  • Count: Tells you how many cells actually contain a number.
    Count number of employees with a numeric salary:
    =COUNT(E2:E877)

    Conditional Math

    These are advanced beginner tools that only calculate if a rule is met
    SUMIFS example
    Total Salary for Full-Time IT employees
    SUMIF(D2:D876,"IT"
    COUNTIFS :Count employees who re both full-time and in IT

Advanced Analysis and Logic

  • logic(IF/OR/AND)- These functions act like a brain for your spreadsheet. For example,=IF(score>7,"pass","fail" automatically grades your data

  • Lookups (VLOOKUP/XLOOKUP/HLOOKUP)- These act like a digital "search" tool. If you have an employee ID, you can use VLOOKUP to instantly find that person's name or salary from a massive list

  • Date and Time: Tools like DateIf allows you to calculate exactly how many years an employee has been with the company or how many working days a task took.

PIVOT TABLES

PivotTables are one of the most powerful features in Excel. They allow you to summarize, analyze, and explore large datasets like HR data without writing formulas. It summarizes large amounts of data by grouping, counting, summing, or averaging values.

Example: Total Salary by Department Question
What is the total salary cost per department?
Steps
• Rows → Department
• Values → Salary
Excel defaults to SUM.
Result
Total payroll cost per department.

*Pivot chart
*

Visualizing Data with Charts

The final step is to turn your numbers into a picture so that they are easier to understand.
A chart is a visual representation of data that helps users quickly see comparisons, trends, distributions and proportions.

  • Column charts: Best for comparing different categories like "total sales by department"

  • Pie chart- Best for showing parts for a whole, such as the "Gender distribution" in an office.

-** Line chart**- Best for showing trends

Top comments (0)