What interviewers actually check in an Excel interview
An Excel interview is not about knowing every function name. The interviewer is checking whether you can look up the right value quickly, clean messy data, build a pivot table that answers a business question, and explain your formula choices. The six areas below come up in almost every Excel interview for data analyst and MIS roles.
Lookup and reference
VLOOKUP, INDEX-MATCH, XLOOKUP, and knowing when to use which. Interviewers test whether you understand relative vs absolute references.
Conditional aggregation
SUMIFS, COUNTIFS, AVERAGEIFS with multiple criteria. These are the backbone of every MIS report.
Data cleaning
TRIM, PROPER, TEXTJOIN, removing duplicates, Flash Fill, Text-to-Columns and Power Query for the messy sheets that come from other teams.
Pivot tables
Grouping, calculated fields, slicers, timeline, GETPIVOTDATA and pivot charts. This is where most interview practicals live.
Formulas under time pressure
Writing a working formula on the spot for a question you have never seen — often with a short dataset in front of you.
Dashboard and presentation
Conditional formatting, data validation, named ranges, charts and a clean layout that a business user can read without explanation.
Excel interview questions for freshers
These are the questions that come first in an Excel interview for a fresher or a first MIS role. Answer with a short definition, then a one-line example of where you have used it.
Q01 What are relative, absolute and mixed cell references? +
Relative reference — A1. Both
column and row change when you copy the formula.
This is the default.
Absolute reference — $A$1.
Both column and row stay locked when you copy.
Used for fixed values like tax rates and
lookup tables.
Mixed reference — $A1 or
A$1. One part is locked. $A1
locks the column; A$1 locks the row. Used
in multiplication tables and grid calculations.
Press F4 while editing a reference to cycle through relative, absolute and both mixed forms.
Q02 What is VLOOKUP, and what are its four arguments? +
VLOOKUP searches for a value in the first column of a range and returns a value from a specified column in the same row.
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Four arguments:
- lookup_value — the value to search for, e.g.
A2. - table_array — the range to search, e.g.
Products!A:C. - col_index_num — which column in that range to return, e.g.
3. - range_lookup —
FALSEfor exact match (almost always),TRUEfor approximate match.
Q03 What are the limitations of VLOOKUP? +
- Only looks right. The lookup column must be the first column of the range. You cannot return a value that is to the left.
- Breaks on column insert. If a column is inserted inside the range, the hard-coded column index becomes wrong.
- Case-insensitive and default approximate. Forgetting FALSE gives a silently wrong result.
- Slower on large datasets. INDEX-MATCH or XLOOKUP are faster on tens of thousands of rows.
- Returns #N/A when not found, without a clean built-in alternative.
These limitations are the reason interviewers ask about INDEX-MATCH and XLOOKUP next.
Q04 What is the difference between VLOOKUP and INDEX-MATCH? +
| VLOOKUP | INDEX-MATCH |
|---|---|
| Looks only to the right of the lookup column | Can look left, right, up or down |
| Column index breaks when a column is inserted | Reference stays stable |
| Reads one function with 4 arguments | Two functions nested — more readable once known |
| Slightly slower on very large ranges | Faster on large datasets |
| Simpler for beginners | Preferred in professional MIS work |
// VLOOKUP — return price for the product in A2
=VLOOKUP(A2, Products!A:C, 3, FALSE)
// INDEX-MATCH — same result, more stable
=INDEX(Products!C:C, MATCH(A2, Products!A:A, 0))
In an interview, say: "I use VLOOKUP for quick one-off lookups, and INDEX-MATCH where the data will change or the lookup column is to the right."
Q05 What is SUMIFS, and how is it different from SUMIF? +
SUMIFS adds values in a range when one or more conditions are met. It is the modern version of SUMIF with support for multiple criteria.
// One condition
=SUMIF(B:B, "North", D:D)
// Two conditions — SUMIFS puts the sum range first
=SUMIFS(D:D, B:B, "North", C:C, "Electronics")
Note the argument order changes between SUMIF and SUMIFS. In SUMIF, the range comes first; in SUMIFS, the sum_range comes first, then pairs of criteria_range and criteria.
Q06 What is COUNTIFS, and how do you count with two conditions? +
COUNTIFS counts rows that meet one or more criteria. Each pair of range and criteria is an AND condition — the row must meet all of them.
// Count orders from the North region in Electronics
=COUNTIFS(B:B, "North", C:C, "Electronics")
// Count rows where sales is greater than 5000
=COUNTIFS(D:D, ">5000")
Common mistake: writing COUNTIFS with the
criteria before the range. The pattern is
always range, criteria, range, criteria.
Q07 What is IFERROR, and when should you use it? +
IFERROR returns a specified value when a formula results in an error — #N/A, #VALUE!, #DIV/0!, #REF! or #NUM!.
// Show blank instead of #N/A
=IFERROR(VLOOKUP(A2, Products!A:C, 3, FALSE), "")
// Show a message for any error
=IFERROR(100/B2, "Not available")
Use it at the top level of a formula to clean the report output. Do not wrap it around every inner function — you will hide real problems and make debugging harder.
Q08 What is a pivot table, and what are its four areas? +
A pivot table summarises a large table interactively — group by one field, calculate against another, and change the layout by dragging fields.
Four areas:
- Rows — the group-by field on the left, e.g. Region.
- Columns — the group-by field across the top, e.g. Category.
- Values — the numbers to aggregate, e.g. Sum of Sales. Default is SUM for numbers, COUNT for text.
- Filters — a top-level filter, e.g. Year.
Modern Excel adds Slicers and Timelines as better-looking filters. Use them for dashboards; use the Filters area for one-off analysis.
Q09 What is the difference between COUNT, COUNTA and COUNTBLANK? +
| Function | Counts |
|---|---|
| COUNT | Only numeric cells |
| COUNTA | Any non-empty cell — numbers, text, dates, TRUE/FALSE, errors |
| COUNTBLANK | Empty cells in a range |
In a data-quality check, COUNTA shows the number of filled rows, and COUNTBLANK shows how many are missing. If COUNT and COUNTA differ on a "numeric" column, some values are stored as text.
Q10 What is the difference between COUNTIF and COUNTIFS? +
COUNTIF takes a single range and a single criteria. COUNTIFS takes multiple range-criteria pairs, all combined with AND.
=COUNTIF(B:B, "North")
=COUNTIFS(B:B, "North", C:C, "Electronics")
Use COUNTIFS in MIS reporting — a report that needs "count of orders by region and category" cannot be built with COUNTIF alone.
Q11 What is conditional formatting, and where do you use it? +
Conditional formatting changes a cell's appearance based on its value or a formula. It makes a report readable without adding extra columns.
Common uses:
- Highlight duplicates in a customer ID column.
- Colour-scale a sales column so high values stand out.
- Data bars for values in a range to show relative size.
- Icon sets for KPI traffic lights — green / amber / red.
- Formula-based rules to highlight an entire row based on one column's value.
Rules live on the Home tab → Conditional Formatting. Use Manage Rules to review every rule on the sheet — orphan rules are a common bug in shared files.
Q12 What is data validation in Excel? +
Data validation restricts what a user can type into a cell. It prevents bad data at the point of entry, which is far better than cleaning it later.
Common validation rules:
- List — a dropdown of allowed values, e.g. a Region list.
- Whole number — between 1 and 100, for a quantity field.
- Date — after today, for an order date.
- Text length — exactly 10, for a phone number.
- Custom formula — like
=ISNUMBER(A1)to force a number.
Use an Input Message to show the rule on selection, and an Error Alert to block invalid input. On the Data tab → Data Validation.
Q13 What is a named range, and why is it used? +
A named range gives a cell or range a
meaningful name — TaxRate instead
of Sheet1!$B$2.
Benefits:
- Formulas read like sentences —
=Sales * TaxRateinstead of=D2*Sheet1!$B$2. - The name is absolute by default, so you never forget the $ signs.
- Changing the reference is done in one place, in Name Manager.
- Named ranges work across sheets and in data validation dropdowns.
Create from Formulas → Define Name, or select the cells and type the name into the Name Box at the top-left.
Q14 How do you remove duplicates in Excel? +
Three methods, used for different situations:
- Data → Remove Duplicates — permanently deletes duplicate rows based on the columns you select. Fast, but no preview. Work on a copy.
- Conditional Formatting → Highlight Duplicates — shows duplicates without deleting them. Useful when you want to review before deleting.
- UNIQUE function (Excel 2021 / Microsoft 365) — returns a list of unique values from a range, without touching the source.
=UNIQUE(A2:A1000)
Spill ranges from UNIQUE refresh automatically when the source data changes — better than Remove Duplicates for a live report.
Q15 What is Flash Fill, and when do you use it? +
Flash Fill (Ctrl+E) fills a column by detecting the pattern from your first one or two examples. It is a fast way to split, join or reformat without a formula.
Common uses:
- Split "Ravi Prakash" into First Name and Last Name columns.
- Join First and Last into a Full Name column.
- Extract the domain from an email address.
- Reformat "2026-10-14" into "14 October 2026".
Flash Fill is a one-time fill — it does not update when the source changes. For a live report, use TEXTSPLIT, TEXTBEFORE or TEXTAFTER instead.
Q16 What is the difference between a formula and a function? +
A formula is any expression you type into
a cell that starts with =. It can
be a simple calculation like =A1+B1
or a complex combination.
A function is a built-in operation with a name — SUM, VLOOKUP, IF, COUNTIFS. Functions are the building blocks you assemble into a formula.
"Formula" is the broad term; "function" is a specific component inside it.
Q17 What is the difference between CONCATENATE and TEXTJOIN? +
CONCATENATE joins values but requires every value as a separate argument, and there is no delimiter. It cannot take a range.
TEXTJOIN takes a delimiter, an ignore-empty
flag and a range or list. It replaces all the
manual &" "& patterns.
// Old way
=CONCATENATE(A2, " ", B2)
// New way with a delimiter and range support
=TEXTJOIN(" ", TRUE, A2:B2)
// Join a whole column, ignoring blanks
=TEXTJOIN(", ", TRUE, A2:A100)
Modern alternative: the &
operator still works for two or three values.
Use TEXTJOIN for ranges.
Q18 What is a chart in Excel, and how do you choose the right type? +
Match the chart to the question:
- Column or bar chart — compare categories, e.g. sales by region.
- Line chart — show a trend over time, e.g. monthly revenue.
- Pie or doughnut chart — show parts of a whole, only when there are fewer than six slices.
- Scatter chart — show a relationship between two numbers, e.g. price vs quantity sold.
- Combo chart — two different measures on the same chart, like revenue on bars and margin % on a line.
Keep it clean: one message per chart, axis labels in plain words, and no 3-D effects.
Q19 What is the difference between freeze panes and split? +
Freeze Panes locks the top rows and left columns so they stay visible while you scroll. Use it on every long sheet.
Split divides the window into two or four panes, each of which can scroll independently in the same sheet. Both halves show the same data.
Freeze Panes is for keeping headers visible. Split is for comparing two distant parts of a large sheet at the same time.
Q20 What are the most common Excel error values? +
| Error | Meaning | Common cause |
|---|---|---|
| #N/A | Value not found | VLOOKUP lookup value missing |
| #VALUE! | Wrong data type | Text used in a numeric calculation |
| #REF! | Invalid reference | Deleted the column referenced by a formula |
| #DIV/0! | Division by zero | Denominator is 0 or blank |
| #NAME? | Unknown function or name | Typo in function name or missing named range |
| #NUM! | Invalid number | Square root of a negative number |
| #SPILL! | Spill range is blocked | Dynamic array result overlaps existing data |
Use IFERROR at the top level to clean the output; fix the underlying issue rather than hiding it.
Intermediate Excel interview questions
These come up for MIS executives and analysts with 2–4 years of experience. They test whether you can build a working report from messy data.
Q21 How do you write an INDEX-MATCH formula step by step? +
Read the formula from the inside out:
- MATCH finds the position of the lookup value in a column:
MATCH(A2, Products!A:A, 0)returns the row number where A2 is found. The 0 means exact match. - INDEX returns the value from that row in the result column:
INDEX(Products!C:C, position).
=INDEX(Products!C:C, MATCH(A2, Products!A:A, 0))
For a two-way lookup — matching both a row and a column — use two MATCH functions:
=INDEX(Data!B2:M50,
MATCH(A2, Data!A2:A50, 0),
MATCH(B2, Data!B1:M1, 0))
Q22 What is XLOOKUP, and how is it better than VLOOKUP? +
XLOOKUP is the modern replacement for both VLOOKUP and INDEX-MATCH. It is available in Microsoft 365 and Excel 2021 and later.
=XLOOKUP(lookup_value, lookup_array, return_array, [if_not_found], [match_mode], [search_mode])
// Return the price, or a message if not found
=XLOOKUP(A2, Products!A:A, Products!C:C, "Not found")
// Return multiple columns at once
=XLOOKUP(A2, Products!A:A, Products!B:D)
Advantages over VLOOKUP:
- Can look left or right — the return column does not need to be after the lookup column.
- Default match mode is exact — you cannot accidentally get an approximate match.
- Built-in
if_not_foundargument replaces IFERROR. - Can return multiple columns or rows in one formula.
- Faster on large datasets, and does not break when columns are inserted.
Q23 How do you build a pivot table with a calculated field? +
- Select the data range and go to Insert → PivotTable.
- Drag Region to Rows, Category to Columns, and Sales to Values.
- Open PivotTable Analyze → Fields, Items & Sets → Calculated Field.
- Name the field — for example, "Profit".
- Write the formula using field names —
=Sales - Cost. - Click Add → OK. The calculated field appears in the Values area and can be dragged into the pivot table.
A calculated field is evaluated after the pivot table aggregates — so the average of a calculated field is not the same as a calculated field of an average. Be careful with ratio fields.
Q24 What is GETPIVOTDATA, and when do you use it? +
GETPIVOTDATA reads a specific value from a pivot table by naming the row, column and measure — not by cell reference. It is stable when the pivot table layout changes.
=GETPIVOTDATA("Sales", $A$3,
"Region", "North",
"Category", "Electronics")
Use it inside a dashboard where other cells need to read from a pivot table. Turn off the automatic GETPIVOTDATA when you want a plain reference — PivotTable Analyze → Options → Generate GetPivotData.
Q25 What is the difference between a slicer and a timeline? +
| Slicer | Timeline |
|---|---|
| Filters by any categorical field — Region, Category, Segment | Filters only by date or time fields |
| Buttons for each unique value | A draggable bar with month, quarter, year levels |
| Choose multiple values with Ctrl or multi-select mode | Choose a range by dragging |
| Works with pivot tables and pivot charts | Works with pivot tables and pivot charts |
Use both on a dashboard: a timeline for the period, and slicers for the categories.
Q26 What are dynamic array functions, and why do they matter? +
Dynamic array functions return a range of values that "spills" into neighbouring cells. You write one formula, and Excel fills the result range automatically.
Key functions:
- FILTER — returns rows that meet a condition.
- UNIQUE — returns a list of distinct values.
- SORT and SORTBY — sort a range by one or more columns.
- SEQUENCE — generates a series of numbers.
- RANDARRAY — generates random numbers.
// Unique product list, sorted
=SORT(UNIQUE(Sales!B2:B1000))
// North region orders above 10,000
=FILTER(Sales!A2:E1000,
(Sales!B2:B1000="North") * (Sales!E2:E1000>10000))
Dynamic arrays are available in Microsoft 365 and Excel 2021 and later. Say this in the interview — older versions of Excel will show #NAME? for these functions.
Q27 How do you use the IF function with multiple conditions? +
Use IF with AND / OR for compound conditions, or nest IFs for a tiered rule.
// AND — both conditions must be true
=IF(AND(B2>=5000, C2="North"), "Bonus", "No bonus")
// OR — either condition is true
=IF(OR(B2>=5000, C2="North"), "Qualified", "Not qualified")
// Tiered grading with nested IF
=IF(B2>=90, "A",
IF(B2>=75, "B",
IF(B2>=60, "C", "F")))
For many tiers, use the newer IFS function — it reads top-down and returns the first true condition:
=IFS(B2>=90, "A", B2>=75, "B", B2>=60, "C", TRUE, "F")
Q28 How do you clean text with TRIM, PROPER and SUBSTITUTE? +
| Function | What it does | Example |
|---|---|---|
| TRIM | Removes leading, trailing and extra internal spaces | =TRIM(A2) |
| PROPER | Capitalises the first letter of each word | =PROPER(A2) |
| UPPER / LOWER | Convert to all upper or all lower case | =UPPER(A2) |
| SUBSTITUTE | Replaces specific text with another | =SUBSTITUTE(A2, "-", "") |
| CLEAN | Removes non-printable characters | =CLEAN(A2) |
Chain them for a full cleanup:
=PROPER(TRIM(SUBSTITUTE(A2, "_", " ")))
This turns " ravi_prakash " into "Ravi Prakash".
Q29 What are the most common date functions in Excel? +
| Function | What it returns | Example |
|---|---|---|
| TODAY | Today's date | =TODAY() |
| NOW | Current date and time | =NOW() |
| DATE | A date from year, month, day | =DATE(2026,10,14) |
| DATEDIF | Difference between two dates in days, months or years | =DATEDIF(A2,B2,"Y") |
| EDATE | A date shifted by N months | =EDATE(A2,3) |
| EOMONTH | Last day of the month N months away | =EOMONTH(A2,0) |
| NETWORKDAYS | Working days between two dates | =NETWORKDAYS(A2,B2) |
| WORKDAY | A working day N days from a start date | =WORKDAY(A2,10) |
| YEAR / MONTH / DAY | Extract the year, month or day from a date | =YEAR(A2) |
Use DATEDIF for age in years and EDATE / EOMONTH for month-end and billing logic. NETWORKDAYS is a standard MIS function for turnaround time.
Q30 What is Power Query in Excel, and when do you use it? +
Power Query is the data preparation tool inside Excel (Data → Get & Transform Data). It connects to files, folders, databases and web pages, cleans them step by step, and loads a clean table into Excel or the Data Model.
Use it when:
- You receive the same monthly file and want the same cleaning done automatically.
- You need to combine data from many files in one folder.
- You need to unpivot a wide table into a tidy format for a pivot table.
- You want the cleaning steps recorded and auditable, not typed into cells.
Every step is recorded in the Applied Steps pane. Click Refresh and the whole pipeline reruns on the new data.
Q31 What is the difference between SUMIFS and SUMPRODUCT? +
SUMIFS is a purpose-built multi-condition sum. It is fast and reads clearly.
SUMPRODUCT multiplies two or more arrays and sums the result. It can do everything SUMIFS does, plus things SUMIFS cannot — like sum a calculation, or count with OR logic.
// SUMIFS — simple two-condition sum
=SUMIFS(D:D, B:B, "North", C:C, "Electronics")
// SUMPRODUCT — sum a calculation with conditions
=SUMPRODUCT((B2:B100="North") * (C2:C100="Electronics") * (D2:D100 * E2:E100))
// SUMPRODUCT — count with OR
=SUMPRODUCT((B2:B100="North") + (B2:B100="South") > 0)
Use SUMIFS where possible — it is faster on large ranges. Reach for SUMPRODUCT when the value to sum is a calculation.
Q32 How do you use VLOOKUP across two sheets? +
Reference the second sheet by name inside the table_array. Use absolute references (or a named range) so the formula copies cleanly down the column.
=VLOOKUP(A2, Products!$A$2:$C$1000, 3, FALSE)
If the sheet name contains spaces, wrap it in single quotes:
=VLOOKUP(A2, 'Product Master'!$A$2:$C$1000, 3, FALSE)
For a workbook with many sheets, define a named range for the lookup table — the formula reads better and is easier to audit.
Q33 How do you find duplicate values in Excel? +
Three approaches, used for different jobs:
- Conditional Formatting → Highlight Cells Rules → Duplicate Values. Shows duplicates in a colour. Good for a quick visual.
- COUNTIF helper column. Shows exactly how many times each value appears —
=COUNTIF($A$2:$A$1000, A2). Filter on values greater than 1. - UNIQUE function. Lists distinct values only. Combine with SORT for a clean unique list.
// Flag duplicates in A2:A1000
=COUNTIF($A$2:$A$1000, A2) > 1
// Unique customer list
=SORT(UNIQUE(A2:A1000))
Always use COUNTIF when you need to know how many duplicates exist, not just that they exist.
Q34 What is the difference between HLOOKUP and VLOOKUP? +
VLOOKUP searches vertically — down the first column of a range. The lookup values are in a column.
HLOOKUP searches horizontally — across the first row of a range. The lookup values are in a row.
Most data in Excel is arranged in columns, so VLOOKUP is far more common. Use HLOOKUP only when your data is genuinely laid out in rows — for example, a monthly sales table with months across the top.
XLOOKUP replaces both — it works vertically or horizontally depending on what you give it.
Q35 What is a waterfall chart, and where does an MIS report use it? +
A waterfall chart shows how a starting value moves to an ending value through a series of positive and negative changes. It is ideal for P&L bridges, cash flow and variance analysis.
Typical MIS uses:
- Revenue bridge — opening revenue, add new business, subtract churn, closing revenue.
- Cost walk — budget, plus new hires, minus savings, actual cost.
- Profit reconciliation — gross profit, minus marketing, minus overheads, net profit.
Insert → Waterfall Chart. Set the opening and closing totals to "Total" in the chart's data settings so the bridge reads correctly.
Advanced Excel interview questions for experienced professionals
These come up for senior MIS, reporting and analytics roles. They test design judgement, performance and how you build a workbook that other people can maintain.
Q36 How do you design an Excel dashboard for a business user? +
Step 1 — Define the one question. A dashboard that answers "how is the business performing this month?" is different from one that answers "where is my cost overrun?".
Step 2 — Separate sheets. One for raw data, one for calculations, one for the dashboard. Never mix them.
Step 3 — Structure the layout. KPIs at the top (revenue, margin, orders, AOV), trends in the middle (line charts), breakdowns at the bottom (category, region, product).
Step 4 — Interactivity. Add a timeline for the period and slicers for region, category and segment. Connect slicers to all relevant pivot tables with Report Connections.
Step 5 — Formatting. Conditional formatting for KPI cards. Colour-blind safe palette. Axis labels in plain words. No 3-D, no gradients.
Step 6 — Refresh process. Data on one sheet, one Refresh All button, and a note on the sheet explaining where the data comes from.
Q37 How do you improve the performance of a slow Excel workbook? +
Order of impact, from largest to smallest:
- Replace whole-column references.
A:Ain a formula forces Excel to check a million rows. UseA2:A50000instead. - Remove volatile functions. NOW, TODAY, RAND, OFFSET and INDIRECT recalculate on every change. Replace with static values or a single cell that you update manually.
- Convert formulas to values. Once a lookup or calculation is stable, paste as values and stop the recalc.
- Reduce array formulas. A single large array formula over 50,000 rows can be slower than a smaller SUMIFS.
- Use the Data Model / Power Pivot. Pivot tables on a million rows are faster from the Data Model than from the worksheet.
- Switch to manual calculation. Formulas → Calculation Options → Manual while you work, then calculate once at the end.
- Clean up Conditional Formatting rules. Hundreds of overlapping rules slow the sheet down. Consolidate and use Manage Rules.
Q38 What is Power Pivot, and how is it different from a normal pivot table? +
| Normal pivot table | Power Pivot |
|---|---|
| Works on a single worksheet range | Works on multiple related tables |
| Limit around 1 million rows | Handles tens of millions of rows |
| No calculated measures beyond basic fields | Full DAX measures and calculated columns |
| No relationships between tables | Star schema with relationships and time intelligence |
| Fits in a normal workbook | Compresses and stores data in the Data Model |
Use Power Pivot when the analysis needs multiple tables joined, large data, or DAX measures like year-over-year and running totals.
Q39 How do you prepare a workbook for handover to another team? +
Build it as if a stranger will maintain it in six months:
- One sheet per role — README, Data, Calc, Report. The README sheet explains the purpose, the refresh process and the source of every input.
- Named ranges for key inputs and lookup tables. No magic numbers inside formulas.
- No hidden sheets, no hard-coded values inside formulas. Everything comes from a documented cell.
- Comments on complex formulas — a short note explaining what the formula does and why.
- Data validation and conditional formatting that flag bad input, not silent failures.
- Protection on the calculation and report sheets, with a note explaining how to unlock.
- Version and date in a fixed cell — "v3.2 · 14 October 2026" — so the team knows what they are looking at.
Q40 How do you use Excel for what-if analysis? +
Three tools on the Data tab → What-If Analysis:
- Scenario Manager — name and store several sets of input values — best case, base case, worst case — and switch between them. Each scenario shows the result of the changing cells.
- Goal Seek — work backwards from a target. "What price do we need to hit ₹50 lakh revenue, given this volume?" Goal Seek adjusts one input cell until the output cell reaches the target.
- Data Tables — show a grid of results for two changing inputs. A one-variable table varies one input; a two-variable table varies two — like price and volume — and shows profit for every combination.
Data Tables recalculate on every change, so keep them on a separate sheet with manual calculation for large models.
Q41 How do you combine data from multiple sheets? +
Three methods, chosen based on how often the data changes:
- Direct reference —
=Sheet1!A1on the summary sheet. Fast for two or three static sheets, fragile when sheet names change. - 3-D reference —
=SUM(Jan:Dec!B2)adds the same cell across every sheet between Jan and Dec. Good for identical monthly sheets, breaks when you insert a sheet out of order. - Power Query — Append Queries combines multiple tables into one, and refreshes automatically when the source sheets change. The right answer for a recurring monthly report.
In an interview, mention Power Query — it signals you think about maintainability, not just today's task.
Q42 What are the common data quality checks you run on a raw export? +
A standard checklist:
- Row count — does the number of rows match the source?
- Duplicate IDs — COUNTIF on the key column for values greater than 1.
- Missing values — COUNTBLANK on key columns.
- Data types — numbers stored as text, dates stored as text. ISTEXT, ISNUMBER to catch them.
- Range checks — negative quantities, dates in the future, amounts above a threshold.
- Referential integrity — every product ID in the sales table exists in the product master.
- Format consistency — same date format, same case, no trailing spaces. TRIM and PROPER.
- Reconciliation — sum of sales matches the source system total.
Document the checks in a small sheet at the top of the workbook. It shows your work and saves the next person hours.
Q43 How do you use INDEX with multiple matches? +
Standard MATCH returns the first match. To return the Nth match, wrap MATCH inside SMALL with an IF array, or use FILTER.
=INDEX(Products!C:C,
SMALL(IF(Products!A:A=A2, ROW(Products!A:A)), 2))
In Microsoft 365, use FILTER instead:
=FILTER(Products!C:C, Products!A:A = A2)
FILTER returns every match as a spill range.
Wrap in INDEX if you need only the second
result: =INDEX(FILTER(...), 2).
Q44 What is a dashboard KPI card, and how do you build one in Excel? +
A KPI card is a small block on the dashboard that shows one number, its target, and a status indicator — green, amber or red.
How to build one:
- Create the KPI measure in a helper cell using SUMIFS or a lookup on the pivot table.
- Add a target cell next to it.
- Add a variance cell —
=Actual - Targetand=DIVIDE(Actual - Target, Target)for the percentage. - Apply conditional formatting to colour the variance cell: green if positive, red if negative.
- Use a large font for the actual number, a smaller font for the target, and a sparkline or trend arrow for context.
Line up four or five cards across the top of the dashboard — that is the first thing a business user looks at.
Q45 What is the difference between a two-variable data table and Scenario Manager? +
| Scenario Manager | Two-variable Data Table |
|---|---|
| Stores distinct sets of inputs as named scenarios | Shows a grid of results for two varying inputs |
| Best for a small number of named scenarios — best, base, worst | Best for exploring a continuous range — price from 100 to 500 in steps of 50 |
| You switch between scenarios manually | All results visible at once in a grid |
| Result shown in a Scenario Summary report | Result shown as a grid of values |
Use Scenario Manager for board presentations with three clearly named cases. Use a Data Table when you want to see how profit behaves across a whole range of prices and volumes.
Scenario-based Excel interview questions
These are the questions an interviewer asks when they want to see how you think about a real problem. Answer with a step-by-step approach and mention the trade-off.
S01 You receive a monthly sales file with 40,000 rows and mixed formats. How do you prepare it for a report? +
Step 1 — Make a copy of the raw file. Never clean the source in place.
Step 2 — Check row count, then look at the types: is amount stored as text? Are dates in two different formats?
Step 3 — Load the file into Power Query and do the cleaning as steps — change types, TRIM text, PROPER names, replace values.
Step 4 — Remove duplicates on the order ID, and remove blank rows.
Step 5 — Add a DateKey column for month-level grouping in the pivot.
Step 6 — Load the cleaned table to the Data Model, and build the pivot table from there.
Next month, drop the new file into the same folder and click Refresh — the whole pipeline reruns.
S02 A VLOOKUP returns #N/A for values that you can see are in the table. What do you check? +
Step 1 — Check for trailing or leading
spaces. Use =LEN(A2) on both the
lookup value and the matching value in the
table — a difference of 1 means a space.
Step 2 — Check data types. A number stored as text looks identical to a number but never matches. Use ISNUMBER on both.
Step 3 — Check case. VLOOKUP is case-insensitive, so this is rarely the cause, but INDEX-MATCH with a case-sensitive lookup is a different story.
Step 4 — Check the lookup column is truly the first column of the range. A mistake here returns #N/A even if the value exists.
Step 5 — Wrap the result in TRIM and
VALUE — =VLOOKUP(TRIM(A2), ...) —
to normalize the input before lookup.
S03 How would you build a report that shows month-over-month growth for each region? +
Step 1 — Ensure the date column is a real date, not text.
Step 2 — Add a helper column for the month:
=TEXT(A2, "YYYY-MM").
Step 3 — Build a pivot table with Region in Rows, Month in Columns, and Sum of Sales in Values.
Step 4 — Add a "Previous month" column and a growth column:
// Previous month value
=B2
// Month-over-month growth %
=IFERROR((B2 - A2) / A2, "")
Step 5 — Apply conditional formatting — green for positive growth, red for negative.
Step 6 — For a fully dynamic report, replace the manual columns with a DAX measure inside a Power Pivot table.
S04 You need to reconcile 8,000 rows of bank transactions with an internal ledger. How do you approach it? +
Step 1 — Align both files on a common key. If the transaction ID is present on both, use that. Otherwise, combine date + amount as a composite key.
Step 2 — Create a helper column on each
sheet that concatenates the key:
=A2&"|"&B2&"|"&C2.
Step 3 — Use COUNTIF to flag rows that appear in one file but not the other.
// On ledger, check the bank file
=COUNTIF(BankKeys, LedgerKey) > 0
// On bank, check the ledger file
=COUNTIF(LedgerKeys, BankKey) > 0
Step 4 — Filter both sheets for FALSE rows — those are the unmatched transactions.
Step 5 — For the matched rows, check the amounts. A small difference is likely a bank charge or rounding.
Step 6 — Document the reconciliation: matched count, unmatched count and the difference in totals. Share the summary, not the 8,000 rows.
S05 A workbook that used to open in 2 seconds now takes 30. How do you fix it? +
Step 1 — Open with manual calculation (Formulas → Calculation Options → Manual). If it opens fast, formulas are the problem.
Step 2 — Find volatile functions. Use Ctrl+F on OFFSET, INDIRECT, NOW, TODAY, RAND. Each is a candidate for replacement.
Step 3 — Find whole-column references.
Use Ctrl+F on ":" to spot something like
A:A. Replace with bounded ranges.
Step 4 — Check for large array formulas. One SUM(IF()) over 100,000 rows is expensive — convert it to SUMIFS or a pivot table.
Step 5 — Clean Conditional Formatting. Home → Conditional Formatting → Manage Rules on each sheet. Remove rules that no longer apply.
Step 6 — Move large data to the Data Model or Power Query. Pivot tables on the Data Model are much faster than on the sheet.
S06 A business user wants a report with "top 10 products by revenue in each region". How do you build it? +
Step 1 — Build a pivot table with Region and Product in Rows, and Sum of Revenue in Values.
Step 2 — Sort the revenue column in descending order.
Step 3 — Apply a Top 10 filter to the Product row label:
- Right-click a Product cell → Filter → Top 10 Items.
- Set 10, and Top by "Sum of Revenue".
Step 4 — The filter applies per region, so each region shows its own top 10 products.
Step 5 — Add a Region slicer so the user can isolate one region at a time.
Step 6 — For a chart, right-click the pivot → PivotChart → Bar chart, sorted descending.
S07 A manager asks for a "quick summary" of 12 monthly files. How do you combine them into one report? +
Step 1 — Put all 12 files in one folder. Naming matters — Jan 2026.xlsx, Feb 2026.xlsx and so on.
Step 2 — Data → Get Data → From File → From Folder. Power Query reads all the files in the folder.
Step 3 — Combine & Transform. Power Query uses the first file as a template and applies the same cleaning steps to every file.
Step 4 — Add a "Source File" column so you can tell which row came from which month.
Step 5 — Load the combined table to the Data Model and build one pivot table across all months.
Step 6 — Next month, drop the new file into the folder and click Refresh. The pipeline reruns automatically.
S08 You need to show actual vs target for 20 regions. What visual do you choose and how do you build it? +
Step 1 — Choose a clustered bar chart. Two bars per region — Actual and Target — side by side. This is the clearest visual for variance.
Step 2 — Prepare the data: Region, Actual, Target. Sort descending by Actual so the highest performers are at the top.
Step 3 — Insert a clustered bar chart. Reverse the category axis so the top region appears at the top.
Step 4 — Format the Target bar as a lighter shade or an outline. The Actual bar is the primary series.
Step 5 — Add data labels with a thousand separator.
Step 6 — Optional: add a second chart below that shows the variance % as a colour- coded bar — green above target, red below.
S09 A cell shows #VALUE!. How do you find and fix the problem? +
Step 1 — Click the cell and read the formula in the formula bar. #VALUE! means a wrong data type is being used somewhere in the calculation.
Step 2 — Use Evaluate Formula on the Formulas tab. It steps through the formula one part at a time and shows which part produces the error.
Step 3 — Check the inputs. ISNUMBER, ISTEXT and ISBLANK on each referenced cell.
Step 4 — Common culprits: a number stored as text, a date stored as text, an empty cell used in a math operation.
Step 5 — Fix the input, or wrap in a
helper — =VALUE(TRIM(A2)) to
convert text to number safely.
Step 6 — Add IFERROR only after you understand what caused the error. Never hide an error you have not diagnosed.
S10 You need to build an Excel test for a candidate's interview. What do you include? +
Step 1 — Provide a realistic messy dataset — 500 to 1,000 rows, with a few duplicates, some text-formatted numbers and a missing value or two.
Step 2 — Ask four or five tasks of increasing difficulty:
- Clean the data — TRIM, PROPER, remove duplicates.
- Build a pivot table — sales by region and category.
- Write a VLOOKUP or INDEX-MATCH to bring in a product name.
- Add a SUMIFS measure with two criteria.
- Create a simple chart or dashboard for the result.
Step 3 — Time-box the test to 45–60 minutes.
Step 4 — Score for correctness, method and explanation — not for cosmetic formatting. A candidate who explains their choices scores higher than one who only gets the right number.
Step 5 — Share the expected output with the interviewer so scoring is consistent across candidates.
Excel test for job — 10 tasks on a small sales dataset
This is the exercise most Excel interviews use. Below is a small sales table (10 rows) that fits on one screen. Each task below has the exact formula and the expected result. Try each one in Excel before you look at the answer.
| OrderID | Date | Region | Category | Qty | Price | Customer |
|---|---|---|---|---|---|---|
| ORD-001 | 2026-01-05 | North | Electronics | 2 | 15000 | Acme Ltd |
| ORD-002 | 2026-01-12 | South | Furniture | 1 | 22000 | Beta Corp |
| ORD-003 | 2026-02-03 | North | Electronics | 1 | 15000 | Acme Ltd |
| ORD-004 | 2026-02-18 | East | Furniture | 3 | 22000 | Gamma Pvt |
| ORD-005 | 2026-03-07 | South | Electronics | 4 | 15000 | Beta Corp |
| ORD-006 | 2026-03-22 | North | Furniture | 2 | 22000 | Acme Ltd |
| ORD-007 | 2026-04-02 | East | Electronics | 1 | 15000 | Gamma Pvt |
| ORD-008 | 2026-04-19 | South | Furniture | 2 | 22000 | Beta Corp |
| ORD-009 | 2026-05-11 | North | Electronics | 3 | 15000 | Acme Ltd |
| ORD-010 | 2026-05-28 | East | Furniture | 1 | 22000 | Gamma Pvt |
T01 Add a Total Sales column (Qty × Price) +
=E2 * F2
Expected result: H2 = 30,000; H3 = 22,000; H4 = 15,000; H5 = 66,000; H6 = 60,000; H7 = 44,000; H8 = 15,000; H9 = 44,000; H10 = 45,000; H11 = 22,000. Total = 363,000.
T02 Total sales for the North region +
=SUMIF(C2:C11, "North", H2:H11)
Expected result: 30,000 + 15,000 + 44,000 + 45,000 = 134,000.
T03 Total sales for Electronics in the North region (two conditions) +
=SUMIFS(H2:H11, C2:C11, "North", D2:D11, "Electronics")
Expected result: ORD-001 (30,000) + ORD-003 (15,000) + ORD-009 (45,000) = 90,000.
T04 Count of orders in the East region +
=COUNTIF(C2:C11, "East")
Expected result: 3 — ORD-004, ORD-007, ORD-010.
T05 Look up the customer name for a given OrderID with VLOOKUP +
=VLOOKUP(J1, A2:G11, 7, FALSE)
Expected result: Beta Corp — because Customer is the 7th column in the range A:G.
T06 Same lookup with INDEX-MATCH +
=INDEX(G2:G11, MATCH(J1, A2:A11, 0))
Expected result: Beta Corp. This version does not break if a column is inserted between A and G.
T07 Average order value (Total Sales ÷ number of orders) +
=AVERAGE(H2:H11)
Expected result: 363,000 ÷ 10 = 36,300.
T08 Flag high-value orders (Total Sales above 40,000) with IF +
=IF(H2 > 40000, "High", "Normal")
Expected result: ORD-005 (60,000), ORD-006 (44,000), ORD-009 (45,000) and ORD-010 (22,000) is Normal. Row 5, 7 and 10 = High; the rest = Normal.
T09 Clean a customer name — remove extra spaces and apply proper case +
=PROPER(TRIM(A1))
Expected result: Acme Ltd — leading, trailing and extra spaces removed, and the first letter of each word capitalised.
T10 Pivot summary — Sum of Total Sales by Region and Category +
Steps: Select A1:H11 → Insert → PivotTable → New worksheet. Drag Region to Rows, Category to Columns, Total Sales to Values.
| Region | Electronics | Furniture | Grand Total |
|---|---|---|---|
| East | 15,000 | 88,000 | 103,000 |
| North | 90,000 | 44,000 | 134,000 |
| South | 60,000 | 66,000 | 126,000 |
| Grand Total | 165,000 | 198,000 | 363,000 |
Grand total 363,000 matches the Total Sales column sum, which confirms the pivot is correct.
Excel cheat table — 15 one-line formula reminders
Skim this on the morning of your interview. One line per topic, exactly enough to trigger the fuller answer.
| Topic | One-line reminder |
|---|---|
| Relative vs absolute | A1 changes when copied; $A$1 stays fixed; F4 cycles between the forms. |
| VLOOKUP | Looks right only. Syntax: VLOOKUP(value, range, col_index, FALSE). |
| INDEX-MATCH | INDEX(return_range, MATCH(value, lookup_range, 0)) — stable and looks anywhere. |
| XLOOKUP | XLOOKUP(value, lookup_range, return_range, if_not_found). Available in Excel 2021 and Microsoft 365. |
| SUMIFS | SUMIFS(sum_range, range1, criteria1, range2, criteria2 ...). Sum range comes first. |
| COUNTIFS | COUNTIFS(range1, criteria1, range2, criteria2 ...). All conditions are AND. |
| SUMPRODUCT | Multiplies arrays and sums the result. Use it when SUMIFS cannot handle the logic. |
| IFERROR | Returns a value when the formula errors — clean the top level only. |
| IFS | Tiered conditions in one function. Replaces nested IF for many tiers. |
| Text cleaning | TRIM, PROPER, SUBSTITUTE, CLEAN — chain them for a full cleanup. |
| Date functions | TODAY, DATEDIF, EDATE, EOMONTH, NETWORKDAYS, WORKDAY. |
| Dynamic arrays | FILTER, UNIQUE, SORT, SEQUENCE — spill into neighbouring cells. Microsoft 365 only. |
| Pivot table | Rows, Columns, Values, Filters. Slicers and timelines for interactivity. |
| GETPIVOTDATA | Reads a specific pivot value by row/column names — stable across layout changes. |
| Power Query | Record cleaning steps and refresh automatically. Data → Get & Transform. |
| Conditional formatting | Highlight duplicates, colour scales, data bars, formula-based rules. |
| Data validation | List, whole number, date, text length, custom formula — block bad input at entry. |
| Remove duplicates | Data → Remove Duplicates; or use UNIQUE for a live dedupe list. |
| Flash Fill | Ctrl+E. Detects a pattern from one example. One-time fill, not dynamic. |
| Volatile functions | OFFSET, INDIRECT, NOW, TODAY, RAND — recalculate on every change. Avoid in large models. |
How to prepare for an Excel interview in 7 days
If your interview is next week, follow this plan. Each day has one focus and one practice task. Do not just read — open Excel and type every formula.
| Day | Focus | Practice task |
|---|---|---|
| Day 1 | Cell references and basics | Answer Q1, Q16, Q19, Q20. Build a small multiplication table using $A1 and A$1 to prove you understand mixed references. |
| Day 2 | Lookup functions | Answer Q2, Q3, Q4, Q22, Q34, Q43. Write the same lookup three ways — VLOOKUP, INDEX-MATCH and XLOOKUP — on the sample dataset. |
| Day 3 | Conditional aggregation | Answer Q5, Q6, Q9, Q10, Q31. Build SUMIFS and COUNTIFS with two and three conditions on the sample dataset. |
| Day 4 | Text and date functions | Answer Q15, Q17, Q28, Q29. Clean a column of names with TRIM + PROPER + SUBSTITUTE. Add month and year from a date column. |
| Day 5 | Pivot tables and slicers | Answer Q8, Q23, Q24, Q25, Q35. Build a pivot table on the sample dataset with Region and Category, add a slicer and timeline. |
| Day 6 | Power Query and dashboards | Answer Q26, Q30, Q36, Q41. Load the sample dataset into Power Query, clean it, and load it to the Data Model. Build a small KPI dashboard. |
| Day 7 | Mock interview and practical | Answer one scenario question per level out loud. Redo the 10 tasks in section 06 without looking. Revise the cheat table. |
Common mistakes candidates make in Excel interviews
Forgetting FALSE in VLOOKUP
VLOOKUP with TRUE returns the closest approximate match without warning. It is the single most common silent bug in interviews and real work.
Using hard-coded numbers in formulas
=D2*0.18 is fine for one cell, but
=D2*$B$1 with a named range
TaxRate is maintainable. Interviewers
notice the difference.
Whole-column references everywhere
=SUMIFS(D:D, B:B, "North") works
but is slow on a large file. Use bounded
ranges like D2:D50000.
Wrapping every inner function in IFERROR
IFERROR hides real errors. Use it at the top level of the formula only, and only when you have already checked the reason for the error.
Not knowing when a formula is not the answer
Some tasks are better solved with a pivot table, Power Query or a simple manual layout. Saying "I would use a pivot table here" is a stronger answer than forcing a lookup.
Confusing VLOOKUP with XLOOKUP availability
XLOOKUP, FILTER, UNIQUE and SORT need Microsoft 365 or Excel 2021 and later. If your interviewer says the company runs Excel 2016, those formulas will not work — say so.
Practise these Excel topics with Uncodemy
Excel, SQL, Power BI and Python are taught inside Uncodemy's Data Analytics with Gen AI program. Excel is also covered inside the Business Analyst and Data Science programs.
| Program | What it covers | Duration / fee |
|---|---|---|
| Data Analytics with Gen AI | SQL & database management (18 h), Excel (12 h), Power BI (18 h), Python (20 h), plus Gen AI usage for analytics. The main path for Excel and MIS interview preparation. | ₹17,500 + GST · 6–7 months |
| Business Analyst | SQL for BAs (15 h), Excel (12 h), Power BI (15 h), BRD/FRD, process modelling, Agile/Scrum, JIRA and stakeholder management. | ₹17,500 + GST · 6–7 months |
| Data Science | SQL, Excel, Power BI module, Python for Data Science, statistics, machine learning, deep learning, NLP, 7 projects. | ₹21,500 + GST · 8–9 months |
Placement assistance (as published by Uncodemy): resume building, LinkedIn optimisation, portfolio review, interview preparation, mock interviews and opportunity sharing through a network of 850+ companies. Uncodemy does not guarantee employment, as hiring decisions rest with employers. See placement support.
Also useful: AI career guidance for picking between analytics, MIS and BI roles, and the 2-class free trial to see how a live batch runs before you commit.