Excel function reference
38 functions that carry most real work — chosen because they appear in actual jobs and actual interviews, not to pad a list. Each page has the syntax, a worked example with real numbers, and the mistake people make with it.
Reading these produces recognition. If you want recall, go straight to the practice exercises instead — they are where the learning happens.
Logical Functions
Make a spreadsheet decide: bonuses, flags, thresholds and tiers.
- IFReturns one value when a test is true and another when it is false.13 exercises
- IFSChecks several conditions in order and returns the first match.2 exercises
- ANDReturns TRUE only when every condition is true.2 exercises
- ORReturns TRUE when at least one condition is true.3 exercises
- IFERRORReturns a value you choose when a formula errors, and the formula's result otherwise.1 exercise
Lookup & Reference
Pull matching values across tables instead of copying them by hand.
- VLOOKUPFinds a value in the first column of a table and returns a value from another column.3 exercises
- XLOOKUPFinds a value in one range and returns the matching value from another — in any direction.6 exercises
- INDEXReturns the value at a given row and column position in a range.4 exercises
- MATCHReturns the position of a value within a range.4 exercises
Text Functions
Split, join and clean the messy text every export produces.
- LEFTReturns a set number of characters from the start of a text value.3 exercises
- RIGHTReturns a set number of characters from the end of a text value.1 exercise
- MIDReturns characters from the middle of a text value, given a start point.2 exercises
- LENCounts the characters in a text value, spaces included.1 exercise
- FINDReturns the position of one text value inside another. Case-sensitive.3 exercises
- SEARCHLike FIND, but ignores case and accepts wildcards.1 exercise
- CONCATJoins text values together into one.1 exercise
- TEXTJOINJoins text values with a separator, and can skip the empty ones.2 exercises
- TRIMRemoves the spaces before and after text, and collapses repeated spaces inside it.1 exercise
- TEXTFormats a number as text using a format code, for padding, percentages and fixed decimals.1 exercise
Date & Time
Calculate ageing, tenure, deadlines and month-on-month periods.
- TODAYReturns the current date, updating each time the sheet recalculates.2 exercises
- DATEBuilds a date from separate year, month and day values.1 exercise
- DATEDIFCounts the complete years, months or days between two dates.1 exercise
- EOMONTHReturns the last day of the month a given number of months from a date.1 exercise
- NETWORKDAYSCounts the working days between two dates, skipping weekends and listed holidays.1 exercise
Math Functions
Total, round and aggregate numbers the way finance expects.
Statistical Functions
Find averages, extremes and rankings that survive scrutiny.
- AVERAGEReturns the arithmetic mean of a range, ignoring empty cells.3 exercises
- COUNTCounts how many cells in a range contain numbers.1 exercise
- COUNTIFCounts cells that meet one condition.7 exercises
- COUNTIFSCounts cells that meet several conditions at once.4 exercises
- MINReturns the smallest number in a range.1 exercise
- MAXReturns the largest number in a range.2 exercises
- LARGEReturns the nth largest value — the third-best rep, not just the best.3 exercises
- SMALLReturns the nth smallest value in a range.3 exercises
- MEDIANReturns the middle value — the one an outlier can't drag around.2 exercises
- AVERAGEIFAverages only the cells that meet one condition.1 exercise