IT Career Guide
Search

Excel Interview Questions: 30 Answers with Formulas

Paper chart with ruler and pen showing data analysis

Excel interview questions usually test lookup functions, conditional formulas, pivot tables, cell references, data cleaning and charts, because these are the tasks analysts and MIS executives do every day. Whether you are applying for a data analyst, MIS, finance or operations role, expect a mix of concept questions and a short practical test on a sample sheet. Here are 30 Excel interview questions with clear answers and formulas you can try right away.

Key takeaways

  • Know VLOOKUP, INDEX with MATCH and XLOOKUP, and when each one is the better choice.
  • Absolute references such as $A$1 stay fixed when you copy a formula, while relative references change.
  • SUMIFS, COUNTIFS and AVERAGEIFS handle multiple conditions in one formula.
  • Pivot tables summarise large data in seconds and are almost always part of a practical Excel test.
  • Newer functions such as XLOOKUP, FILTER and UNIQUE need Excel 2021 or Microsoft 365, so mention the version in interviews.

Basic Excel interview questions

1. What is the difference between a formula and a function?

A formula is any expression that starts with an equals sign, such as =A1+B1. A function is a built-in named operation, such as SUM or IF, that you use inside a formula.

2. What are relative, absolute and mixed references?

TypeExampleBehaviour when copied
RelativeA1Row and column both change
Absolute$A$1Nothing changes
Mixed$A1 or A$1Only the part without the dollar sign changes

Press F4 while editing a reference to cycle through these types.

3. What is the order of operations in Excel formulas?

Parentheses first, then negation, percentages, exponents, multiplication and division, then addition and subtraction. Use parentheses to make your intent clear.

4. What is the difference between COUNT, COUNTA and COUNTBLANK?

COUNT counts cells with numbers, COUNTA counts non-empty cells of any type, and COUNTBLANK counts empty cells in a range.

5. How do you freeze the header row?

Go to View, then Freeze Panes, then Freeze Top Row. To freeze rows and columns together, select the cell below and to the right of them and choose Freeze Panes.

6. What is the difference between a workbook and a worksheet?

A workbook is the Excel file. A worksheet is a single sheet or tab inside the workbook.

Lookup function questions

7. How does VLOOKUP work?

=VLOOKUP(E2, A2:C100, 3, FALSE)

It searches for E2 in the first column of A2:C100 and returns the value from the third column of the matching row. FALSE means exact match.

8. What are the limitations of VLOOKUP?

It can only look to the right of the lookup column, breaks if columns are inserted because the column number is fixed, and returns only the first match.

9. How does INDEX with MATCH work?

=INDEX(C2:C100, MATCH(E2, A2:A100, 0))

MATCH finds the row position of E2, and INDEX returns the value at that position in C2:C100. It can look left or right and does not break when columns are inserted.

10. What is XLOOKUP and why is it better?

=XLOOKUP(E2, A2:A100, C2:C100, "Not found")

XLOOKUP looks in any direction, defaults to exact match, has a built-in if-not-found value and can search from the last item. It is available in Excel 2021 and Microsoft 365, so check which version the company uses.

11. What is HLOOKUP?

HLOOKUP works like VLOOKUP but searches the first row of a range and returns a value from a given row below it.

Logical and conditional formula questions

12. How do you write a nested IF?

=IF(B2>=75, "Distinction", IF(B2>=60, "First class", "Pass"))

In newer versions, the IFS function makes this easier to read.

13. How do you combine conditions with AND and OR?

=IF(AND(B2>=60, C2="Yes"), "Eligible", "Not eligible")

14. What is the difference between SUMIF and SUMIFS?

SUMIF handles one condition. SUMIFS handles one or more conditions, and its sum range comes first.

=SUMIFS(D2:D500, B2:B500, "Pune", C2:C500, "Laptop")

15. How do you count rows that meet two conditions?

=COUNTIFS(B2:B500, "Pune", D2:D500, ">50000")

16. How do you hide errors in a formula?

Wrap the formula in IFERROR, for example =IFERROR(VLOOKUP(E2, A:C, 3, FALSE), 0). Use it carefully, because it can also hide real mistakes.

Text and date function questions

17. How do you join text from two cells?

Use the ampersand, =A2&" "&B2, or CONCAT. TEXTJOIN joins a range with a delimiter and can skip blanks.

18. How do you extract part of a text?

LEFT, RIGHT and MID extract characters, while FIND or SEARCH give positions. For example, =LEFT(A2, FIND("@", A2)-1) returns the part of an email before the at sign.

19. How do you remove extra spaces?

TRIM removes leading, trailing and repeated spaces between words. CLEAN removes non-printable characters, which often appear in data copied from other systems.

20. How do you calculate the number of days or months between dates?

Subtract the dates for days, use NETWORKDAYS for working days and DATEDIF(start, end, "m") for completed months.

21. How do you show a date in a specific format inside text?

="Report date: "&TEXT(A2, "dd-mmm-yyyy")

Data analysis feature questions

22. What is a pivot table?

A pivot table summarises data by dragging fields into Rows, Columns, Values and Filters. For example, you can see total sales by region and month without writing formulas. Remember to refresh it after the source data changes.

23. What is the difference between a pivot table and a pivot chart?

A pivot table shows summarised numbers. A pivot chart is a chart linked to a pivot table, so it updates when you filter or rearrange the pivot.

24. What are slicers?

Slicers are clickable filter buttons for pivot tables and Excel tables. They make dashboards easy for non-technical users.

25. What is conditional formatting?

It changes a cell’s look based on rules, such as highlighting values below target in red, showing data bars, or highlighting duplicate values.

26. How do you remove duplicates?

Select the data and use Data, then Remove Duplicates, choosing the columns that define a duplicate. In newer versions, =UNIQUE(A2:A500) returns a de-duplicated list without changing the source.

27. What is data validation?

Data validation restricts what users can enter, for example a dropdown list of cities or dates only within this year. It improves data quality at the point of entry.

28. Why convert a range into an Excel table?

Tables (Ctrl+T) expand automatically when you add rows, keep formatting consistent, support structured references like Sales[Amount] and work smoothly with pivot tables.

29. What is Power Query?

Power Query, found under Data, then Get and Transform, imports and cleans data with recorded steps. You can combine files, split columns and fix data types, then refresh the same steps on new data.

30. What are Goal Seek and What-If Analysis?

Goal Seek finds the input needed to reach a target result, such as the sales needed for a profit goal. What-If Analysis also includes Scenario Manager and Data Tables to compare different inputs.

Practical Excel test tips

  • Clean the data first: trim spaces, fix dates and check for duplicates.
  • Convert the data to a table before building pivots.
  • Label your outputs clearly and keep calculations on a separate sheet.
  • Learn shortcuts such as Ctrl+Shift+L for filters, Ctrl+Arrow to jump and Alt+= for AutoSum.
  • Explain your steps out loud; interviewers value clear thinking as much as the final number.

For more practice, use our list of Excel formulas for data analysis. Since many analyst interviews pair Excel with SQL, also revise SQL interview questions for data analysts, and follow the data analyst roadmap for the full skill set.

Frequently asked questions

Which Excel topics are most important for interviews?

Lookups, SUMIFS and COUNTIFS, IF logic, pivot tables, cell references, conditional formatting and basic charts cover most interview questions for analyst and MIS roles.

Is VLOOKUP still asked in interviews?

Yes. Many companies still use older Excel versions and older files, so interviewers ask VLOOKUP and often follow up with INDEX MATCH or XLOOKUP.

Do I need macros and VBA for a data analyst interview?

Not usually for entry-level roles. Some MIS and reporting roles ask for basic macros, so check the job description and learn VBA basics if it is mentioned.

How can I practise Excel for interviews?

Download a public sales or HR dataset, then answer business questions with formulas and pivot tables and build a one-page dashboard. Time yourself to simulate a test.

Explore more guides in our data analytics category.

Other articles

Radium4 — IT training blog

Practical, plain-English guides for DevOps, cloud, data, Python, testing and security learners.