Excel interview questions for data analysts
SheetFluent team · · 7 min read
Data analyst interviews test Excel at the level of real work: summarizing a table with COUNTIFS and SUMIFS, joining two tables with XLOOKUP or INDEX and MATCH, cleaning text and duplicates, and building a pivot table. The interviewer cares as much about why you chose a method as about the formula. Below are the questions that come up often, a model answer for each, and a COUNTIFS task to try now.
=COUNTIFS(A2:A7,"Web",B2:B7,">100")
What analyst interviews look for
An analyst's Excel round is less about knowing many functions and more about handling data correctly. Expect a messy table, a question like "how many web orders were over 100 units last month?", and follow-up questions about your choices.
Interviewers listen for three things. First, that your formulas point at cells and ranges, not typed numbers, so they still work when the data changes. Second, that you check your result, for example by filtering the table and counting by eye. Third, that you know where Excel stops and another tool, such as a database or Power Query, would be a better fit.
Most rounds cover the same five areas, in this order: conditional totals and counts, lookups, cleaning, summarizing with pivot tables, and explaining a result.
Conditional totals and counts
How do you count rows that meet two conditions? Use COUNTIFS with pairs of range and rule. =COUNTIFS( counts web orders over 100 units.
Read it as "count the rows where column A is Web and column B is more than 100". Comparison rules like ">100" go in quotes. A rule can also point at a cell, such as ">", so the threshold can change without editing the formula.
What is the difference between SUMIF and SUMIFS? SUMIF takes one condition, with the range to add last. SUMIFS takes any number of conditions, with the range to add first: =SUMIFS(. Many analysts use SUMIFS even for one condition, so the argument order never changes.
How do you get an average with conditions? AVERAGEIF and AVERAGEIFS work the same way. If nothing matches, they return #DIV/0!, so wrap them in IFERROR when the report must stay clean.
Why might SUMIFS return 0 when you expect a total? The most common cause is numbers stored as text, often from an export. Others are extra spaces in the category names. (Ranges of different sizes don't give 0: SUMIFS returns #VALUE!.)
=COUNTIFS(A2:A7,"Web",B2:B7,">100")See also: Count with two conditions using COUNTIFS, Add up with two conditions using SUMIFS
Lookups and joining tables
How do you bring a column from one table into another? With a lookup. In current Excel and Google Sheets, =XLOOKUP( finds the customer ID from A2 in the other sheet and returns its region. Exact match is the default.
When would you use INDEX and MATCH instead? When the file must work in older Excel versions, or for a two-way lookup: MATCH finds the row, a second MATCH finds the column, and INDEX returns the cell where they cross.
What happens when a lookup finds nothing? VLOOKUP and INDEX and MATCH return #N/A. XLOOKUP takes an optional fourth part for the not-found result: =XLOOKUP(. Say that you would look at the missing IDs before hiding them, because they often point to a data problem.
What is wrong with VLOOKUP without FALSE? It falls back to an approximate match, which assumes the first column is sorted. On unsorted IDs it can quietly return the wrong row. That is a classic interview trap.
See also: Look up in any direction with XLOOKUP, XLOOKUP and INDEX MATCH with multiple criteria in Excel
Cleaning data
How do you find duplicates? Add a helper column with =COUNTIF( and filter for values over 1. Then decide with the business which copy to keep. To delete them, use Data > Remove Duplicates, and choose the columns that define a duplicate.
How do you fix text that won't match? TRIM removes extra spaces, and UPPER, LOWER or PROPER make capitals consistent. VALUE turns numbers stored as text back into numbers. SUBSTITUTE swaps one character for another, such as removing dashes from phone numbers.
How do you split a code like NY-2041? LEFT, RIGHT and MID take characters by position. FIND or SEARCH locate the dash, so =LEFT( returns the part before it, whatever its length.
Pivot tables and summaries
When would you use a pivot table instead of formulas? For exploring: you can drag fields to see totals by region, then by month, in seconds. Formulas like SUMIFS suit a report with a fixed layout that must update automatically or feed other calculations.
How do you refresh a pivot table when data changes? Right-click it and choose Refresh. If you keep the source as an Excel table (Ctrl+T), new rows are included when you refresh.
How would you show the top five products? In a pivot table, sort by the value and use a Top 10 filter set to 5. Without a pivot table, sort a copy of the data by the value, largest first, and explain how you would handle ties.
Explaining your work
Most analyst rounds end with "what does this tell us?" Give the number, the comparison, and one caveat: "Web orders over 100 units were 2 of 6 orders. That is a small sample, so I would check last quarter before drawing a conclusion."
If the interviewer asks what you would do next, suggest one concrete step: split the result by month, compare it with another channel, or flag the rows that look unusual for a closer look.
Be ready to say how you checked the result. Filtering the table and counting by eye, or comparing a SUMIFS total with a pivot table, are both good answers. Interviewers trust an analyst who checks.
How to prepare
Take a public dataset, or a table you make yourself with 50 rows, and set yourself five questions: two counts with conditions, one total, one lookup from a second sheet, and one cleaning task. Time yourself. Then explain each answer out loud as if to an interviewer. Record yourself once, and listen for steps you skipped or words you could make plainer.
SheetFluent's timed practice sets give you short formula tasks like these, with feedback on the exact mistake when a formula is off.
Try it here
Type the formula into the answer cell, then press Enter or Check.
In D2, count the Web orders with more than 100 units. Use COUNTIFS.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Channel | Units | Web, >100 | |
| 2 | Web | 120 | (answer cell) | |
| 3 | Store | 80 | ||
| 4 | Web | 100 | ||
| 5 | App | 95 | ||
| 6 | Web | 150 | ||
| 7 | Store | 110 |
In D2, count the Web orders with more than 100 units. Use COUNTIFS.
Start practicingQuestions people ask
How much Excel does a data analyst need to know?
Enough to clean a table, total and count with conditions, join tables with a lookup, and summarize with a pivot table. Many roles also expect SQL or a BI tool, but Excel is often the first screen.
Are pivot tables always part of an analyst Excel test?
Very often. If the job post mentions reporting or dashboards, practice building one, changing its grouping and refreshing it.
Is XLOOKUP accepted in interviews?
Usually, if their Excel version has it. Ask which version the test uses, and know INDEX and MATCH as the backup that works everywhere.
What is the most common mistake in live analyst tasks?
Typing a number into a formula instead of pointing at a cell, and ranges that stop one row short. Both give answers that look right until the data changes.
Keep practicing
Related articles
- Excel interview questions and answers7 min read
The Excel questions interviewers ask most, from references to lookups, with short answers and formulas like =SUMIF(A2:A7,C2,B2:B7).
Look up a value that matches two conditions in Excel: join them with & in a helper column, then use XLOOKUP or INDEX MATCH.
Find duplicates in Excel with =COUNTIF($A$2:$A$8,A2)>1: TRUE marks every value that appears more than once. Highlight or count them.
- How to remove duplicates in Excel6 min read
Remove duplicate rows in Excel with the Remove Duplicates button, or mark repeats first with =COUNTIF($A$2:A2,A2)>1.
MIS executive interview questions on VLOOKUP, SUMIFS, pivot tables and cleaning data, with answers and a live task.