Free Excel lessons

Learn every Excel function, and VBA, the clear way.

519 functions explained with real spreadsheets you can read at a glance, a 34-lesson Excel course and a 33-lesson VBA course. No sign-up.

ƒx

Excel functions

All 519 functions: syntax, examples, errors and tips.

Browse functions →
▦

Courses

Excel, VBA, Power Query, Power Pivot & DAX and Excel test prep.

109 lessons →
✓

Practice

Formula playground, daily challenge, shortcut trainer and practice workbooks.

Start practising →

Most searched functions

XLOOKUPFinds a value in one range and returns the item in the same position of another range, with built-in not-found text and flexible match modes.VLOOKUPSearches the first column of a table for a value and returns a value from another column in the same row.SUMIFSAdds the values that meet several conditions at once, such as East-region laptop sales in April.IFTests a condition and returns one value when it is TRUE and another when it is FALSE. The basis of almost every decision formula in Excel.COUNTIFSCounts the rows that meet several conditions at once, such as deals that are in the North region and won and worth at least 2,000.INDEXReturns the value at a given row and column position inside a range, or a whole row or column of it.MATCHReturns the position of a value within a single row or column, such as 3 if it is the third item.FILTERReturns only the rows (or columns) of a range that meet one or more conditions, as a live list that updates when the data changes.SUMAdds numbers, cell ranges or both and returns the total. The most used function in Excel.IFERRORReturns a value you choose when a formula results in an error, and the formula's normal result otherwise. Ideal for tidying #DIV/0! and #N/A.TEXTFormats a number or date as text using a format code such as "#,##0.00", "0%" or "dd-mmm-yyyy", e.g. for use in sentences and labels.UNIQUEReturns the distinct values (or distinct rows) from a range, removing duplicates, as a list that updates automatically.

Solve a task

How to average ignoring zeros in ExcelCalculate an average that skips zero values with AVERAGEIF, AVERAGE + FILTER in Microsoft 365, and handle blanks, errors and all-zero ranges.How to calculate a weighted average in ExcelCalculate an average where some values count more than others, such as grades or purchase prices, with SUMPRODUCT divided by SUM.How to calculate age in ExcelCalculate someone's age in whole years from a date of birth with DATEDIF or YEARFRAC, show years, months and days, and avoid the common errors.How to calculate percentage change in ExcelWork out the percentage increase or decrease between two numbers, handle zero and negative starting values, and apply a percentage change.How to calculate percentage of total in ExcelShow each item as a share of the total: divide by a locked SUM, use PERCENTOF in Microsoft 365, or a PivotTable's % of Grand Total.How to count unique values in ExcelCount how many different values a list contains with UNIQUE and COUNTA, or with SUMPRODUCT and COUNTIF in Excel 2016 and 2019.How to count working days between two dates in ExcelCount business days between two dates excluding weekends and holidays with NETWORKDAYS, or custom weekends with NETWORKDAYS.INTL.How to create a dependent drop-down list in ExcelMake a second drop-down that shows only the options for the first choice, with FILTER in Microsoft 365 or named ranges and INDIRECT in older Excel.

All 63 how-to recipes →

Fix an error

######BLOCKED!#BUSY!#CALC!#CONNECT!#DIV/0!#FIELD!#GETTING_DATA#N/A#NAME?#NULL!#NUM!#PYTHON!#REF!#SPILL!#UNKNOWN!#VALUE!Circular referenceGreen triangle

Functions by category

Lookup & reference40 functionsFind values in tables, return rows and columns, and reshape ranges with dynamic arrays.Logical19 functionsMake decisions in formulas with IF, IFS, AND, OR, SWITCH, LET and LAMBDA.Text49 functionsClean, split, join and reformat text: LEFT, MID, TEXTSPLIT, SUBSTITUTE, TEXT and the new regex functions.Date & time25 functionsWork with dates, times, deadlines, ages and working days.Math & trig80 functionsAdd, round, multiply and calculate: SUM, SUMIFS, ROUND, MOD, SUMPRODUCT and trigonometry.Statistical111 functionsCount, average, rank and analyse data, from COUNTIFS to regression and probability.Financial56 functionsLoans, savings, investments, depreciation and bonds: PMT, NPV, IRR, XIRR and more.Information21 functionsCheck what is in a cell: ISBLANK, ISNUMBER, ISERROR, CELL, TYPE and more.Database12 functionsSum, count and average a list with a criteria range: DSUM, DCOUNT, DGET.Engineering54 functionsConvert units and number systems, work with complex numbers and bitwise logic.Compatibility40 functionsOlder functions kept so old workbooks still work, and what to use instead.Web3 functionsEncode URLs, call web services and read XML.Cube7 functionsRead values from the Data Model and OLAP cubes into cells.AI & Python2 functionsPython in Excel and the COPILOT function.

Start the Excel course

  1. 1The Excel interface: workbooks, sheets and the ribbonA guided tour of the Excel window: workbooks, worksheets, the ribbon, the Name Box, the formula bar and the status bar, with hands-on steps.
  2. 2Entering and editing data: AutoFill, Flash Fill and UndoType numbers, text and dates correctly, edit cells, fill series with AutoFill, split and join text with Flash Fill, and recover with Undo.
  3. 3Formula basics: operators and order of operationsWrite your first Excel formulas: arithmetic operators, comparison and text operators, and the order in which Excel calculates, with worked examples.
  4. 4Cell references: relative, absolute and mixedUnderstand why formulas change when copied, lock cells with $A$1, use mixed references and F4, and refer to other sheets and workbooks.
  5. 5Introduction to functions: reading syntax and nestingLearn what a function is, how to read its syntax and arguments, use AutoSum and Insert Function, and nest one function inside another.
  6. 6Named ranges: give cells meaningful namesCreate named ranges with the Name Box, Create from Selection and Name Manager, use them in formulas, and learn scope, naming rules and named constants.

See all 34 lessons →

Start the VBA course

  1. 1What is VBA? Macros, when to use them and macro securityLearn what VBA and macros are, when VBA beats formulas or Power Query, how .xlsm files work and how to set macro security safely in the Trust Center.
  2. 2The Developer tab and the VBA editorShow the Developer tab, open the Visual Basic Editor and learn its windows: Project Explorer, Properties, code window, Immediate window and modules.
  3. 3The macro recorder: record, read and clean up codeRecord a macro, run it again, read the code Excel wrote, switch to relative references and clean recorded code into short, reliable VBA.
  4. 4Your first macro: Sub, MsgBox, running it and a buttonWrite a macro from scratch: the Sub structure, MsgBox, comments and line continuation, then run it in five ways and assign it to a button on the sheet.
  5. 5Variables and data types: Dim, Option Explicit and scopeStore values in variables: Dim, the main VBA data types, Option Explicit, constants, object variables with Set, and procedure, module and public scope.
  6. 6Range and Cells: working with cells in VBARefer to cells with Range and Cells, read and write values and formulas, use Offset, Resize, CurrentRegion, With blocks, formatting and clearing.

See all 33 lessons →