SUMIFS Examples: Sum with Multiple Criteria in Excel
SUMIFS examples with real data: two criteria, a date range, greater than, wildcards, "not equal" and COUNTIFS, plus the mistakes that return 0.
One question per guide, answered with a worked example, the formula in Excel and the mistakes to avoid. Then practise it in a lab that checks your answer.
Lookups, conditional sums and schedules, explained on finance data.
SUMIFS examples with real data: two criteria, a date range, greater than, wildcards, "not equal" and COUNTIFS, plus the mistakes that return 0.
XLOOKUP vs VLOOKUP side by side: exact match defaults, lookups to the left, not-found values, approximate matches and compatibility, with a worked example.
Build a loan amortization schedule in Excel with PMT, IPMT and PPMT: payment, interest, principal and balance per month, with a worked example.
How to make a waterfall chart in Excel: the built-in chart with Set as Total, and the stacked-column method for older Excel. Example with formulas.
How to make a histogram in Excel: the built-in chart with bin width and overflow bins, a COUNTIFS bin table, FREQUENCY and the ToolPak. Excel example.
Excel dashboard tutorial in six steps: plan the KPIs, build KPI cards with INDEX/MATCH and SUMIFS, a month picker, trend and target charts, sparklines.
SQL JOINs explained with Excel: an INNER and a LEFT JOIN rebuilt with XLOOKUP, why unmatched rows vanish, NULL as "Unknown" and the duplicate-key trap.
How to run a multiple regression in Excel with LINEST: coefficients in reverse order, standard errors, t stats, p-values, R² and a forecast. Excel example.
The haversine formula in Excel: great-circle distance between two latitude/longitude points in miles or km, step by step, with a ready-to-copy formula.
Nested IF vs IFS in Excel with a worked example: grade bands, commission tiers, why the order of tests matters, the TRUE fallback and XLOOKUP.
NETWORKDAYS counts working days, WORKDAY returns a due date. Excel example with a holiday list, NETWORKDAYS.INTL weekends and the off-by-one trap.
Law of cosines formulas for Excel: the third side from two sides and an angle, any angle from three sides with ACOS and DEGREES, and the RADIANS trap.
How to extract text between two characters in Excel with MID and FIND: brackets, the 2nd and 3rd hyphen, @ and a dot, TEXTBEFORE/TEXTAFTER. Excel example.
INDEX MATCH with multiple criteria in Excel: the MATCH(1,(…)*(…),0) formula, a version without Ctrl+Shift+Enter, XLOOKUP and SUMIFS. Worked example.
Ten Excel conditional formatting formula examples: highlight a row, overdue dates, top 3, below average, duplicates, banded rows, blanks. Worked example.
XIRR vs IRR in Excel: why IRR ignores dates, how XIRR uses them and which one to report. Worked Excel example with irregular cash flows and an XNPV check.
SUMPRODUCT with multiple criteria in Excel: AND by multiplying, OR without double counting, partial text, calculated criteria. Worked example in a sheet.
Why Excel shows #N/A and how to fix it: trailing spaces, numbers stored as text, missing values, IFNA vs IFERROR, with a worked Excel example.
Round to the nearest 0.05 in Excel with MROUND, always up with CEILING or down with FLOOR, plus .99 prices, case sizes and the #NUM! trap. Excel example.
Build a self-updating top 10 list in Excel without SORT: LARGE for the values, INDEX MATCH for the names and a unique rank so ties don't repeat names.
YTD formula in Excel with SUMIFS and two date conditions: year-to-date, prior-year YTD with EOMONTH, YoY growth, running YTD. Excel example.
Named ranges in Excel explained: create names in the Name box, use them instead of $B$1, naming rules, scope and #NAME? fixes. Excel example.
Build a habit tracker in Excel with a streak formula: COUNTIF per habit, current and longest streak, a success rate without rest days. Excel example.
How to use the FILTER function in Excel with multiple criteria: AND with *, OR with +, both together, an if-empty message and SORT. Excel example.
How the UNIQUE function in Excel lists distinct values, counts them with ROWS, finds values that appear exactly once and sorts them A to Z. Excel example.
How the LAMBDA function in Excel creates custom functions without VBA: parameters, inline tests, the Name Manager, LET, MAP and REDUCE. Excel example.
Find the area of any polygon from its corner coordinates with the shoelace formula in Excel: row by row, in one SUMPRODUCT and with LET. Worked example.
Build a pivot table with formulas instead of a PivotTable: a SUMIFS cross-tab with row and column totals, % of row and % of grand total. Excel example.
Borda count in Excel: count each option by rank with SUMIF, score with SUMPRODUCT, name the winner and compare it with plurality. Excel example.
Percent change formula in Excel: (new − old) / old, with an Excel example for growth, declines, a zero base, negative numbers and percentage points.
CAGR formula in Excel with an example: (end/start)^(1/years) − 1, RRI and POWER, why average growth overstates it, projections and annualised rates.
Build a dynamic monthly calendar in Excel from one date: the first Monday with WEEKDAY, a 6 × 7 SEQUENCE grid, hidden days of other months. Excel example.
Add extra payments to a loan amortization schedule in Excel: cap the last payment with MIN, find the payoff month and the interest saved. Excel example.
How the D'Hondt method allocates seats: divide votes by 1, 2, 3…, take the largest quotients and count seats with LARGE and COUNTIF. Excel example.
Build a weighted decision matrix in Excel: weights that add up to 100%, 0–10 normalised scores, SUMPRODUCT totals and the winning margin. Worked example.
How to combine tables from multiple sheets with VSTACK: one header row with DROP, a source column with HSTACK, totals and lookups. Excel example.
Bookkeeping, VAT and the ratios that read a set of accounts.
A complete trial balance example with 15 accounts: normal balances, debit and credit columns in Excel, how to find errors and what it cannot prove.
Calculate VAT from a gross amount: net = gross ÷ (1 + rate), VAT = gross − net. Excel formulas, examples at 20%, 19% and 5%, and the classic mistake.
The cash conversion cycle formula (DSO + DIO − DPO) explained with a two-year worked example in Excel, what the days cost in cash, and how to read it.
Current ratio vs quick ratio: both formulas, an Excel example of two firms with the same current ratio but very different liquidity, and how to read them.
DuPont analysis worked example: split ROE into net margin, asset turnover and equity multiplier (plus the 5-step version) for two companies with a 20% ROE.
A bank reconciliation example with deposits in transit, outstanding checks, bank charges, an NSF check, interest and a book error, plus journal entries.
Payroll journal entries with a worked example: gross pay, withholdings, employer contributions, net pay, paying the liabilities and accrued wages.
FIFO vs LIFO vs weighted average cost on one example: cost layers, COGS, ending inventory, gross profit and the LIFO reserve, with Excel formulas.
The chain ladder method step by step: claims triangle, age-to-age factors, CDFs, ultimate claims and IBNR, with a worked Excel example and pitfalls.
How to calculate the IFRS 16 lease liability: lease payments, discount rate, PV, right-of-use asset and the 5-year schedule. Worked Excel example.
Value an employee stock option grant with Black-Scholes in Excel and turn the grant-date fair value into annual stock compensation expense. Worked example.
The DSO formula with an Excel example: simple DSO, the count-back method, best possible DSO, days beyond terms and the cash a lower DSO frees up.
How to calculate days in A/R, A/R over 90 days and the net collection rate for a medical practice, with an Excel example and the common mistakes.
Diluted EPS calculation example: treasury stock method for options, if-converted method for bonds and preference shares, antidilution test. Excel example.
Statement of cash flows with the indirect method: start from net income, add back non-cash items and get the working capital signs right. Excel example.
Cost of capital, cash-flow valuation, returns and loan capacity.
Calculate WACC in Excel step by step: CAPM cost of equity, after-tax cost of debt and market-value weights, with a worked example (8.95%).
Build a DCF model in Excel: forecast free cash flow, discount it at the WACC, add a terminal value and bridge to value per share. Worked example.
Calculate IRR in Excel with IRR, XIRR and MIRR. Worked example with real cash flows, an NPV check and the mistakes that give wrong answers.
A simple LBO model in Excel: sources and uses, a five-year debt paydown, exit value, MOIC and IRR. Worked example with every formula (2.46x).
Calculate the Sharpe ratio in Excel from monthly returns: AVERAGE, STDEV.S and SQRT(12) to annualise, a two-fund example and the common mistakes.
How to calculate the cap rate: build NOI from rent, vacancy and expenses, divide by price, and turn a market cap rate into a value. Excel example.
DSCR explained: cash flow available for debt service ÷ interest plus principal. Examples for a business and a rental property, and loan sizing in Excel.
A three-statement model example in Excel: a one-year forecast where net income, working capital and capex link IS, BS and cash flow, and the check is 0.
Liquidation preference example in Excel: 1x non-participating, participating and capped preferred at four exit values, with the conversion point.
How to calculate pip value for any forex pair: units × pip size, then convert to USD. Yen pairs, USD/CHF, crosses and lot sizes in an Excel example.
The RSI formula in Excel: gains and losses, a simple first average, then Wilder's smoothing and RSI = 100 − 100/(1+RS). Worked example with 22 prices.
The Graham number formula √(22.5 × EPS × BVPS) in Excel: where 22.5 comes from, three worked stock examples, the net-net (NCAV) test and margin of safety.
Debt-to-income ratio calculation: front-end and back-end DTI, which debts count, typical US lender limits and the maximum loan, with an Excel example.
The impermanent loss formula for a 50/50 liquidity pool, a table of losses by price change and a $10,000 worked example in Excel, plus the fee break-even.
The LCOE formula, present value of costs ÷ present value of energy, with a 25-year rooftop solar example in Excel and the one-cell NPV shortcut.
A present worth analysis example from engineering economics: two machines with equal lives, P/F factors, NPV in Excel and how the MARR changes the choice.
Debt sculpting explained with an Excel example: debt service = CFADS ÷ target DSCR, debt size as NPV, interest, principal, and the annuity comparison.
FFO and AFFO step by step: from net income to FFO per share, AFFO after recurring capex, payout ratios and P/FFO. Worked Excel example of a REIT.
How to calculate PAR30 and PAR90: outstanding balance of late loans ÷ gross loan portfolio, with an ageing table built with VLOOKUP and SUMIF in Excel.
Expectancy = win rate × average win + loss rate × average loss. Excel example with 20 trades, expectancy in R, the break-even win rate and the edge.
How credit card interest is calculated: APR to daily periodic rate, average daily balance, interest for the cycle and the grace period. Excel example.
Build a real estate equity waterfall with an 8% LP IRR hurdle and a promote in Excel: hurdle balance, tier cash, LP IRR and the GP promote. Worked example.
Tax-equivalent yield formula with a worked example: federal and state tax, the break-even tax rate, TEY by bracket, muni vs corporate bond. Excel example.
Historical VaR in Excel: apply past returns to today's portfolio, read the 95% VaR with PERCENTILE.INC, expected shortfall, 10-day VaR. Excel example.
Refinance break-even calculator in Excel: new payment with PMT, real closing costs, break-even month, net saving and the term trap. Excel example.
The 70% rule in house flipping: max offer = ARV × 70% − repairs. A worked example, a refined offer from the deal's real costs and when the rule fails.
How to calculate risk-weighted assets: exposure × CCF × risk weight, credit, market and operational RWA, RWA density and the CET1 ratio. Excel example.
How to build a 13-week cash flow forecast: available opening cash, weekly receipts and payments, the cash trough and the revolver need. Excel example.
The EV to equity value bridge in both directions: diluted shares with the treasury stock method, debt, cash, NCI and associates. Worked Excel example.
Calculate the gold-to-silver ratio in Excel, compare it with its average using a z-score and test a ratio switch with dealer spreads. Worked example.
Costs, inventory, projects, customers and pay.
Break-even analysis in Excel: break-even units and revenue, contribution margin, margin of safety and the volume for a profit target, with an example.
The EOQ formula √(2DS/H) with a worked example in Excel: holding cost, orders per year, the cost curve, and why rounding to a pack size is fine.
Earned value management formulas with one consistent example: PV, EV, AC, CV, SV, CPI, SPI, EAC, ETC, VAC and TCPI, calculated step by step in Excel.
How to calculate the LTV:CAC ratio: fully loaded CAC, LTV from gross margin and churn, CAC payback and the churn limit, in a worked Excel example.
The compa-ratio formula (salary ÷ band midpoint) with an Excel example: lookups to the salary band, range penetration, group compa-ratio and review flags.
RevPAR calculation step by step: occupancy, ADR, RevPAR = ADR × occupancy, plus TRevPAR, GOPPAR and the RevPAR index, in a worked Excel example.
The food cost percentage formula for a month and for one plate, theoretical vs actual food cost, and menu prices from a target food cost %. Excel example.
Markup vs margin explained: both formulas, how to convert one into the other, a price from a target margin and a conversion table, in an Excel example.
Calculate trucking cost per mile: fixed and variable costs, fuel at 2026 diesel prices, deadhead and the break-even rate per loaded mile. Excel example.
ROAS vs ROI explained: both formulas, break-even ROAS = 1 ÷ margin, break-even CPA, and why a campaign with a 5.5x ROAS can lose money. Excel example.
How to calculate your freelance hourly rate: revenue needed ÷ billable hours, with overheads, utilisation and a margin. Worked example and Excel formulas.
Calculate total compensation: base + expected bonus + retirement match + benefits + equity. Three job offers compared in Excel, also per hour worked.
How to calculate a carbon footprint by scope: activity data × emission factor, location- vs market-based Scope 2, travel and commuting, totals with SUMIFS.
Build the Erlang C formula in Excel: traffic in Erlangs, probability of waiting, service level, ASA and the agents needed for 80/20. Worked example.
The net revenue retention formula with an Excel example: starting MRR, expansion, contraction and churn, NRR vs GRR, and why new customers stay out.
Cp and Cpk formulas in Excel with a worked example: within σ from R-bar/d2, Cp, Cpk, Pp and Ppk for a machined shaft, and what 1.33 really means.
Van Westendorp price sensitivity meter in Excel: the four questions, COUNTIF curves, OPP, IPP and the acceptable price range, in a worked example.
ACoS vs TACoS explained: both formulas, the link to ROAS, break-even and target ACoS from your margin, and how to read the trend. Excel example.
Time charter equivalent (TCE) formula: net freight minus voyage costs ÷ voyage days, slow steaming and a time-charter offer compared. Excel example.
The property coinsurance formula with a worked example: required insurance, the coinsurance penalty, the limit cap and how health plan coinsurance differs.
TRIR calculation step by step: recordables × 200,000 ÷ hours worked, a company rate from four sites, a target case limit, DART and LTIFR. Excel example.
Find the Nash equilibrium of a payoff matrix step by step: best responses with MAX, the cells where both coincide, and a 3×3 pricing game in Excel.
Markov chain attribution step by step: transition matrix, conversion probability with MMULT and MINVERSE, removal effects, credit. Excel example.
The landed cost formula step by step: customs value, import duty, broker and port fees, cost per unit, and why import VAT is left out. Excel example.
Baker's percentage formula with a worked example: each ingredient as a % of the flour, hydration, and scaling a bread formula to any dough weight in Excel.
Board feet formula with examples: thickness × width × length ÷ 12, nominal sizes, a lumber list in Excel, price per MBF and the order total with tax.
Estimate price elasticity of demand in Excel with a log-log regression: LN, SLOPE, a forecast with EXP and the profit-maximising price. Worked example.
Calculate the angel's share of a whisky cask: compound loss per year, litres of pure alcohol and bottles left, and years until 20% is gone. Excel example.
The engine displacement formula from bore, stroke and cylinders in cc, liters and cubic inches, plus compression ratio and overbore. Worked Excel example.
Survey and forecast accuracy, machine learning metrics, IT reliability, cyber risk, chemistry and nutrition maths.
How to calculate NPS in Excel with COUNTIF and COUNTIFS: promoters minus detractors, a score from −100 to +100 and its margin of error. Excel example.
How to calculate MAPE in Excel step by step, plus MAE, bias, the tracking signal and WAPE for zero or small actuals. Worked example with every formula.
Confusion matrix, precision and recall with an Excel example: TP, FP, FN and TN from COUNTIFS, then accuracy, F1, specificity and the threshold trade-off.
The annual loss expectancy formula, ALE = SLE × ARO with SLE = asset value × exposure factor, and how to value a safeguard. Worked example in Excel.
MTBF, MTTR and availability: MTBF ÷ (MTBF + MTTR), MTTA, the four meanings of MTTR and the downtime each number of nines allows. Excel example.
The TDEE formula step by step: BMR with Mifflin-St Jeor, activity multipliers from 1.2 to 1.9, a calorie target and macros. Worked example for two people.
A limiting reagent example worked step by step: grams to moles, moles ÷ coefficient, theoretical and percent yield and the excess left over, in Excel.
Calculate A/B test sample size in Excel: baseline rate, minimum detectable effect, 95% significance and 80% power, visitors per variant and test length.
Calculate LLM API costs in Excel: input and output tokens × price per million, cost per request, per 1,000 requests and per month, plus caching savings.
How to calculate sensitivity, specificity, PPV and NPV from a 2×2 table in Excel, and why a positive result means far less when a disease is rare.
NDCG and MRR explained with examples: discounted gain, the ideal ranking, NDCG@k, reciprocal rank and MRR, calculated step by step in an Excel table.
Calculate LOD and LOQ from a calibration curve in Excel: SLOPE, INTERCEPT, RSQ and STEYX, LOD = 3.3σ/S, LOQ = 10σ/S, the blank method, ND and DNQ.
The Hardy-Weinberg equation p² + 2pq + q² = 1 in Excel: allele frequencies, expected genotypes, chi-square test and carrier frequency. Worked example.
How to run a Mann-Whitney U test in Excel: ranks with RANK.AVG, rank sums, U, the normal approximation and the p-value. Worked example with formulas.
How to do a chi-square test of independence in Excel: expected counts, (O − E)² ÷ E, CHISQ.DIST.RT, CHISQ.TEST and Cramér's V. Worked example.
How to make a Kaplan-Meier curve in Excel: at-risk counts, censoring, S(t) = S(prev) × (1 − d/n), median survival and a step chart. Worked example.
The intersection over union (IoU) formula for bounding boxes: overlap with MAX and MIN, union, the 0.5 threshold, Dice vs IoU. Worked example.
Calculate the odds ratio and relative risk in Excel from a 2 × 2 table, with 95% confidence intervals, risk difference and NNH. Worked example.
Build a subnet calculator in Excel: IP to integer, CIDR to mask and wildcard, network and broadcast address, usable hosts, BITAND check. Excel example.
How to calculate the disparate impact ratio: selection rates, impact ratios, the four-fifths (80%) rule and a significance check. Worked example.
Build an SIR model in Excel: new infections β·S·I/N, recoveries γ·I, daily Euler steps, R0, herd immunity threshold, peak and final size. Worked example.
Support, confidence and lift in market basket analysis: formulas, a 16-basket Excel example with SUMPRODUCT, and how to read a lift above or below 1.
Calculate the monthly churn hazard rate by tenure, the survival curve and the median customer lifetime from one cohort. Excel example with every formula.
Calculate the elimination rate constant k and the half-life from two drug concentrations, back-extrapolate C0 and see how a drug falls. Excel example.
How to do a one-way ANOVA in Excel with formulas: group means, DEVSQ sums of squares, the F test, F.DIST.RT p-value and eta squared. Worked example.
Difference-in-differences in Excel: the 2×2 table with AVERAGEIFS, the regression with an interaction term in LINEST, parallel trends. Worked example.
How to calculate Cronbach's alpha in Excel with VAR.S, plus corrected item-total correlations and alpha if item deleted. Worked example with formulas.
How to calculate the US AQI from PM2.5: truncate, find the 2024 EPA breakpoints with MATCH and interpolate. Excel example with every formula.
Calculate the margin of error in Excel for a poll or survey share: z with NORM.S.INV, CONFIDENCE.NORM, subgroups, the margin of a lead and sample size.
How to calculate entropy and information gain for a decision tree split, step by step, with Gini, gain ratio and an Excel example on 20 loans.
k-anonymity explained with a worked example: quasi-identifiers, equivalence classes, k with COUNTIFS, suppression and re-identification risk.
Calculate cosine similarity in Excel with SUMPRODUCT and SUMSQ, compare it with the dot product and Euclidean distance, and rank documents. Worked example.
Radiocarbon dating calculation step by step: age from the fraction of C-14 left, the 5,700 vs Libby 5,568 half-life, the detection limit. Excel example.
Thin lens equation calculator in Excel: image distance, magnification, real or virtual image, sign convention and dioptres, with a worked example.
Silhouette score explained: a(i), b(i), s = (b − a) ÷ max(a, b), how to read values from −1 to 1 and choose k, with a worked Excel example.
Newton-Raphson method in Excel: the iteration formula, a table for x³ − 2x − 5, a loan rate solved like RATE, and why Newton can fail. Excel example.
Forecast value added explained: WAPE of the naive, statistical and consensus forecast, FVA vs naive and vs the previous step, and bias. Excel example.
How to add decibels: convert each level with 10^(L/10), add, take 10·log10. Why 85 dB + 85 dB = 88 dB, and background noise subtraction. Excel example.
How to calculate time in range from CGM readings: the 70–180 mg/dL band with COUNTIFS, time below and above range, hours per day. Excel example.
The WCAG contrast ratio formula, (L1 + 0.05) / (L2 + 0.05): hex to RGB, relative luminance, AA and AAA checks for six colour pairs. Excel example.
How to calculate the Q10 temperature coefficient from two rate constants, predict rates and shelf life at storage temperature and test time. Excel example.
Laspeyres price index formula with an Excel example: price a fixed base-year basket with SUMPRODUCT, read the inflation rate, compare Paasche and Fisher.
Population Stability Index calculation step by step: bin shares, the PSI formula with LN, the 0.1 and 0.25 thresholds, and a model score example in Excel.
Hyperfocal distance formula H = f²/(N·c) + f with an Excel calculator table for 16–50 mm at f/8 to f/22, plus near and far limits when you focus closer.
Power analysis for two means in Excel: n = 2(zα/2 + zβ)²σ²/Δ² with NORM.S.INV, Cohen's d, a t correction, dropout and n for small to large effects.
Solve a differential equation with Euler's method in Excel: one slope column, one step column, the exact solution next to it and the error. Worked example.
Calculate Cohen's kappa in Excel from an agreement table: observed agreement, chance agreement and kappa, plus the rare-label trap. Worked example.
Rake survey weights in Excel by iterative proportional fitting: fit age rows, then gender columns, and repeat until both margins match. Worked example.
The Monty Hall problem explained step by step: a table of every case, why switching wins 2/3 of the time, Bayes' theorem and the 10-door version.
Calculate ABV from original and final gravity: the 131.25 formula, the more accurate alternate formula, attenuation and degrees Plato. Worked example.
Weight of evidence (WoE) and information value (IV) in Excel: the formulas, the IV bands, zero counts and the link to scorecard points. Worked example.
Fuzzy match names in Excel with a Jaccard similarity formula on character bigrams: MID and SEQUENCE, Dice, word Jaccard, thresholds. Worked example.
How to calculate the proportional reporting ratio from a 2×2 table of adverse event reports: 95% CI, Yates chi-square, ROR, signal rule. Excel example.
The transit depth formula δ = (Rp/R*)²: measure the dip in a light curve and turn it into an exoplanet's radius. Worked spreadsheet example.
Every guide links to a lab where you build the same calculation in an online spreadsheet and get instant feedback.