Excel isn’t being replaced by SQL, Power BI or Python. It’s being repositioned — as the place where analysts check, explore and explain their numbers.
In a modern data workflow, Excel sits in the middle. Data is pulled out of a database — often with SQL — and Excel is where an analyst takes a first look, checks that the numbers reconcile, tests a quick “what if” and explains the result to the people who need it. When the same work has to be repeated every week, shared by several people or scaled to large data, it moves on: to Power BI for recurring reports, to a database or pipeline for shared data, and to Python for models and automation.
This guide shows where that line falls, using the online grocery business from our explainers on KPIs and SQL for Business Questions. Last week we wrote the query. This week the analyst has exported October’s orders to a spreadsheet — and has to decide what to do with them.
Is “Excel or SQL or Power BI?” the right question?
New analysts often ask which of these tools they should learn, as if they compete. In practice, most analytics work uses several of them, each for a different step. The more useful question is: which job is this step of the work doing?
Each tool does the step it is best at. Excel’s job is to check, explore and explain.
| Step | Typical tool | Its job |
|---|---|---|
| Get the data | SQL | Pull the right rows from the database, already filtered and joined |
| Look, check, explain | Excel | First look, reconciliation, small models, one-off answers, handing results over |
| Repeat it | Power BI (or another BI tool) | The same view, refreshed, for the same audience, every week |
| Scale or automate it | Python | Large data, statistics and machine learning, scheduled processing |
What does Excel do well in a modern workflow?
Five jobs, in roughly the order an analyst meets them.
1. A first look at a new extract
Before any formula, look at the data. Format the range as a Table (Ctrl+T) so new rows are included automatically, then sort, filter and build a quick PivotTable. Which cities appear? Are there statuses you didn’t expect? Are any values blank, negative or suspiciously large? This is the fastest way to find out whether the extract is what you think it is.
2. Checking and reconciling
An export is only useful if it matches its source. Two checks catch most problems:
- Row counts. Does the number of rows — or a COUNTIFS on the rows that matter — match the count from the SQL query?
- One trusted total. Does one total match a figure the business already relies on, such as finance’s monthly revenue?
The next section shows why this matters even when every formula is correct.
3. Small what-if models
“If a promotion lifts Kolkata revenue by 5%, what does next month look like?” A spreadsheet answers this kind of question in seconds — provided the assumption is visible. Put each input in its own labelled cell and refer to it:
| A | B | |
|---|---|---|
| 1 | Kolkata delivered revenue (October) | 3,050 |
| 2 | Assumed uplift | 5% |
| 3 | Projected revenue | =B1*(1+B2) → 3,202.5 |
Illustrative figures.
Change B2 and everything downstream updates. Typing =3050*1.05 gives the same number today, but nobody can see the 5%, question it or change it next week.
4. One-off questions
“Which city had the most cancellations in October?” If the question will be asked once, a PivotTable on the extract is usually quicker than writing a new query or building a dashboard. The test is honesty about the “once”: if the same question comes back every Monday, it belongs in a recurring report.
5. The last mile
Many of the people who use analysis — in finance, sales and operations — work in spreadsheets. Handing them a clean, labelled sheet they can sort and inspect themselves is often the quickest way to earn trust in a number.
Which Excel skills actually matter for analysts?
Not hundreds of shortcuts. A short list of habits does most of the work:
| Skill | Why it matters |
|---|---|
| Format data as a Table | Ranges grow with the data; formulas and pivots follow |
| SUMIFS / COUNTIFS | Conditional totals and counts you can check against the source |
| XLOOKUP (or INDEX/MATCH) | Exact-match lookups across sheets. XLOOKUP needs Excel 2021 or Microsoft 365; INDEX/MATCH works in older versions |
| PivotTables | Break a total down by any field in seconds |
| Power Query | Turns manual clean-up into recorded steps you refresh instead of redo |
| Assumption cells | Inputs visible, labelled and changeable — never buried in formulas |
| One clear chart | One message per chart, labelled so it can travel without you |
What should you check before you send the spreadsheet?
Here are the Kolkata rows from the illustrative October extract:
| A | B | C | D | |
|---|---|---|---|---|
| 1 | order_id | city | order_value | status |
| … | 1001 | Kolkata | 640 | delivered |
| … | 1003 | Kolkata | 880 | cancelled |
| … | 1005 | Kolkata | 1,150 | delivered |
| … | 1007 | Kolkata | 720 | delivered |
| … | 1010 | Kolkata␣ | 540 | delivered |
Illustrative data. ␣ marks a trailing space. The full extract has ten rows across four cities.
The formula for Kolkata’s delivered revenue looks right:
=SUMIFS(C:C, B:B, "Kolkata", D:D, "delivered")
It returns ₹2,510. The correct answer is ₹3,050. Order 1010’s city was stored as “Kolkata” with a trailing space, so it doesn’t match “Kolkata” and drops out of the total. There is no error and no warning — just a plausible number that is ₹540 short.
A count would have caught it. =COUNTIFS(B:B, "Kolkata", D:D, "delivered") returns 3; the SQL query from last week counts 4 delivered Kolkata orders. When the counts disagree, look for the missing row before you look at the total.
Before sending any spreadsheet, run five checks:
- Row count matches the source extract.
- Text is clean — no stray spaces (use TRIM in a helper column, or Power Query’s Trim step), and numbers are stored as numbers, not text.
- PivotTables are refreshed after the data changed.
- No values are pasted over formulas.
- One total reconciles to a figure the business trusts.
Many of these problems start in the data rather than in Excel. Our guide Data Cleaning: What to Fix Before You Trust Your Analysis covers what to check there.
When has the work outgrown the spreadsheet?
Excel is not the wrong tool. But some work stops being analysis and starts being a system — shared, repeated, depended on. These six signs usually mean it is time to move that part out:
| Sign | What it means | Where the work should move |
|---|---|---|
| The same report is rebuilt by hand every week | The steps are fixed; only the data changes | Power Query, then a Power BI report |
| Files called “Final_v7_REVISED.xlsx” travel by email | Several versions of the truth | One shared source everyone reads from |
| The data is close to the worksheet limit — or the file crawls | Excel holds up to 1,048,576 rows per sheet (Microsoft) | A database, queried with SQL |
| Data is copy-pasted from several sources every day | Manual integration, easy to get wrong | A data pipeline |
| Nobody knows who changed which number | No history or review | Version control and a controlled source |
| The work needs statistics, models or automation | Beyond what formulas do reliably | Python (which can still read and write Excel files — see How to Read and Write xlsx Files in Python) |
Moving a piece of work out doesn’t mean leaving Excel behind. The analyst still uses it to check what the new report or pipeline produces.
Where does Power Query fit?
Power Query (labelled “Get & Transform” on Excel’s Data tab since Excel 2016) is the bridge between one-off spreadsheet work and a repeatable process. Instead of cleaning the extract by hand — trimming spaces, fixing types, removing cancelled rows — you record those steps once. Next month you click Refresh and the same steps run on the new data.
It is often the first fix for the “rebuilt every Monday” problem, and the same technology sits inside Power BI, which makes it a natural step towards a dashboard. We cover that build in our next explainer.
Excel or not? A five-question checklist
Before opening a spreadsheet for a piece of work, ask:
- Will this be asked once, or every week? Once → Excel. Every week → plan for a report.
- Does someone need to see or change the assumptions? Yes → Excel with assumption cells.
- Will the data fit — and stay small? No → a database.
- Who else edits this file? More than one person → one shared source.
- Can one total be reconciled to a trusted number? If not, fix that before sharing anything.
Frequently asked questions
Is Excel still worth learning if I know SQL and Python?
Yes, for the jobs it does best: quick exploration, checking and reconciling, small models and sharing results with business users. Most analysts use it alongside SQL and a BI tool rather than instead of them.
Should I learn XLOOKUP or VLOOKUP?
If your Excel version has XLOOKUP (Excel 2021 or Microsoft 365), it is simpler and safer: it defaults to an exact match and can look left as well as right. In older versions, INDEX with MATCH does the same job. Whichever you use, check for unmatched values — they are often a sign of stray spaces or text-numbers.
How large a dataset can Excel handle?
A worksheet holds up to 1,048,576 rows and 16,384 columns. In practice, files usually become slow and hard to check well before that. If the data is large or growing, keep it in a database and bring only the rows you need into Excel.
Where to go next
If you are building the skills for an analyst role, From B.Com to Data Analyst: A Realistic Roadmap for Commerce Graduates shows where Excel sits alongside SQL and Power BI. And if you haven’t read it yet, SQL for Business Questions: From Question to Query covers the step just before this one — getting the right rows out of the database.
