TOPIC 01/2314 MINNOT STARTED

Spreadsheets for analysts: lookups and pivot tables

Use a lookup formula to pull a value from another table, a pivot table to count and total a list, and sanity checks to prove the answer before you share it.

L1–L4 are part of the Pro pass

L0 Explain simply

Analogy: The school register. A school register is a simple table of names. Each row is a pupil. You can sort it, filter it and count it. A teacher can also look up a pupil's class by finding the name and reading across the row.

A spreadsheet is a grid of cells in rows and columns, like that register. Two skills turn a plain list into answers. The first is a lookup. The second is a .

A finds a row in one table by a matching value, and returns a value from that row. Daily List is a to-do app. Its task list holds a user number but not the plan name. The user list holds both. A lookup takes the user number from each task and fetches the plan name.

A pivot table is a summary table that groups the rows of a list and counts or adds them. You choose which column makes the rows, and which makes the columns. The sheet does the counting for you.

Sam, the , uses both to answer Nina's question: "How many open tasks do free users have?"

A paper register has one writer. A spreadsheet can be changed by anyone, and a wrong change makes no noise. So every answer needs a check.

PLAIN WORDS · 1 in this section
spreadsheet
a grid of rows and columns holding numbers or text

PICTURE IT

The picture is the one the lesson above opens with. The table below shows how each part of it matches the work.

THE REAL JOB The picture helps a newcomer remember that a lookup fetches a detail by key, a counts a list, and a check proves both.

  1. Clean list
  2. Look up the detail
  3. Build the pivot
  4. Check the total
  5. Share the answer
From a list to a trusted answer

HOW THE PICTURE MAPS

How each part of the picture matches the work
In the pictureIn the work
Finding a pupil's class from their nameA lookup formula
The pupil's name on the registerThe key the lookup matches
Counting pupils by class and by dayA pivot table
Asking if the class total fits the number of chairsA sanity check
Someone rubbing out a name on the registerA silent change to the sheet

WHERE THIS PICTURE STOPS

  • A paper register has one writer. A sheet can be changed by anyone, so checks matter more.
  • A teacher notices a name that is missing. A lookup may return a near match with no warning.
  • A register is small. A sheet can hold thousands of rows, so a human cannot read it all.

HOOK

Find it, count it, then check it.

REMEMBER IT THIS WAY

A contrast: two neighbours told apart by one test.

Ask whether you want one row's answer or a summary of many rows. A lookup fetches a value by key, while a groups and counts.

What each part of the trick stands for
In the trickWhat it stands for
LookupFinds a row in one table by a matching value, and returns a value from that row
Pivot tableGroups the rows of a list and counts or adds them

TELL A FRIEND

A lookup fetches a value from another table by key, and a groups and counts a list. A proves the total before you trust it.

OFTEN MIXED UP WITH SQL for BAs: GROUP BY and counts. That topic counts and totals rows with a query. This one does the same job with a lookup and a in a sheet.

Sources & standards — 4 sources
  1. Implementation-specific

    VLOOKUP function (Microsoft Support) ↗ — Microsoft · Syntax/arguments, exact versus approximate matching, common problems and best practices; selected full functional reference read 7 November 2026.

    Vendor help page. Says the fourth argument FALSE forces an exact match, that approximate match needs the first column sorted, and that a missing value returns #N/A. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Implementation-specific

    XLOOKUP function (Microsoft Support) ↗ — Microsoft · Syntax, exact default, first match, missing-match and Excel 2016/2019 availability note; functional reference read 7 November 2026.

    Vendor help page. Describes XLOOKUP as finding things in a table or range by row, with exact match as the default. Says it is not in Excel 2016 and Excel 2019. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Implementation-specific

    Create a PivotTable to analyze worksheet data (Microsoft Support) ↗ — Microsoft · Windows source-table expansion and refresh, value aggregation and format tips; selected sections read 7 November 2026.

    Vendor help page. Says the data needs one header row and no blank rows or columns, and that fields go into Rows, Columns and Values. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Implementation-specific

    Create & use pivot tables (Google Docs Editors Help) ↗ — Google · Computer instructions, source-range editing, source-cell automatic refresh and calculated fields; functional sections read 7 November 2026.

    Vendor help page. Says each source column needs a header and that the pivot table refreshes when the source cells change. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

PRACTISE AND KEEP

Sources for this topic — 14 sources
  1. Market practice

    VLOOKUP function (Microsoft Support) ↗ — Microsoft · VLOOKUP function (Microsoft Support): the fourth argument FALSE gives an exact match, and a missing value returns #N/A (search excerpt, page not opened)

    Vendor help page. Says the fourth argument FALSE forces an exact match, that approximate match needs the first column sorted, and that a missing value returns #N/A. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  2. Market practice

    Create a PivotTable to analyze worksheet data (Microsoft Support) ↗ — Microsoft · Create a PivotTable to analyze worksheet data (Microsoft Support): one header row, no blank rows or columns, and fields placed in Rows, Columns and Values (search excerpt, page not opened)

    Vendor help page. Says the data needs one header row and no blank rows or columns, and that fields go into Rows, Columns and Values. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  3. Market practice

    Power Query: building in checks and controls, part 1 (Institute of Chartered Accountants in England and Wales) ↗ — Institute of Chartered Accountants in England and Wales · Power Query: building in checks and controls, part 1 (Institute of Chartered Accountants in England and Wales): reconcile the input total with the output total, and a match does not prove correctness (search excerpt, page not opened)

    Professional body article. Suggests reconciling the input total with the final total, and warns that a matching total does not prove correctness. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  4. Market practice

    Create & use pivot tables (Google Docs Editors Help) ↗ — Google · Create & use pivot tables (Google Docs Editors Help): each column needs a header and the table refreshes when the source cells change (search excerpt, page not opened)

    Vendor help page. Says each source column needs a header and that the pivot table refreshes when the source cells change. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  5. Market practice

    XLOOKUP function (Microsoft Support) ↗ — Microsoft · XLOOKUP function (Microsoft Support): XLOOKUP finds an item in a table by row and is not in the oldest Excel versions (search excerpt, page not opened)

    Vendor help page. Describes XLOOKUP as finding things in a table or range by row, with exact match as the default. Says it is not in Excel 2016 and Excel 2019. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  6. Market practice

    How to look up values to the left using INDEX MATCH or XLOOKUP (WPS guide) ↗ — WPS · How to look up values to the left using INDEX MATCH or XLOOKUP (WPS guide): INDEX with MATCH can return a column to the left of the lookup column (search excerpt, page not opened)

    Secondary guide. Says VLOOKUP cannot return a column to the left of the lookup column and that INDEX with MATCH can, with IFERROR to hide the not-found error. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  7. Simplified educational illustration

    Payments Signal editorial teaching models — Payments Signal

    This site's own simplified teaching models. · Checked 2026-07-12

    What this simplifies: Daily List, its numbers and the people are invented. Real sheets hold thousands of rows. The formulas shown work in Excel and in Google Sheets with the same text. The pivot table counts were checked with COUNTIFS formulas in LibreOffice Calc, not in a pivot table screen. The order of the checks is common practice with no single standard.

    Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.

  8. Market practice

    Excel VLOOKUP not working: #N/A, #VALUE, #NAME (Ablebits) ↗ — Ablebits · Cause list from Ablebits 'VLOOKUP not working' and ONLC pages (search excerpts, pages not opened).

    Spaces and numbers stored as text cause #N/A. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  9. Market practice

    Top 10 pivot table problems (MyExcelOnline) ↗ — MyExcelOnline · Causes from MyExcelOnline 'top 10 pivot table problems', Excel Campus and SimpleSheets pages (search excerpts, pages not opened).

    Pivot defaults to Count with text or blanks; refresh; date grouping failures. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  10. Market practice

    Remove duplicate Excel records (TechRepublic) ↗ — TechRepublic · Guidance from TechRepublic and Ablebits duplicate-removal pages (search excerpts, pages not opened).

    Which columns define a duplicate depends on use. · Checked 2026-10-19

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  11. Implementation-specific

    VLOOKUP function (Microsoft Support) ↗ — Microsoft · Syntax/arguments, exact versus approximate matching, common problems and best practices; selected full functional reference read 7 November 2026.

    Vendor help page. Says the fourth argument FALSE forces an exact match, that approximate match needs the first column sorted, and that a missing value returns #N/A. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  12. Implementation-specific

    XLOOKUP function (Microsoft Support) ↗ — Microsoft · Syntax, exact default, first match, missing-match and Excel 2016/2019 availability note; functional reference read 7 November 2026.

    Vendor help page. Describes XLOOKUP as finding things in a table or range by row, with exact match as the default. Says it is not in Excel 2016 and Excel 2019. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  13. Implementation-specific

    Create a PivotTable to analyze worksheet data (Microsoft Support) ↗ — Microsoft · Windows source-table expansion and refresh, value aggregation and format tips; selected sections read 7 November 2026.

    Vendor help page. Says the data needs one header row and no blank rows or columns, and that fields go into Rows, Columns and Values. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

  14. Implementation-specific

    Create & use pivot tables (Google Docs Editors Help) ↗ — Google · Computer instructions, source-range editing, source-cell automatic refresh and calculated fields; functional sections read 7 November 2026.

    Vendor help page. Says each source column needs a header and that the pivot table refreshes when the source cells change. Search excerpt only. · Checked 2026-10-18

    Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.

Deepest material on this page: L4 — Standards & sources. Where a topic stops short of implementation depth, that is a deliberate coverage decision, not an oversight — see coverage.