Excel for analysts: lookups, pivots and clean data
Most analyst interviews include an Excel round. Learn the formulas they always ask, what each one really does, and how to explain your work in plain words.
Excel is still the everyday tool of many data analysts, MIS executives and business analysts in India. So interviewers often hand you a small sheet and ask you to find, count or summarise something live. They want to see if you can turn messy rows into a clear answer.
After this lab you will understand lookups (VLOOKUP and XLOOKUP), conditional formulas (IF, COUNTIFS, SUMIFS), pivot tables and basic data cleaning. You will also build a short answer that explains an Excel report you made, which is a question almost every panel asks.
The big idea: clean, calculate, summarise
Almost every Excel task in an interview follows these three steps.
Step 1
FRAME 1
Clean
Fix spaces, duplicates and blanks before any formula.
Step 2
FRAME 2
Calculate
Use lookups and IF / SUMIFS / COUNTIFS to get the numbers.
Step 3
FRAME 3
Summarise
Use a pivot table or chart to show the answer clearly.
A formula on dirty data gives a confident wrong answer. Clean first.
Drill 1 · Spot it
Spot the difference
Question: “Which formulas do you use most in Excel?” Switch between the two answers.
“I know Excel very well. I use VLOOKUP, HLOOKUP, pivot tables, charts, macros and all the formulas. I have done a certificate course in advanced Excel, so I can do anything in Excel. Whatever work you give me in Excel, I can handle it easily. I am also very fast at typing and I know all the shortcuts. Excel is my strongest skill.”
✕ Just a list of names, no real use case
✕ Claims “all formulas”, which invites tough follow-ups
✕ No result or number from real work
“In my internship I got 8,000 rows of sales data. I first removed duplicates and used TRIM to fix spaces in customer names. Then I used XLOOKUP to bring in each product’s category, and SUMIFS to total sales by region and month. Finally I built a pivot table with a chart, which showed that two regions made most of the revenue. My manager used it in the weekly review.”
CleanCalculateSummarise
✓ Shows a real cleaning step
✓ Names the right formula for each job
✓ Ends with a clear result and impact
Drill 2 · Decode
Quick concept check
Tap each card to flip it.
Key concepts, explained simply
Every idea starts with an everyday picture, then the real Excel meaning.
Lookups (VLOOKUP, XLOOKUP)Like finding a friend’s number in your contacts by name. A lookup searches one column for a value and returns a matching value from another column. Always use an exact match for IDs and names.
IF and IFERRORLike a traffic signal: if red, stop; else go. IF(test, value_if_true, value_if_false) returns one of two results. IFERROR(formula, value) shows your own message when a formula gives an error like #N/A.
COUNTIFS and SUMIFSLike counting only the students who scored above 90 in Maths. COUNTIFS counts rows that meet all your conditions. SUMIFS adds a number column for rows that meet all your conditions.
Pivot tablesLike a class teacher turning 60 report cards into one summary sheet. A pivot table groups and totals data in seconds. When the data changes, click Refresh; using an Excel Table as the source picks up new rows.
Absolute references ($)Like writing a fixed home address on a parcel. $A$1 stays locked when you copy a formula; A1 moves. Press F4 on a cell reference to switch between the types.
Data cleaningReal data is messy. Use TRIM for extra spaces, Remove Duplicates (Data tab), Text to Columns to split values, and IFERROR to show a clean message instead of #N/A.
💡 In a live Excel test, say what you are doing as you work: “I will first check for blanks and duplicates, then use SUMIFS.” Panels score your thinking, not just the final number.
Drill 3 · Build
Build your “Explain an Excel report” answer
Fill the blanks. Your answer writes itself on the right.
Your answer
Start typing on the left and your answer will appear here.
Common Excel questions with simple, correct answers.
“In my college project, I analysed attendance data for 300 students. I used COUNTIFS to count students below 75 percent attendance in each department, and a pivot table to compare departments. I also used conditional formatting to highlight students at risk. It helped our faculty coordinator see the problem areas in one page.”
“In my current role, I prepare a weekly MIS report from CRM exports. I clean the export with TRIM and Remove Duplicates, use XLOOKUP to map each lead to its sales owner, and SUMIFS for revenue by team and week. A pivot table with slicers lets managers filter by region themselves, which cut my report time from hours to minutes.”
“If asked “Why does my VLOOKUP return #N/A?” I would check three things: the lookup value really exists in the first column of the table, there are no extra spaces or number-stored-as-text issues, and the last argument is FALSE for an exact match. Then I would wrap it in IFERROR to show a clear message.”
Four Excel mistakes interviewers catch quickly
Forgetting FALSE in VLOOKUPWithout it, VLOOKUP does an approximate match and may return a wrong row silently. Use FALSE, or XLOOKUP, which is exact by default.
Hard-coding numbers in formulasTyping 18% inside fifty formulas makes changes painful. Put the value in one cell and refer to it with an absolute reference like $B$1.
Not refreshing the pivot tableA pivot does not update by itself. Refresh it after changes, and use an Excel Table as the source so new rows are included.
Saying “I know all of Excel”It invites a hard test. Name the formulas you have really used and explain one real task. Honest depth beats a long list.
Drill 4 · Test
Test yourself
Question 1 of 5
VLOOKUP returns a wrong price even though the product ID exists. What is the most likely fix?Add FALSE as the last argument to force an exact matchUse SUM instead of VLOOKUPSort the sheet by cell colour
Which function adds sales only where Region is North AND Product is Laptop?COUNTIFSSUMIFSUMIFS
What can XLOOKUP do that VLOOKUP cannot?Add two numbers togetherReturn a value from a column to the left of the lookup columnChange the colour of a cell
You added new rows, but your pivot table does not show them. What should you do?Refresh the pivot table, ideally with an Excel Table as its sourceReinstall ExcelType the new totals by hand
Customer names have extra spaces, so your lookups fail. Which function helps first?PROPERTRIMLEN
🏅
Rehearse before the real thing
Press start and explain your Excel report out loud. Aim for 60 to 90 seconds: data, cleaning, formulas, result.
Interview Lab · 21
Excel for Analysts
1Lookups: XLOOKUP or FALSE
2SUMIFS/COUNTIFS for conditions
3Pivot: rows, values, refresh
★Clean first: TRIM, duplicates
worldremotejobs.com@keshav_consults
Screenshot it. Save it. Share it.
Keep this card on your phone and look at it five minutes before your interview.
No. XLOOKUP is better, but it is only in Microsoft 365 and Excel 2021 or later. Many offices still use older versions, so learn both. INDEX with MATCH is another classic option.
Do analysts need macros and VBA?
For most fresher analyst roles, no. Strong formulas, pivot tables, charts and clean data matter more. Learn VBA or Power Query later if the job description asks for automation.
What happens in a live Excel test?
You usually get a small dataset and 3 to 5 tasks: look up values, count or sum with conditions, build a pivot, and find one insight. Think aloud and check your totals.
How do I practise Excel for interviews?
Download a free public sample dataset, such as sales or student data, and set yourself tasks: clean it, use XLOOKUP and SUMIFS, build a pivot and a chart, then write two lines on what you found.
One Comment