Excel learning notes

Excel for Data Analysis, Reporting & Automation

By Imonikhe Ayeni

This practical Excel reference starts with workbook basics and formulas, then moves through lookups, data cleaning, PivotTables, charts, Power Query, Power Pivot, statistical analysis and automation.

Beginner to intermediateAbout 12 minutesLast updated September 2026Includes interview refresher

A note from the author

I’m Imonikhe Ayeni. I use Excel for data checking, analysis, reporting and quality assurance.

Start with formulas and tables, then move into PivotTables and Power Query. You do not need to learn every feature before using Excel well.

No matching sections were found. Try a broader search term.
01

Excel fundamentals

Understand the workbook, worksheet, cells, ranges, tables and the habits that make analytical work reliable.

Core objects

A1
B2:D20
Table1[Revenue]

Good habits

Keep raw data separate from calculations and outputs. Avoid merged cells inside datasets and use one header row.
02

Formulas and references

Build reliable calculations using relative, absolute and mixed references.

Relative vs absolute

=B2*C2
=B2*$F$1
=$A2*B$1

Essential maths

=SUM(B2:B100)
=AVERAGE(B2:B100)
=MIN(B2:B100)
=MAX(B2:B100)
03

Logical functions

Use IF, IFS, AND, OR and error handling to translate business rules into reproducible logic.

IF and IFS

=IF(C2>=80,"High","Standard")
=IFS(C2>=90,"A",C2>=80,"B",C2>=70,"C",TRUE,"Other")

Error handling

=IFERROR(A2/B2,0)
04

Lookups and matching

Join information across tables using modern lookup functions and understand alternatives for older workbooks.

XLOOKUP

=XLOOKUP(A2,Customers[ID],Customers[Region],"Not found")

INDEX + MATCH

=INDEX(Customers[Region],MATCH(A2,Customers[ID],0))
05

Text and date functions

Clean identifiers, construct labels and derive useful calendar fields.

Text cleaning

=TRIM(A2)
=UPPER(A2)
=TEXTJOIN(" - ",TRUE,A2,B2,C2)

Dates

=YEAR(A2)
=MONTH(A2)
=EOMONTH(A2,0)
=TODAY()
06

Dynamic arrays

Use FILTER, UNIQUE, SORT and SEQUENCE to create live analysis outputs without manual copying.

Filter and unique

=FILTER(A2:D100,D2:D100="Wales")
=UNIQUE(B2:B100)

Sort dynamically

=SORT(UNIQUE(B2:B100))
07

Excel Tables and structured references

Use tables to make models easier to read, extend and audit.

Structured formula

=[@Quantity]*[@UnitPrice]

Table totals

=SUBTOTAL(109,Table1[Revenue])
08

Data cleaning and validation

Standardise values, remove duplicates and prevent bad inputs.

Data validation

Restrict entries using lists, numbers, dates or custom formulas.

Cleaning toolkit

=CLEAN(TRIM(A2))
09

PivotTables and PivotCharts

Summarise large datasets quickly and build interactive analytical views.

Pivot workflow

Rows define grouping, Columns split categories, Values aggregate measures and Filters/Slicers support interaction.

Calculated thinking

Know when to use a worksheet formula, PivotTable calculation, Power Pivot measure or DAX measure.
10

Charts and dashboard design

Choose visuals that answer a question clearly rather than decorating the worksheet.

Chart selection

Use bars for comparisons, lines for trends, scatterplots for relationships and cards/KPIs for headline metrics.

Dashboard habits

Align objects, minimise clutter, use consistent number formats and place the most important insight first.
11

Power Query in Excel

Use Power Query for repeatable import, transformation and combination of data.

Typical workflow

Get Data → transform types → filter → split/merge → append/join → load.

Refreshable pipeline

Once a query is built, replace manual cleaning with Refresh where possible.
12

What-if analysis and Solver

Explore scenarios, targets and optimisation questions.

Goal Seek

Find the input needed to reach a target output.

Solver

Optimise an objective while respecting constraints.
13

Statistical analysis

Use descriptive statistics and selected inferential tools responsibly.

Descriptive analysis

=MEDIAN(B2:B100)
=STDEV.S(B2:B100)
=QUARTILE.INC(B2:B100,1)

Analysis ToolPak

Use for regression, ANOVA, correlation and other standard analyses when appropriate.
14

Automation with Office Scripts and VBA

Automate repetitive tasks after the manual process is stable and understood.

Office Scripts

Useful for repeatable workbook automation in modern Microsoft 365 workflows.

VBA

Still important for many established desktop Excel workbooks and macros.
15

Excel projects and learning path

Consolidate your skills through end-to-end projects.

Beginner project

Clean a sales dataset, calculate KPIs, build PivotTables and create a one-page dashboard.

Advanced project

Build a refreshable Power Query pipeline, forecasting/what-if model and management dashboard.
16

Excel key terms and interview refresher

Use this section as a quick revision page before an interview or when a term comes up at work. The aim is to understand the idea well enough to explain it in plain language before memorising syntax.

WorkbookThe Excel file that can contain one or more worksheets.
WorksheetA single sheet inside a workbook.
RangeA group of cells, for example A2:D100.
Excel TableA structured range with headers, automatic expansion and structured references.
Relative referenceA reference such as A2 that changes when a formula is copied.
Absolute referenceA reference such as $A$2 that stays fixed when copied.
PivotTableA tool for interactively summarising and grouping data.
Power QueryA repeatable data-import and transformation tool.
Power PivotExcel's Data Model layer for relationships between tables and DAX measures.
Volatile functionA function that recalculates frequently, such as NOW, TODAY, RAND, OFFSET or INDIRECT, which can affect performance in large workbooks.

Common interview questions

What is the difference between a relative and absolute reference?

A relative reference changes when copied. An absolute reference uses $ signs to lock the row, column or both.

XLOOKUP or INDEX/MATCH?

XLOOKUP is easier to read and supports exact matching and left lookups directly. INDEX/MATCH remains useful in older Excel versions and legacy workbooks.

What is the difference between a PivotTable and Power Query?

Power Query prepares and reshapes data. A PivotTable summarises already-loaded data for analysis.

What is the difference between Power Query and Power Pivot?

Power Query handles data extraction and transformation. Power Pivot manages relationships and analytical measures in the Data Model.

When would you use a named range or Excel Table?

Use a Table for structured datasets that should expand automatically. Named ranges are useful for readable references, parameters or fixed areas.

Practical interview tests

These short tasks test whether you can apply the tool, explain your reasoning and validate the result. In a live exercise, say your assumptions aloud and check the output rather than rushing straight to syntax.

Return a customer's region from a lookup table, or 'Not found' if the ID is absent.What it tests: modern lookup formulas

Answer: Use XLOOKUP with an explicit not-found result.

=XLOOKUP(A2,Customers[ID],Customers[Region],"Not found")
Calculate total revenue for Wales in 2026.What it tests: conditional aggregation

Answer: Use SUMIFS with criteria for region and year.

=SUMIFS(Sales[Revenue],Sales[Region],"Wales",Sales[Year],2026)
A lookup formula gives the wrong result when copied down. What would you check?What it tests: formula debugging

Answer: Check whether ranges should be fixed with absolute references or whether Excel Table structured references would be safer.

Why: Many spreadsheet failures are reference problems rather than function problems.

You receive twelve monthly files with the same columns. How would you combine them repeatably?What it tests: Power Query workflow

Answer: Use Power Query's folder connector, apply the transformation once, combine the files, then refresh when new files arrive.

Why: This is more reproducible than monthly copy-and-paste.

When would you choose a PivotTable instead of formulas?What it tests: tool selection

Answer: Use a PivotTable for fast interactive grouped summaries and slicing. Use formulas when you need cell-level logic, custom layouts or values that feed other calculations.