Quick answer

To prepare for Excel questions in an interview, make sure you can explain and show the everyday skills of office work: totals and counts with conditions (SUMIFS, COUNTIFS), lookups (XLOOKUP or VLOOKUP), decisions with IF, absolute references such as $E$1, pivot tables, and cleaning up a messy list. Below, each skill comes as a question with an answer you could give in a sentence or two, and a link to practice it in a real sheet.

A good answer to an Excel question is short and concrete: what the feature does, the formula or the menu, and when you’d use it at work. If you’re asked to show it on a sheet, the same points apply, so practice each one in Excel until you can do it without notes.

Formulas and references

What’s the difference between a relative and an absolute reference?

A relative reference such as B2 moves when you copy the formula, so each row uses its own cells. An absolute reference such as $E$1 stays fixed, which you need when every row uses the same cell, such as a tax rate or an exchange rate. Press F4 while typing a reference to add the dollar signs (Cmd+T on a Mac).

B2 moves down the rows; $E$1 stays on the rate. Without the dollar signs, the copy in C3 would multiply by E2, an empty cell, and every row after the first would show 0. In C3, =B3*$E$1 returns $486.00. Formula in C: C2 =B2*$E$1, C3 =B3*$E$1, C4 =B4*$E$1, C5 =B5*$E$1.

What’s the difference between COUNT and COUNTA?

COUNT counts the cells that hold numbers, and COUNTA counts the cells that aren’t empty, text included. COUNTBLANK counts the empty ones.

COUNT counts numbers; COUNTA counts anything that isn't empty. The Pending cell is text, so only COUNTA counts it, and neither counts the empty B6. =COUNT(B2:B7): in B8, =COUNT(B2:B7) returns 4. =COUNTA(B2:B7): in B8, =COUNTA(B2:B7) returns 5.

What’s the difference between a formula and a function?

A formula is anything that starts with =, such as =B2*C2. A function is a named calculation used inside a formula, such as SUM in =SUM(B2:B10).

Lookups

How does VLOOKUP work, and how is XLOOKUP different?

VLOOKUP searches the first column of a table for a value and returns the cell from the column you name by number, as in =VLOOKUP(A2,$F$2:$H$50,3,FALSE), where FALSE asks for an exact match. XLOOKUP takes the column to search and the column to return separately, as in =XLOOKUP(A2,$F$2:$F$50,$H$2:$H$50), matches exactly by default, can look to the left and has its own argument for a missing value. XLOOKUP vs VLOOKUP covers the differences in detail.

A VLOOKUP returns #N/A, but the value is in the list. Why?

Usually the two values aren’t identical to Excel, because one ends with a space or one is a number stored as text. The other common cause is a missing FALSE at the end of the formula, which makes VLOOKUP look for an approximate match. #N/A in Excel goes through each cause and its fix.

Totals, counts and decisions

How do you total sales for one region and one product?

With SUMIFS, which adds the rows that meet every condition: =SUMIFS(D2:D500,B2:B500,"North",C2:C500,"Chairs"). COUNTIFS counts the matching rows the same way, and SUMIF and COUNTIF handle a single condition.

How do you write an IF with two conditions?

Put AND or OR inside IF: =IF(AND(B2>=10000,C2>=4),"Bonus","No bonus") needs both tests to pass, and OR needs either one. For several bands, such as grades or tiers, IFS reads more easily than nested IFs.

How do you hide an error such as #DIV/0!?

With IFERROR: =IFERROR(B2/C2,0). A good answer adds that it should be used only where an error is expected, because IFERROR also hides real mistakes such as a misspelled function.

Analyzing data

What is a pivot table, and when would you use one?

A pivot table summarizes a list without formulas: it groups the rows that share a value, such as a region, and totals or counts a number column for each group. You’d use it to answer questions such as sales by region and month from a long sales log, and you refresh it when the data changes. How to make a pivot table has the steps.

How do you highlight values above a target?

With conditional formatting: Home > Conditional Formatting > Highlight Cells Rules > Greater Than. To color a whole row, use a formula rule such as =$D2>5000. How to use conditional formatting explains both.

Cleaning data

How do you remove duplicates?

Select a cell in the list and choose Data > Remove Duplicates, ticking only the columns that define a duplicate. Excel keeps the first row of each set. To check first, flag duplicates with COUNTIF. See how to remove duplicates in Excel, or practice it in the free lesson Remove duplicates and choose what counts as a copy.

A total looks too low. What would you check?

Numbers stored as text, which SUM skips and which sit on the left of their cells; a SUM range that stops before the last rows; and hidden or filtered rows. Convert to Number fixes the first, and widening the range fixes the second. Fix numbers stored as text and hidden characters goes deeper into the first.

How do you clean names that have extra spaces?

With TRIM, which removes spaces at the start and end and leaves single spaces between words: =TRIM(A2), then paste the results as values over the original column.

Working faster

Which shortcuts do you use most?

Name a few you use, and what you use them for: Ctrl+Down to jump to the end of the data, Ctrl+Shift+Down to select it, Ctrl+D to fill down, Alt+= for AutoSum, Ctrl+Shift+L for filters and F4 for dollar signs. Some of the keys differ on a Mac, and Excel shortcuts has both sets.

How do you keep the headings visible in a long sheet?

View > Freeze Panes > Freeze Top Row, or select the cell below and to the right of what should stay and choose Freeze Panes. See how to freeze panes.

What is a macro, and is it safe to run one?

A macro is a set of steps Excel can repeat for you, recorded with the macro recorder or written in VBA. A workbook keeps its macros only when it’s saved as an Excel Macro-Enabled Workbook (.xlsm). Because a macro can also do harm, open one from someone else only when you trust where it came from; the free lesson What macros do, and how to open them safely covers both.

How to practice for an Excel test

Reading the answers helps, but a practical test means doing the work in a sheet. Work through short exercises that check your formula as you go, and time yourself on a few: a SUMIFS, a lookup with a missing value, a percentage change, a pivot table by region.

The free Excel Foundations course starts with formulas and references, and the free lessons Decide with IF, Total by several conditions with SUMIFS, Look up a value with VLOOKUP and Summarize a list with a PivotTable cover the rest of the list above.

Frequently asked questions

What Excel skills should I review before an interview?

Review SUMIFS and COUNTIFS, a lookup (XLOOKUP or VLOOKUP), IF with AND or OR, absolute references, pivot tables, conditional formatting and cleaning data with TRIM and Remove Duplicates. Those cover most of what everyday office work in Excel needs.

How do I prepare for an Excel test?

Practice in a real sheet: build a SUMIFS, a lookup with a missing value, a percentage change and a pivot table from a short list. Time a few of them so you’re comfortable working at speed.

How do I explain VLOOKUP in an interview?

Say that VLOOKUP finds a value in the first column of a table and returns a value from another column of the same row, and give an example, such as a product code that brings back its price. Mention FALSE for an exact match, and that XLOOKUP does the same job more safely.

What is an absolute reference in Excel?

A reference with dollar signs, such as $E$1, that stays on the same cell when you copy the formula. You use it for a value every row needs, such as a rate; F4 adds the dollar signs.

How do I explain a pivot table in an interview?

Describe it as a summary built by dragging fields: rows for the groups, such as regions, and values for what to total or count, such as sales. Add that it reads a copy of the data, so it needs refreshing when the data changes.