Festival Season OfferUp to 25% off on all our programmes — claim it before you enrol
← All Career InsightsData Analytics

Which Excel formulas should every data analyst know?

The Excel formulas a data analyst uses most are lookups (XLOOKUP or INDEX with MATCH), conditional totals (SUMIFS, COUNTIFS, AVERAGEIFS), logic (IF, IFS, IFERROR), text and date cleaning (TRIM, TEXT, LEFT, DATE) and dynamic arrays (UNIQUE, FILTER, SORT). Together with pivot tables, these cover most everyday reporting and data cleaning tasks.

Why a small set of formulas does most of the work

Most analyst work in Excel follows the same pattern: bring data from two sheets together, clean it, then total or count it by category. A dozen formulas cover those steps. Knowing them well, including their mistakes and edge cases, matters more than knowing hundreds by name.

These are also the formulas interviewers ask about in Excel tests, often with a small dataset and a question such as "total sales by region for last quarter".

Lookup and conditional total formulas

Examples assume a sales table with columns for region, product, date and amount.

XLOOKUP

=XLOOKUP(A2, Products[ID], Products[Price], "Not found") finds a product's price by its ID and shows a message when it is missing. Use INDEX with MATCH in older versions of Excel.

SUMIFS

=SUMIFS(Sales[Amount], Sales[Region], "South", Sales[Date], ">="&DATE(2026,7,1)) totals South sales from July 2026 onwards.

COUNTIFS

=COUNTIFS(Sales[Region], "South", Sales[Amount], ">10000") counts large orders in one region.

AVERAGEIFS

=AVERAGEIFS(Sales[Amount], Sales[Product], "Laptop") gives the average order value for one product.

Cleaning, logic and date formulas

Use these to prepare messy data before you total it:

  • TRIM and CLEAN remove extra spaces and hidden characters that stop lookups from matching.
  • UPPER, LOWER and PROPER standardise text such as city names.
  • LEFT, RIGHT, MID and TEXTSPLIT pull codes or names out of longer text.
  • IF and IFS assign categories, such as =IF(D2>10000,"Large","Standard").
  • IFERROR replaces error values with something readable, but use it after you understand why the error happened.
  • TEXT, DATE, EOMONTH and DATEDIF format dates and work out month ends and ages.

Dynamic array formulas that save time

In Microsoft 365 and Excel 2021 or later, one formula can return a whole list.

UNIQUE

=UNIQUE(Sales[Region]) lists each region once, a quick way to build a category list.

FILTER

=FILTER(Sales, Sales[Region]="South") returns only the South rows and updates when data changes.

SORT and SORTBY

=SORTBY(Sales, Sales[Amount], -1) sorts the table from the largest order down.

LET

Names a part of a long formula so you calculate it once and the formula stays readable.

Formulas or a pivot table: how to decide

Both summarise data. Pick the one that fits the job.

  1. Exploring a new dataset

    Use a pivot table. You can drag fields around and see totals by any category in seconds.

  2. Building a fixed report

    Use SUMIFS or COUNTIFS in a layout you design, so the numbers sit exactly where the report needs them.

  3. Data that grows every week

    Turn the data into an Excel Table first, so formulas and pivot tables pick up new rows automatically.

  4. Repeating the same cleaning

    When you clean the same export every week, move the steps into Power Query instead of copying formulas.

Quick answers about Excel for data analysts

Short answers to what learners search for most.

Is XLOOKUP better than VLOOKUP?

Usually yes. XLOOKUP can look left, does not break when columns are inserted, defaults to an exact match and has a built-in value for missing results. VLOOKUP is still worth recognising in older files.

Which Excel version do analysts need?

Microsoft 365 or Excel 2021 and later include XLOOKUP and dynamic arrays such as UNIQUE and FILTER. Older versions can do the same work with INDEX, MATCH and pivot tables.

Are pivot tables enough for data analysis in Excel?

They are excellent for quick summaries, but you still need formulas to clean data, join tables and build fixed report layouts.

What Excel questions come up in analyst interviews?

Common tasks are a lookup between two sheets, a conditional total with SUMIFS, cleaning text with TRIM, a pivot table by category and a simple chart.

Should I learn Excel or SQL first?

Excel is usually the easier start and is used in almost every team. SQL becomes essential once data lives in databases, so plan to learn both.

Grow from Excel to full analytics

See where Excel sits in the Data Analytics syllabus, or read the related guides.

See the Data Analytics programmeSee the Excel for Data Analysis moduleRead: is Excel enough to become a data analystRead: how to learn SQL for data analysisRead: build your first Power BI dashboardBrowse all Career Insights

Practise on one real dataset

Download a public sales or survey dataset and answer five business questions with lookups, conditional totals and a pivot table. Then rebuild the same answers with dynamic arrays. That single file teaches more than a list of formulas.

Train for a Data Analytics role

The same programme, duration and fees, with the learning path built around one job role.

Data AnalystBI AnalystBusiness AnalystReporting AnalystAnalytics ConsultantDashboard Developer

Master Excel and analytics with guidance

Ask our team how the Data Analytics programme teaches Excel, SQL and Power BI.

Our admissions team will call you back within 90 minutes.
AddressHouse No. 3-535, 3rd Floor A Section, LR Towers, 100 Feet Road, Ayyappa Society, Madhapur, Hyderabad, Telangana 500081