Excel formulas & functions reference
Microsoft Excel is still the most widely used analysis tool on the planet, and formulas are what unlock it. This section of the XLFormula AI library is a working reference to the functions that actually appear in real spreadsheets — from lookup and logical functions to dynamic arrays, financial math, and modern additions like LAMBDA and LET.
Every guide follows the same shape: a plain-English explanation, the exact syntax, worked examples you can paste into a sheet, common errors with their fixes, and best-practice notes. We focus on the patterns you'll use daily — building dashboards, cleaning data, reconciling reports, and automating repetitive tasks — rather than exhaustively documenting every argument. Whether you're new to spreadsheets or you already ship complex financial models, the goal is the same: help you write correct, maintainable formulas faster, and know when to reach for XLFormula AI's generator instead of hand-crafting one from scratch.
What you'll learn
Core concepts covered across guides in this section.
- Lookup patterns: VLOOKUP, XLOOKUP, INDEX MATCH, and when to use each
- Conditional aggregation with SUMIFS, COUNTIFS, and AVERAGEIFS
- Text manipulation: TEXT, TEXTJOIN, LEFT/RIGHT/MID, SUBSTITUTE
- Date and time math with EDATE, EOMONTH, NETWORKDAYS, WEEKDAY
- Dynamic arrays: FILTER, SORT, UNIQUE, SEQUENCE
- Financial formulas: PMT, IPMT, NPV, IRR, XIRR
- Custom logic with LAMBDA, LET, and named formulas
- Error handling and debugging (#N/A, #VALUE!, #REF!, #CALC!)
Featured Learning Guides
Master Excel, Google Sheets, VBA and business automation through practical tutorials, real-world examples and downloadable resources.
- Guides
- 250+
- Cadence
- Updated Weekly
- Skill range
- Beginner → Advanced
- Access
- Free + Pro
- XLOOKUIntermediate
Excel • Lookup
XLOOKUP
Modern replacement for VLOOKUP with fallbacks, wildcard, and reverse search.
4.918,400 readersPopular8 min read22 ExamplesUpdated Jul 15, 2026Read Guide - VLOOKUBeginner
Excel • Lookup
VLOOKUP
Classic left-to-right lookup — still ubiquitous in legacy workbooks.
4.824,100 readersPopular6 min read18 ExamplesUpdated Jul 5, 2026Read Guide - INDEXMIntermediate
Excel • Lookup
INDEX MATCH
The most flexible lookup pattern; works in any direction.
4.912,800 readers9 min read15 ExamplesUpdated Jun 28, 2026Read Guide - SUMIFSBeginner
Excel • Aggregation
SUMIFS
Multi-criteria conditional sums for reports and dashboards.
4.715,600 readers6 min read20 ExamplesUpdated Jul 10, 2026Read Guide - FILTERIntermediate
Excel • Dynamic Arrays
FILTER
Dynamic array function that returns rows matching one or more conditions.
4.99,800 readers7 min read17 ExamplesUpdated Jul 12, 2026Read Guide - IFIFSSComing Next
Excel • Logical
IF, IFS & SWITCH
Branching logic patterns for readable conditional formulas.
Learn:
- Nested vs. IFS
- SWITCH for readability
- Common IF pitfalls
5 min read12 ExamplesUpdated RecentlyExpected: August 2026
- TEXTTEComing Next
Excel • Text
TEXT, TEXTJOIN & SUBSTITUTE
Format numbers, concatenate lists, and clean messy text.
Learn:
- Format codes
- TEXTJOIN with filters
- Cleaning imports
6 min read14 ExamplesUpdated RecentlyExpected: August 2026
- EDATEEComing Next
Excel • Date & Time
EDATE, EOMONTH & NETWORKDAYS
Date math for month-ends, due dates, and working days.
Learn:
- Month-end math
- Working-day counts
- Rolling periods
6 min read11 ExamplesUpdated RecentlyExpected: September 2026
- PMTIPM ProPro
Excel • Financial
PMT, IPMT & NPV
Financial functions for loans, amortisation, and investment analysis.
- Download workbook files
- Sample datasets included
- Guided exercises
- AI walkthrough
- LAMBDA ProPro
Excel • Advanced
LAMBDA & LET
Named formulas and custom functions without VBA.
- Download workbook files
- Sample datasets included
- Guided exercises
- AI walkthrough
- DYNAMIEarly Access
Excel • Dynamic Arrays
Dynamic arrays (SORT, UNIQUE, SEQUENCE)
Spillable formulas that replace helper columns.
Learn:
- Spilled ranges
- Combining SORT + UNIQUE
- Performance tips
7 min read13 ExamplesUpdated RecentlyExpected: August 2026
- POWERQ ProPro
Excel • Data
Power Query basics
Load, shape, and refresh external data without a single formula.
- Download workbook files
- Sample datasets included
- Guided exercises
- AI walkthrough
Need a custom formula instead?
Generate Excel, Google Sheets or VBA code instantly using XLFormula AI.
Generate with AIWho is this for?
- Analysts and finance professionals building models and dashboards
- Operations, sales, and marketing teams who live in spreadsheets
- Students and career-switchers learning Excel from scratch
- Anyone who wants to stop Googling the same formula every week
Why it matters
Getting formulas right is the difference between a spreadsheet that quietly compounds errors and one you can trust for decisions. Modern Excel has changed dramatically — dynamic arrays, LAMBDA, and Power Query have replaced a decade of workarounds — but most teams still write formulas as if it were 2010.
These guides show the current, recommended way to solve everyday problems so your workbooks stay fast, auditable, and easy for teammates to maintain.
Frequently asked questions
- Which Excel version do these guides target?
- Everything is written for Microsoft 365 and Excel 2021+, with notes wherever a function is missing in older versions.
- Do the formulas work in Excel for the web?
- Yes. Every core function on this page — XLOOKUP, FILTER, SUMIFS, dynamic arrays — is fully supported in Excel for the web and desktop.
- Should I still learn VLOOKUP?
- Yes, because it appears in almost every legacy workbook. For new work prefer XLOOKUP or INDEX MATCH.
- How do I fix #N/A, #VALUE!, #REF! errors?
- Each individual formula guide has a Common Errors section that lists the cause and the fix for each error code.
- Can XLFormula AI write these formulas for me?
- Yes. Describe what you need in plain English on the homepage and get a ready-to-paste Excel formula.
Explore related sections
Need a custom formula right now?
Describe what you need in plain English and get a ready-to-paste formula or script in seconds.
Generate a formula with XLFormula AI