Hands-On Excel Excel interview questions

Excel interview questions and answers

Interviewers may ask about Excel out loud, before a sheet task or instead of one. Here are 38 common questions with short answers, by level and by role. Each answer links to a free challenge where you do it on an Excel-style sheet, so you can say what you did, not just what you read.

By Updated

Keep spoken answers short and concrete: what the function does, one example, and the mistake to avoid. If you can, say how you would check the result.

Basic questions

For any job that uses Excel, including admin and entry-level roles.

What is the difference between a relative and an absolute reference?

A relative reference like A1 shifts when you copy the formula; an absolute one like $A$1 stays put. You lock the cell every row needs, such as a tax rate or a lookup table.

Practise it: Lock it with $
What is the difference between COUNT, COUNTA and COUNTBLANK?

COUNT counts cells with numbers, COUNTA every cell that isn't empty, text included, and COUNTBLANK the empty ones.

Practise it: Count what's there
Why use SUM instead of typing the total?

A formula follows the data. A total typed in from a calculator is right until one number changes, and whoever checks the file can see it isn't a formula.

Practise it: Add it up
How do you work out a percentage of a total?

Divide each line by the total, lock the total with $ so it doesn't slide when you fill down, and format the result as a percentage: =B2/$B$7.

Practise it: Percent of a total
How do you calculate a percent change?

New minus old, divided by old: =(C2-B2)/B2. A negative result is a fall.

Practise it: Up or down by how much?
How would you show "Pass" or "Fail" from a score?

=IF(B2>=50, "Pass", "Fail"). Say how you would check the edge: someone on exactly 50 should pass, so it is >=, not >.

Practise it: Pass or fail?
How do you sort a table without mixing up the rows?

Click one cell in the column to sort by, then Data → Sort. If you select just that column, Excel shows a Sort Warning with "Expand the selection" chosen; picking "Continue with the current selection" sorts that column on its own, and every row ends up with someone else's number.

Practise it: Sort without breaking rows
How do you filter a list, and why might the filter miss rows?

Ctrl + Shift + L or Data → Filter. An empty row ends the list, so rows below it aren't filtered; select the whole list first.

Practise it: Filter to what matters
Which keyboard shortcuts do you use most?

Name a few you really use, for example Ctrl + arrow to jump to the end of the data, Ctrl + Shift + arrow to select it, Ctrl + D to fill down and F4 to add the $.

Excel shortcuts, with drills

Intermediate questions

For analyst, finance, accounting and operations roles.

VLOOKUP, XLOOKUP or INDEX MATCH: which do you use?

XLOOKUP when the file is on Excel 2021 or 365: it can look left, matches exactly by default and has a built-in "not found" value. INDEX MATCH when the file has to work in older versions. VLOOKUP when you maintain a sheet that already uses it, with FALSE as the last argument.

Practise it: XLOOKUP, the modern way
Why would a VLOOKUP return #N/A when the value is clearly there?

Usually one of four things: a missing FALSE, a stray space, a number stored as text on one side, or a table range that wasn't locked and slid down when the formula was copied.

Practise it: Mistake hunt: #N/A everywhere
What does the last argument of VLOOKUP do?

FALSE finds an exact match. TRUE finds the band a number falls into, such as a commission rate, and needs the first column sorted smallest first.

Practise it: Find the right bracket
SUMIF or SUMIFS?

SUMIFS takes any number of conditions, SUMIF one. The argument order differs: SUMIF puts the range to add up last, SUMIFS puts it first.

Practise it: Add up with two conditions
How do you count rows that meet two conditions?

COUNTIFS, with a range and a condition for each: =COUNTIFS(B2:B13, "North", C2:C13, "Shipped"). For "either of two values", add two counts.

Practise it: Count with two conditions
When would you use IFERROR, and when not?

To show a clean message where a missing value is expected, such as a code that isn't on the list. Not around a whole formula to make errors go away, because it hides real mistakes too.

Practise it: Catch the error, not the bug
How would you find which items are in one list but not the other?

COUNTIF each item against the other list and flag the ones that return 0, or look each one up and flag the not-found results.

Practise it: Which invoices are missing?
Why might a total be a cent off?

The cells show rounded numbers but store more decimals, and the total adds what is stored. ROUND(…, 2) on each line changes the stored value; a 0.00 format only changes the look.

Practise it: What you see vs what's stored
Why does SUM ignore some of the numbers?

They are probably numbers stored as text: they sit on the left of the cell, often with a green triangle. SUM skips text. Convert them, for example with VALUE or Text to Columns.

Practise it: Mistake hunt: numbers stored as text
Pivot table or SUMIFS?

A pivot table is quicker to build and rearrange, but needs a refresh when the data changes. SUMIFS updates by itself and can sit anywhere in a report. Check that a pivot says Sum, not Count.

Practise it: Your first pivot table

Advanced questions

For senior analyst and modelling roles, or tests labelled "advanced".

How do you write one formula that fills a whole table, right and down?

Mixed references: lock the column of the values down the side ($A2) and the row of the values across the top (B$1), then fill in both directions.

Practise it: Lock just the row or the column
Nested IF, IFS or a lookup table for bands?

For two or three bands, IFS or a nested IF reads fine. For more, put the bands in a small table and look them up with VLOOKUP(…, TRUE) or XLOOKUP, so changing a band means editing a cell, not every formula.

Practise it: Grade bands with nested IF
How do you look up a value to the left of the search column?

VLOOKUP can't. INDEX(return_range, MATCH(value, search_range, 0)) can, in any version, and so can XLOOKUP in Excel 2021 or 365.

Practise it: INDEX and MATCH together
How do you get a list of unique values, and count them?

=UNIQUE(B2:B13) spills the distinct list into the cells below; =COUNTA(UNIQUE(B2:B13)) counts it. In older versions, Remove Duplicates on a copy or a pivot table.

Practise it: One of each, then the totals
What does #SPILL! mean?

A formula that returns a list, such as UNIQUE, needs empty cells to spill into, and one of them has something in it. Clear it, or move the formula.

Practise it: One of each, then the totals
How would you find which category grew the most?

Total each category per period, work out the change in a column, then name the row with the largest increase: INDEX(names, MATCH(MAX(changes), changes, 0)). "Grew most" and "changed most" are different questions.

Practise it: Which category went up most?
How do you build a sheet someone else can check?

Inputs such as rates in labelled cells, no numbers typed into formulas, one formula filled down each column, and steps in separate columns rather than one long formula.

Practise it: Mistake hunt: hard-coded numbers

Then answer them on a sheet, against the clock

Knowing the answer and doing it in a few minutes are different things. Each timed test is a set of small tables on data you haven't seen, with no hints. Any formula that gets the right result counts.

Free, no sign-up. Your score is free; the full report, with what went wrong on each task and the lesson for it, comes with Pro.

Questions by role

On top of the ones above, each kind of job brings its own.

Data analyst

Why would COUNTIF miss rows that look the same?

Some cells probably have spaces you can't see, so "Leeds " isn't Leeds. Clean the column with TRIM and count the clean column.

Practise it: Stray spaces that break a count
How do you split a full name into first and last name?

Find the space with FIND(" ", A2), take everything before it with LEFT and everything after it with MID. In Excel 365, TEXTBEFORE and TEXTAFTER do it in one step each.

Practise it: Split first and last names

What a data analyst Excel test checks, with a timed practice test

Finance

How do you get the last day of the month, and the working days until then?

EOMONTH(date, 0) is the end of that month, EOMONTH(date, 1) the end of the next. NETWORKDAYS(start, end) counts Monday to Friday, both ends included.

Practise it: Month ends and working days
How do you calculate compound annual growth (CAGR)?

=(end/start)^(1/years)-1. For 100 growing to 150 over 3 years that is about 14.5% a year, not 50% divided by 3.

What a finance Excel test checks, with a timed practice test

Accounting

How would you build an aging report?

Days overdue from a fixed "as of" date in a cell, not TODAY(), with negatives turned into 0: =MAX(0, $H$1-B2). Then a band for each invoice from a small table with VLOOKUP(…, TRUE), and a total per band.

Practise it: Days overdue and aging bands
How do you total every account code that starts with 4?

=SUMIF(A2:A50, "4*", B2:B50). The wildcard only matches codes stored as text; for numeric codes, use a range such as ">=4000" and "<5000" in SUMIFS.

What a accounting Excel test checks, with a timed practice test

Admin and office

How would you look up a phone extension or a price from a list?

=VLOOKUP(D2, A2:B6, 2, FALSE): what to find, where, which column to return, and FALSE for an exact match. Point at the cell with the name instead of typing it in.

Practise it: Look it up
How do you select a whole column of data quickly?

Click the first cell and press Ctrl + Shift + ↓ (⌘ + Shift + ↓ on a Mac). It stops at the last filled cell, or at the first gap.

Practise it: Select to the end in one move

What a admin Excel test checks, with a timed practice test

Questions about your own work

These have no formula to practise, but they come up as well.

Tell us about a spreadsheet you built.

Pick one that solved a real problem. Say what the data was, which formulas you used, how you checked the numbers and what changed because of it.

How do you check a spreadsheet someone else built?

Show the formulas (Ctrl + `), look for numbers typed in among them, check that ranges cover every row, and change an input to see whether the totals follow.

How good are you at Excel?

Answer with what you can do, not a label. "I use SUMIFS and XLOOKUP every week and build pivot tables for the monthly report" says more than "advanced", which means different things to different people.

What do you do when you don't know how to do something in Excel?

Say how you find out and how you check it: look it up, try it on a small copy of the data, and check the result by hand on a few rows before trusting it.

More on Excel tests

What Excel interview tests check, the formats you may get and the testing companies. All the practice tests on one page, or a ten-minute quiz to start with.

FAQ

What are the most common Excel interview questions?
The ones on this page: $ references, lookups (VLOOKUP, XLOOKUP, INDEX and MATCH), totals and counts with conditions (SUMIF, SUMIFS, COUNTIFS), IF, pivot tables and errors such as #N/A. Which ones you get depends on the job.
How do I prepare for Excel interview questions?
Practise saying each answer in a sentence or two with an example, then do the task on a sheet, so you can explain what you did. A timed practice test shows which ones you can do under time pressure.
Will there be a practical Excel test as well?
There may be: a timed online test, a file to complete, or a task at the interview. Some employers only ask questions. Ask the recruiter which.
Do I need to know VBA for an Excel interview?
If the job ad mentions macros or automation, ask what the test covers. If it doesn't, spend the time on formulas and pivot tables first.
Are these the questions a particular employer asks?
No. Hands-On Excel is not connected to any employer or testing company. These are questions about the skills Excel tests and interviews are built on, with the answers checked against how Excel works.