SUMIF
Add up numbers — but only the rows that match a condition.
BeginnerSmall, editable playgrounds for the formulas you actually use — change the inputs, watch the result recompute, keep the intuition.
Formula Gym turns each formula into a hands-on sandbox. Instead of memorising syntax, you change the arguments and watch the result resolve in real time — so when you hit a real problem, you reach for the right formula because you already know what each piece does. Today the catalogue covers spreadsheet functions (VLOOKUP, SUMIF, and more on the way). Math identities, physics equations, and trading indicators will follow on their own subdomains as the library grows.
Browse the full index with categories, or jump straight to a function below. Topics on math, physics, and trading indicators will move to their own subdomains as they grow.
Add up numbers — but only the rows that match a condition.
BeginnerFind a value in a table and return data from the same row.
BeginnerThe modern successor to VLOOKUP. Exact match by default; looks either way.
BeginnerTwo functions that compose into the most flexible lookup pattern.
IntermediateSUMIF with multiple conditions. Different argument order — watch out.
BeginnerThe simplest decision maker — return one value if TRUE, another if FALSE.
BeginnerCount how many cells in a range meet a single condition.
BeginnerCOUNTIF with multiple conditions — AND'd together, up to 127 pairs.
BeginnerCatch any formula error and substitute a clean fallback value.
BeginnerMulti-condition averaging. Returns #DIV/0 when no rows match — not 0.
BeginnerJoin a range with any delimiter. The modern replacement for CONCATENATE.
BeginnerRound to a digit count. Positive for decimals, negative for tens/hundreds.
BeginnerDedupe a range — or find values that appear exactly once.
IntermediateKeep rows that pass a boolean test. The dynamic-array AutoFilter.
IntermediateBuild a date from year, month, day — including the overflow rollover trick.
BeginnerTake the first N characters of a text value. Pairs with FIND for dynamic splits.
BeginnerReplace text by value — every match, or just the Nth one with instance_num.
BeginnerLargest numeric value in a range. Silently skips text, blanks, and booleans.
BeginnerSmallest numeric value in a range — mirror of MAX, same silent skips.
BeginnerArithmetic mean of a range. Skips text and blanks; zeros are counted.
BeginnerStrip leading/trailing spaces and collapse internal runs — import cleanup.
BeginnerTake the last N characters of a text value — mirror of LEFT.
BeginnerLast day of a month offset by N. Leap-year aware — no 28/29/30/31 logic.
BeginnerCut a substring from any position — month from a date, domain from an email.
BeginnerReorder a range by any column, ascending or descending — live, spilled, no menu.
IntermediateFlat cascade of test/value pairs. Modern replacement for deeply nested IF.
BeginnerCount characters in a value. Pairs with TRIM to diagnose hidden whitespace.
BeginnerLocate a substring's position. Feeds LEFT/MID/RIGHT for dynamic text splits.
BeginnerThe foundational total. Skips blanks and text; underpins every SUMIF / SUMIFS.
BeginnerCurrent date as a live value. Drives deadlines, age, freshness flags.
BeginnerSurgical sibling of IFERROR. Catches #N/A only; real bugs stay visible.
BeginnerLegacy text joiner. Still ubiquitous in old sheets; superseded by CONCAT/TEXTJOIN.
BeginnerCount numeric cells only. Diagnoses text-stored-number bugs paired with COUNTA.
BeginnerCount every non-blank cell. Natural for 'how many rows exist' questions.
BeginnerShift a date by N months. Clamps Jan 31 + 1 month to Feb 28 automatically.
BeginnerAlways rounds away from zero. Capacity planning, pagination, price ceilings.
Beginner