Excel for Data Analysis series — Part 1. This is the recommended starting point. It covers organizing, sorting, filtering, and summarizing data. Part 2 covers essential functions and PivotTables, and Part 3 covers charts, reports, and dashboards.

Excel for data analysis means using a spreadsheet to organize raw data, clean it, summarize it, and turn it into answers to real questions, such as which products sell best or which region is growing. You can do all of it with built-in tools and simple formulas, no programming required.

Excel is still the most common data tool in business. Almost every company uses it, and many analysts start projects in Excel before moving to tools like Power BI, SQL, or Python. Learning to analyze data in Excel gives you a skill you’ll use whether you’re a beginner, a business owner, or a professional who wants to make better decisions with numbers.

In this guide, you’ll download a small sales dataset and work through it step by step: structure it as a table, add a calculated column, sort and filter it, clean common problems, and calculate the key numbers that summarize it.

What You’ll Need

  • Excel: Microsoft 365 (recommended), Excel 2021, or Excel 2024 on Windows or Mac. Everything in this part also works in older versions and in the free Excel for the web with a Microsoft account.
  • The practice file: download sales-data.csv. It contains 30 sales orders from January to March 2026, with these columns: Order ID, Date, Region, Salesperson, Product, Units, and Unit Price.

Open the file in Excel, then save it as an Excel workbook (File > Save As > Excel Workbook (.xlsx)). CSV files can’t store formatting, tables, or formulas, so working in .xlsx keeps your changes.

The Data Analysis Process

Data analysis in any tool follows the same basic steps:

  1. Ask a question. “Which region sold the most last quarter?” is easier to answer than “Look at the sales data.”
  2. Get the data. Export it from a system, download it, or type it in.
  3. Clean and organize it. Fix errors, remove duplicates, and put it in a consistent structure.
  4. Analyze it. Sort, filter, calculate, and summarize.
  5. Share the results. Present the answer clearly, often with a chart or short report.

This part focuses on steps 3 and 4. Parts 2 and 3 go deeper into analysis and sharing.

Excel Basics for Data Analysis

If you’re new to Excel, a few terms will come up constantly:

TermMeaning
WorkbookThe Excel file itself
Worksheet (sheet)One tab inside the workbook
CellOne box, identified by column letter and row number, such as B2
RangeA group of cells, such as A1:G31
FormulaA calculation that starts with =, such as =F2*G2
FunctionA built-in formula, such as SUM or AVERAGE
Formula barThe bar above the grid where you see and edit a cell’s formula

How to Structure Data for Analysis

Excel’s analysis tools work best when data follows a few simple rules. The practice file already does:

  • One header row with a unique, descriptive name for each column.
  • One row per record (here, one row per order).
  • One type of data per column (dates in the Date column, numbers in Units).
  • No blank rows or columns in the middle of the data.
  • No merged cells, subtotals, or notes mixed into the data.

If you receive a spreadsheet that breaks these rules, fixing the structure first will save you hours later.

Step 1: Turn Your Data into an Excel Table

An Excel Table is the single most useful habit for data analysis. Click any cell in the data and press Ctrl + T (Cmd + T on a Mac), confirm that My table has headers is checked, and click OK.

Your data now has banded rows and filter buttons in the header. Tables also:

  • Expand automatically when you add rows, so formulas and charts include new data.
  • Copy formulas down the whole column when you enter one.
  • Use readable formulas with column names instead of cell addresses.
  • Work smoothly with PivotTables and charts (covered in Parts 2 and 3).

Give the table a name: with a cell selected, go to Table Design and type Sales in the Table Name box. You’ll use this name in later formulas.

Step 2: Add a Calculated Column

The data has Units and Unit Price, but not the order total. Click the empty cell to the right of the Unit Price header (cell H1), type Revenue, and press Enter. In the cell below it, type:

=[@Units]*[@[Unit Price]]

When you press Enter, Excel fills the formula down the whole column. [@Units] means “the Units value in this row.” Column names with spaces need an extra pair of brackets, as in [@[Unit Price]].

The first order (1001) is 8 keyboards at $45, so its Revenue is 360. Order 1002, 3 laptops at $900, is 2,700.

Format the Numbers

Select the Unit Price and Revenue columns, then choose Home > Number Format > Currency (or Accounting). Formatting changes only how numbers look, not their values, so calculations stay accurate.

Freeze the Header Row

With longer datasets, keep the headers visible while you scroll: View > Freeze Panes > Freeze Top Row.

Step 3: Sort Your Data

Sorting puts the most important rows at the top.

Sort by one column: click the filter arrow on Revenue and choose Sort Largest to Smallest. The top five orders are now:

Order IDProductRevenue
1006Monitor2,750
1002Laptop2,700
1010Laptop2,700
1022Laptop2,700
1028Monitor2,000

Sort by several columns: go to Data > Sort and add levels. For example, sort by Region (A to Z), then by Revenue (Largest to Smallest). Each region’s biggest orders now appear at the top of its group.

To get back to the original order, sort by Order ID (Smallest to Largest). That’s one reason to keep an ID column in every dataset.

Step 4: Filter Your Data

Filtering hides the rows you don’t need right now, without deleting anything.

  1. Click the filter arrow on Region.
  2. Uncheck (Select All), check West, and click OK.

Excel now shows the 7 West orders. Select the visible Revenue cells and look at the status bar at the bottom of the window: it shows the Sum (5,850), Average, and Count of the selection, a quick way to answer questions without writing a formula.

Other useful filters:

  • Number filters: on Revenue, choose Number Filters > Greater Than Or Equal To and enter 2000. Five orders qualify.
  • Date filters: on Date, choose Date Filters > All Dates in the Period > February to see only February orders.
  • Text filters: on Product, choose Text Filters > Contains to find products by keyword.
  • Several filters at once: filter Region to North and Product to Laptop to see Maria Lopez’s laptop orders.

To remove all filters, go to Data > Clear.

Step 5: Clean Messy Data

Real data is rarely as tidy as the practice file. These tools fix the most common problems:

ProblemToolWhere to find it
Duplicate rowsRemove DuplicatesData > Remove Duplicates
Extra spaces (“North " vs “North”)=TRIM(A2)Formula
Inconsistent capitalization (“north”, “NORTH”)=PROPER(A2), =UPPER(A2), =LOWER(A2)Formula
Full names in one column you need splitText to Columns or Flash FillData > Text to Columns; Data > Flash Fill (Ctrl + E)
Numbers stored as text (left-aligned, with a green triangle)Convert to NumberClick the warning icon
Inconsistent spellingsFind & ReplaceCtrl + H
Blank cellsFilter for (Blanks)Column filter
New entries with typosData Validation (drop-down lists)Data > Data Validation

Two habits make cleaning safer:

  • Keep the original data untouched. Copy it to a new sheet before you clean, so you can always go back.
  • Use helper columns. Put =TRIM(C2) in a new column, check the results, then paste them as values over the original.

If your data lives in a database, you can also clean it before it reaches Excel. See Cleaning Messy Data with Pure SQL.

Step 6: Summarize with Basic Functions

Now answer some questions. Click an empty cell outside the table (for example, J2) and try these formulas:

QuestionFormulaResult
Total revenue=SUM(Sales[Revenue])30,420
Number of orders=COUNT(Sales[Revenue])30
Total units sold=SUM(Sales[Units])167
Average order value=AVERAGE(Sales[Revenue])1,014
Median order value=MEDIAN(Sales[Revenue])697.50
Smallest order=MIN(Sales[Revenue])75
Largest order=MAX(Sales[Revenue])2,750

Sales[Revenue] refers to the whole Revenue column of the table, so these formulas update automatically when you add new orders.

A few related functions:

  • COUNT counts cells with numbers; COUNTA counts any non-empty cell, including text.
  • ROUND(AVERAGE(Sales[Revenue]), 0) rounds a result to whole numbers.

What the Numbers Tell You

Numbers become useful when you interpret them:

  • The average (1,014) is much higher than the median (697.50). A few large orders, like the laptop and monitor sales above 2,000, pull the average up. The median is a better picture of a “typical” order.
  • The five orders of 2,000 or more (1/6 of all orders) bring in 12,850, about 42% of total revenue. Large orders matter a lot to this business.
  • Filtering by region showed West at 5,850. Is that high or low? You’ll compare all four regions at once with SUMIFS and PivotTables in Part 2.

Quick Analysis Shortcuts

  • Status bar: select any numbers to see their sum, average, and count instantly. Right-click the status bar to add Min, Max, and more.
  • Quick Analysis: select a range and press Ctrl + Q (Windows) for one-click totals, formatting, and charts.
  • Analyze Data: in Microsoft 365, Home > Analyze Data suggests summaries and charts based on your table.

Common Beginner Mistakes

  • Sorting one column instead of the whole table, which scrambles rows. Using an Excel Table prevents this.
  • Typing totals by hand instead of using formulas, so they’re wrong as soon as data changes.
  • Mixing text and numbers in one column, such as “5 units” instead of 5.
  • Merged cells and blank rows inside the data, which break sorting, filtering, and PivotTables.
  • Overwriting the raw data while cleaning, with no copy to go back to.
  • Forgetting that filters are on, then wondering why totals look wrong. Check for the filter icon on column headers.

Frequently Asked Questions

Is Excel good for data analysis?

Yes, for small to medium datasets. Excel handles up to 1,048,576 rows per sheet and is excellent for exploring data, quick calculations, and reports. For much larger data, automated pipelines, or advanced statistics, analysts often add SQL, Python, or Power BI.

Which version of Excel do I need?

Anything from Excel 2016 onward works for this part. Microsoft 365, Excel 2021, or Excel 2024 is recommended for the newer functions in Part 2, such as XLOOKUP.

Can I use Excel for data analysis for free?

Yes. Excel for the web is free with a Microsoft account and supports tables, sorting, filtering, formulas, PivotTables, and charts, although some advanced features are limited.

What’s the difference between a range and a table in Excel?

A range is just a group of cells. A table is a named, structured range that expands automatically, copies formulas down, and lets you use column names in formulas. For analysis, tables are almost always better.

What Excel skills do data analysts need?

Organizing and cleaning data, sorting and filtering, functions like SUMIFS, COUNTIFS, and XLOOKUP, PivotTables, and charts. This series covers all of them. See What Is a Data Analyst? for the wider skill set.

How long does it take to learn Excel for data analysis?

You can learn the basics in this guide in an afternoon of practice. Becoming comfortable with functions, PivotTables, and dashboards usually takes a few weeks of regular use on real data.

Conclusion

Excel for data analysis starts with well-structured data. Turn your data into a table, add calculated columns, sort and filter to explore it, clean the problems you find, and use functions like SUM, AVERAGE, and MEDIAN to summarize it. Then ask what the numbers mean.

You now know that the sample business made 30,420 in revenue from 30 orders, that a handful of large orders drive much of it, and how to explore any slice of the data with filters.

Next in the Excel for Data Analysis series: Essential Excel Functions and Pivot Tables for Data Analysis, where you’ll compare regions and products with SUMIFS, COUNTIFS, XLOOKUP, and PivotTables.

Excel for Data Analysis series: Part 1: A Beginner’s Guide · Part 2: Essential Functions and Pivot Tables · Part 3: Charts, Reports, and Dashboards