20 Excel Formulas That Feel Like Cheat Codes
- Tiers 1–2 work in any Excel from 2016 onward. Tiers 3–4 need Microsoft 365 or Excel 2021+ — check before you build something a colleague can't open.
- The biggest jump in "feels like magic" isn't a single function, it's
LETandLAMBDA: they let you name and reuse logic instead of repeating it three times in one cell. OFFSETandINDIRECTare powerful and volatile. Use them on purpose, not by default.- Most of these exist in Google Sheets too. The version table at the end tells you exactly which ones don't.
Most "Excel tips" lists are the same five functions everyone already knows, reordered. This one is organised by how much they change what you can do in one cell, from formulas that quietly replace three helper columns to ones that let you write your own custom function without a line of VBA. Every example below is tested syntax, not a paraphrase, and every version claim is checked, not guessed.
TIER 1 Everyday cheat codes
These five work in Excel 2016 and every version since, plus Google Sheets, so there's no compatibility excuse for not using them. Each one replaces a clumsier multi-formula habit with a single readable line, and none of them require dynamic arrays or a 365 subscription.
TEXTJOIN
Unlocks: combining a range of cells into one string with a delimiter, skipping blanks automatically.
IFS
Unlocks: replacing a nested IF pyramid with one flat list of condition/result pairs.
SWITCH
Unlocks: mapping one value to many exact outcomes without repeating the same comparison.
SUMPRODUCT
Unlocks: a multi-condition sum across arrays without an array-entered formula or SUMIFS' AND-only limits.
AGGREGATE
Unlocks: SUM, AVERAGE or MAX that silently ignores errors or hidden rows, in one function.
TIER 2 Power combos
Tier 2 is technique rather than novelty: still Excel 2016-compatible, but each one solves a problem that normally takes a workaround. Two of them, OFFSET and INDIRECT, are genuinely powerful and genuinely easy to misuse, so read the caution note before you build a model around them.
INDEX + MATCH×2
Unlocks: a true two-way lookup — find a value by matching both its row AND its column.
OFFSET
Unlocks: a range that moves or resizes based on other cells, e.g. a rolling 12-month window.
INDIRECT
Unlocks: building a cell or sheet reference from text, so a formula can point at a different tab by name.
CHOOSE
Unlocks: switching between several hardcoded scenarios by index, without an IF chain.
RANDBETWEEN
Unlocks: instant realistic test data for a mock dataset, no plugin needed.
TIER 3 Dynamic array wizardry
Tier 3 needs Microsoft 365 or Excel 2021 and later — these will not calculate correctly, or will error out, in Excel 2019 or older. What makes them feel like cheat codes is that they spill: one formula in one cell produces a whole block of results that updates automatically as the source data changes.
UNIQUE
Unlocks: a live, deduplicated list that updates itself — no Remove Duplicates button, no stale copy.
FILTER
Unlocks: pulling only the rows that match a condition into a new location, live.
SORT
Unlocks: a sorted copy of your data without touching the source, and it re-sorts on its own.
SEQUENCE
Unlocks: generating a numbered list, calendar grid, or row of dates from one formula.
TEXTSPLIT
Unlocks: splitting one text string into multiple cells with a formula, live-updating unlike Text to Columns.
TIER 4 365-exclusive sorcery
Tier 4 is Microsoft 365 only, full stop — these functions won't open in a perpetual-licence copy of Excel at all. This is also where the "feels illegal" reputation comes from: LET and LAMBDA let you write logic once and reuse it, which is closer to programming than spreadsheeting.
LET
Unlocks: naming a value or sub-calculation inside a formula so you compute it once and reuse it.
LAMBDA
Unlocks: writing your own reusable function with a name, no VBA and no add-in.
=TaxedPrice(B2) anywhere.Spill operator (#)
Unlocks: referencing an entire dynamic array result without knowing how big it is.
GROUPBY
Unlocks: a pivot-table-style summary built with one formula instead of Insert > PivotTable.
BYROW / MAP
Unlocks: applying your own LAMBDA to every row or every cell in a range, one formula, no fill-down.
Bonus round: the conditional formatting trick nobody shows you
Conditional formatting normally colours one cell. The trick is a formula rule with a partly-locked reference, which highlights an entire row based on a single column's value — the kind of thing that looks like a hidden feature the first time you see it.
Select the whole data range, then Home → Conditional Formatting → New Rule → Use a formula, and enter a rule like =$D2="Overdue". The dollar sign locks column D while the row number stays relative, so every row checks its own D cell and the whole row lights up together. Apply the formatting, and you have a self-maintaining highlight rule instead of manually colouring rows by hand.
Version cheat sheet
| Function | Minimum Excel version | Google Sheets |
|---|---|---|
TEXTJOIN | 2016 (365 first) | Yes |
IFS / SWITCH | 2019 | Yes |
SUMPRODUCT | All versions | Yes |
AGGREGATE | 2010+ | No equivalent |
INDEX / MATCH | All versions | Yes |
OFFSET / INDIRECT | All versions | Yes |
CHOOSE / RANDBETWEEN | All versions | Yes |
UNIQUE / FILTER / SORT | 365 / 2021 | Yes |
SEQUENCE | 365 / 2021 | Yes |
TEXTSPLIT | 365 only | Different: SPLIT() |
LET / LAMBDA | 365 only | Yes (added 2022) |
Spill operator # | 365 only | No equivalent |
GROUPBY | 365 only, newer builds | No equivalent |
Don't want to memorise all 20?
Describe what you're trying to do in plain English and XLsheetAI writes the exact formula for you, explains it, and lets you practise it hands-on.
Want the fundamentals first? Start with the Excel formulas cheat sheet, or see how XLOOKUP compares to VLOOKUP for the lookup side of things.
FAQ
Which Excel version do I need for these formulas?
Tiers 1 and 2 work in Excel 2016 and later, including old perpetual licences. Tier 3 (UNIQUE, FILTER, SORT, SEQUENCE, TEXTSPLIT) needs Microsoft 365 or Excel 2021. Tier 4 (LET, LAMBDA, the spill operator, GROUPBY) is Microsoft 365 only and will not open correctly in older files.
Do these formulas work in Google Sheets?
Most do. TEXTJOIN, IFS, SWITCH, SUMPRODUCT, INDEX/MATCH, OFFSET, INDIRECT, CHOOSE, RANDBETWEEN, UNIQUE, FILTER, SORT, SEQUENCE, LET and LAMBDA all exist in Sheets, sometimes with small syntax differences. AGGREGATE, TEXTSPLIT, the # spill operator and GROUPBY are Excel-only; Sheets has different tools for the same jobs.
What is the single most useful formula on this list?
For most people, LET. It lets you name a calculation once inside a formula and reuse it, which cuts down repeated sub-formulas, shortens long expressions, and makes a formula bar readable enough that you can actually debug it six months later.
Is it risky to use OFFSET and INDIRECT in a real workbook?
Both are volatile, meaning Excel recalculates them on almost every change, which slows down large files. They are also harder to audit than a plain reference because the range isn't visible until you evaluate the formula. Use them when you genuinely need a moving range or dynamic sheet name, not as a default habit.
What does the # spill range operator actually do?
When a dynamic array formula in Excel 365 spills results into multiple cells starting at, say, D2, typing D2# in another formula refers to the entire spilled block, however large it currently is. It removes the need to guess or hardcode how many rows the result will occupy.
XLsheetAI