FxFormula Drills

Excel formula guides

Each guide answers one choice directly, then shows the syntax, a comparison, and a small sheet whose formulas are calculated by the same engine as the drills. Free exercises are listed first on every page.

Start with the free exercises if you would rather type the formula than read it.

Lookups

  • XLOOKUP vs VLOOKUPXLOOKUP is the lookup to use in Excel 2021, Microsoft 365, and Google Sheets. VLOOKUP remains the one older workbooks understand. Compare exact match, missing values, and direction.
  • INDEX and MATCH vs XLOOKUPINDEX and MATCH split a lookup into a position and a return. XLOOKUP does both in one call. See the syntax, a left lookup, and which Excel versions have each pattern.
  • XLOOKUP to return more than one columnHow to return a price and a quantity with XLOOKUP. Excel can spill both columns from one formula. Two separate lookups are the form that also works in older files and in these drills.

Conditional math

  • SUMIF examplesSUMIF adds numbers that meet one condition. Worked examples cover a region, a wildcard, and how SUMIF differs from SUM and from SUMIFS.
  • SUMIFS with multiple criteriaSUMIFS adds rows that pass every condition. See the argument order, an AND example, and how to add two SUMIFS formulas when you mean OR.
  • COUNTIF vs COUNTIFSCOUNTIF counts cells that meet one condition. COUNTIFS counts rows that meet every condition. Examples include a region, a threshold, and a two-column test.
  • AVERAGEIFS examplesAVERAGEIFS averages numbers that meet every condition. See how it differs from AVERAGE and AVERAGEIF, and why a miss returns #DIV/0!.
  • SUMPRODUCTSUMPRODUCT multiplies rows and adds the products. It also filters with multiplication for AND and addition for OR. Compare it with SUM and SUMIFS.

Logic and references

  • Absolute vs relative referencesRelative references move when you fill a formula down. Absolute references stay put. A tax-rate example shows $A$2, and what happens when the dollar signs are missing.
  • IF with AND and ORHow to combine tests inside IF. AND requires every test. OR requires one of them. Worked examples use a score cutoff and a region.
  • Nested IFA nested IF tests a second condition in the true or false branch of the first. See a letter-grade example, the parenthesis habit, and when IFS is the clearer formula.
  • IFERROR vs IFNAIFERROR replaces any error. IFNA replaces only #N/A. Examples show a divide-by-zero that IFNA leaves alone, and a missing VLOOKUP that both functions can label.
  • IFS vs nested IFIFS checks pairs in order and returns the first match. Nested IF puts each next test in the previous else. A shipping tier shows both, including the #N/A IFS returns when nothing matches.

Text, dates, and dynamic arrays

  • FILTER vs Advanced FilterThe FILTER function spills matching rows and updates when the data changes. Excel's Advanced Filter is a command, not a formula. See both, with a worked East-sales example.
  • The UNIQUE functionUNIQUE spills the distinct values in a list. Compare it with Remove Duplicates, and see the exactly-once option that keeps values that appear a single time.
  • TEXTSPLIT, and joining text back togetherTEXTSPLIT spills a cell into columns at a delimiter. It is in Microsoft 365 and Excel 2024, not Excel 2021. Google Sheets uses SPLIT. Joining the pieces back is TEXTJOIN, CONCAT, or &.
  • NETWORKDAYS with holidaysNETWORKDAYS counts business days from the start through the end and can exclude a holiday list. Weekends are Saturday and Sunday. A holiday on a weekend is already excluded.

Practice

  • VLOOKUP practice testA short VLOOKUP practice test with a horizontal HLOOKUP, an exact product lookup, and sorted commission brackets. Answers and formulas are checked against the site's formula engine.
  • Excel formula interview questionsFormula questions you can answer on a blank sheet: SUMIF, an exact lookup, IF with AND, and NETWORKDAYS. No claimed pass rates. Each answer is a formula with a checked result.
  • Excel formula assessment practiceSix short assessment tasks: SUM, a locked tax rate, COUNTIF, an exact VLOOKUP, NETWORKDAYS, and ROUND. Results are checked. Free drills are listed first.