Microsoft Excel for Data Analysis: Formulas, Pivot Tables, Statistics and Dashboards
Organise information. Discover insights. Make informed decisions.
Excel is often the first data analysis tool students and professionals use. This guide teaches a structured analytical workflow in Excel, from organising and cleaning data to pivot tables, statistics and clear charts, using one retail example throughout.
Why learn Excel for data analysis?
Excel combines data entry, calculation, analysis and presentation in one place. Courses in business, accounting, health, engineering and the social sciences use it, and most workplaces expect it. Learning it well also builds habits that transfer to SPSS, R or Python: tidy data, reproducible steps and careful interpretation.
Watch the topic explained
Video lesson · about 10 minutes · in production
Excel Data Analysis Explained
An original lesson that teaches Excel with diagrams and a worked example, with captions and a transcript. These are the chapters it will cover; each links to the matching part of this guide.
- 01The Excel environment and tables
- 02Formulas and cell references
- 03Cleaning data
- 04Pivot tables
- 05Statistics and charts
Formulas and cell references
Every formula starts with =. When you copy a formula, Excel adjusts references:
| Reference | Written as | When copied |
|---|---|---|
| Relative | A2 |
Row and column both change |
| Absolute | $A$2 |
Neither changes |
| Mixed | $A2 or A$2 |
Only the unlocked part changes |
Example: to calculate each product’s share of total sales, =B2/$B$10 keeps the total cell fixed as you fill down. Practise with the cell reference lab.
Essential functions
| Purpose | Functions |
|---|---|
| Summary statistics | SUM, AVERAGE, MEDIAN, MIN, MAX, STDEV.S, COUNT, COUNTA |
| Logic | IF, IFS, AND, OR, IFERROR |
| Conditional calculations | SUMIFS, COUNTIFS, AVERAGEIFS |
| Lookup | XLOOKUP (or INDEX + MATCH; older VLOOKUP) |
| Text and cleaning | TRIM, PROPER, UPPER, TEXTSPLIT, LEFT, RIGHT, SUBSTITUTE |
| Dates | DATE, YEAR, MONTH, EOMONTH, NETWORKDAYS |
| Dynamic arrays (Microsoft 365) | FILTER, SORT, UNIQUE |
How to analyse data in Excel, step by step
- Define the question: what decision or insight do you need?
- Organise the dataset as an Excel Table (Ctrl + T): clear headers, no merged cells, no blank rows.
- Clean: remove duplicates, fix inconsistent text with
TRIM/PROPER, convert text-numbers, handle missing values with a stated rule. - Calculate new variables with formulas.
- Summarise with pivot tables or
SUMIFS/COUNTIFS. - Analyse: descriptive statistics, correlation (
CORREL), regression (Analysis ToolPak orLINEST). - Visualise and interpret: choose a suitable chart, label it and explain what it shows.
Practical example: retail sales
Fictional dataset: 1,200 transactions with Date, Region, Category, Units and Revenue.
- Question: which regions and categories drive revenue, and is there a seasonal pattern?
- Cleaning: "north", "North " and "NORTH" standardised with
=PROPER(TRIM(B2)); 14 duplicate transaction IDs removed. - Pivot table: Rows = Region, Columns = Category, Values = Sum of Revenue. North and Central generate 58% of revenue; Accessories outperform in the South.
- Trend: a pivot of monthly revenue shows a peak in November–December.
- Chart: a line chart for the monthly trend and a clustered bar chart for region × category.
- Interpretation: a summary for managers names the top segments, the seasonal pattern and the data limitations (for example, no cost data, so margins cannot be compared).
Pivot tables
A pivot table summarises a table by placing fields in Rows, Columns, Values (sum, count, average…) and Filters. Use slicers for interactive filtering and refresh after the source data changes. Try the pivot table simulator.
Statistical analysis in Excel
- Descriptive statistics: functions, or Data → Data Analysis → Descriptive Statistics (Analysis ToolPak add-in).
- Correlation:
=CORREL(range1, range2). - Regression: Analysis ToolPak → Regression gives coefficients, standard errors, p-values and R²;
=LINEST()returns the same coefficients as a formula. - t-tests:
=T.TEST()or the ToolPak.
Excel is fine for many coursework analyses; for complex models, larger datasets or reproducible research, SPSS, Stata, R or Python may be more suitable.
Dashboards and Power Query
A dashboard brings key metrics, charts and slicers onto one screen for a specific audience. Power Query (Data → Get & Transform) records cleaning and transformation steps so they can be repeated when new data arrives, a big step towards reproducible analysis.
Common mistakes
- Merged cells and multiple header rows in raw data.
- Hard-coded numbers inside formulas.
- Wrong references when copying formulas.
- Pivot tables not refreshed after data changes.
- Pie charts with many categories, or truncated axes that exaggerate differences.
- Using
STDEV.Pwhen your data are a sample (useSTDEV.S).
Explore learning resources
Worked examples, worksheets and checklists to use alongside this guide. They are learning tools, not answers to an assessment: adapt them to your own task and your institution’s requirements.
ChecklistTidy data checklistBefore any analysis.
- One header row with clear, unique names
- One record per row; one variable per column
- No merged cells, subtotals or blank rows inside the data
- Consistent text, dates and number formats
- Duplicates checked; missing values handled with a stated rule
- Raw data kept separate from calculations and outputs
ReferenceChoosing a chartMatch the chart to the question.
| Question | Chart |
|---|---|
| Change over time | Line chart |
| Compare categories | Bar or column chart |
| Part of a whole (few parts) | Stacked bar (or pie with ≤ 5 slices) |
| Relationship between two numbers | Scatter plot |
| Distribution | Histogram or box plot |
Try the interactive tools
Free tools that let you practise Excel hands-on. They run in your browser, explain every result and keep what you type private.
- Excel Cell Reference LabType a formula, “copy” it across and down, and see how relative, absolute and mixed references change.
- Pivot Table SimulatorDrag-free pivot practice: choose rows, columns, values and a summary to see the pivot table build.
- Chart ChooserSay what you want your chart to show and get the right chart type, with tips and mistakes to avoid.
- Descriptive Statistics LabPaste a column of numbers and get mean, median, SD, quartiles, skewness and a histogram.
Check your understanding
4 short questions. Choose an answer for each, then check. Every answer comes with an explanation.
Take your learning further
Learn Excel with a specialist Academic Expert
Sometimes a concept needs more than a written explanation. A live 1:1 session with an Academic Expert who works in Excel lets you ask your own questions, work through examples at your pace and get feedback on your own thinking.
What you can work on together
- Organise and clean data in Excel
- Use formulas, references and lookups correctly
- Build and interpret pivot tables
- Run descriptive statistics, correlation and regression
- Design clear charts and dashboards
- Get feedback on a workbook you have built
How sessions help
- Make sense of your brief and marking criteria, so you know exactly what is being asked.
- Ask the questions you would not ask in a big class, as often as you need.
- Get timely, specific feedback on work you have written yourself.
- Practise explaining your reasoning out loud, ready for vivas, presentations and practicals.
- Extra support with academic English and conventions if English is not your first language.
Teach → coach → review. Experts explain, demonstrate and give feedback. You stay the author of your work and make the decisions in it.
Frequently asked questions
Do I need Microsoft 365?
Most of this guide works in recent Excel versions. Dynamic array functions such as FILTER and XLOOKUP need Microsoft 365 or Excel 2021 or later.
How do I enable the Analysis ToolPak?
In Excel for Windows: File → Options → Add-ins → Manage Excel Add-ins → Go → tick Analysis ToolPak. Steps differ slightly on Mac.
Our academic integrity commitment
UniLearno supports learning, understanding and independent academic development. Our Academic Experts explain concepts, demonstrate methods, guide research and give feedback on work you have created. We do not complete assessed work, fabricate data or references, or produce anything for you to submit. You remain responsible for your own ideas, analysis, conclusions and final submission, and for following your institution’s academic integrity and AI-use rules.
Why a shortcut costs more than it saves
- It is more visible than it looks. Markers notice when work does not match what they know of you; document history, reference lists and follow-up conversations about your work are all used to check authorship.
- It creates a lasting risk. Services that sell completed assignments have threatened students afterwards, demanding money not to tell their university.
- The gap does not go away. Later units, supervised exams, vivas, placements and the job itself all assume you have the skill.
- Help that teaches is the safer route. Understanding the brief, getting feedback early and practising with an expert closes the gap for good.
Sources and about this guide
- Microsoft. Excel help and learning. support.microsoft.com.
- Winston, W. L. (2021). Microsoft Excel data analysis and business modeling (7th ed.). Microsoft Press.
- Knaflic, C. N. (2015). Storytelling with data. Wiley.
- Written by
- UniLearno Learning Team
- Last reviewed
- Found an error?
- Tell us and we will check and correct it.