WorkbookLogic

Formulas

Reusable calculations that apply functions and operators to a specific spreadsheet task.

Examples: Two-way lookup with INDEX and MATCH, weighted average, and conditional totals.

33 results

Sum Values While Ignoring Errors
AGGREGATE · SUM · SUMIF · IFERROR · ISERROR · IF · COUNTIF · ROUND · NA
FormulaAggregation

Sum Values While Ignoring Errors

Total the valid numbers in an error-containing range with AGGREGATE, while keeping the ignored exceptions visible through a row-level IFERROR audit and explicit error count.

intermediate3 credits
Add Months to a Date
EDATE · EOMONTH · IF · DATE
FormulaDate and Time

Add Months to a Date

Move a date forward or backward by whole calendar months with EDATE, while making the distinction between same-day and month-end scheduling explicit for dependable date-based calculations.

intermediate3 credits
Average with Multiple Criteria
AVERAGEIFS · COUNTIFS · SUMIFS · IF · AND · SUM · ROUND
FormulaAggregation

Average with Multiple Criteria

Average values only where every selected condition matches the same row, then reconcile the result to the matching sum and count to expose the included population.

intermediate3 credits
Calculate Compound Annual Growth Rate
RRI · GEOMEAN · IF · ROUND · AND
FormulaFinancial

Calculate Compound Annual Growth Rate

Calculate the constant periodic growth rate connecting a starting value to an ending value, and reconcile the manual CAGR expression with independent RRI and GEOMEAN results.

intermediate3 credits
Calculate a Loan Payment
PMT · IF · ROUND · AND
FormulaFinancial

Calculate a Loan Payment

Calculate the level periodic payment for a fixed-rate loan with consistent rate and term units, explicit cash-flow signs, payment timing, and an optional ending balance assumption.

intermediate3 credits
Calculate a Running Total
SUM · IF
FormulaAggregation

Calculate a Running Total

Turn an ordered series of positive and negative movements into a cumulative balance by locking the first row and allowing the end of the SUM range to move.

beginner3 credits
Calculate Years Between Dates
YEARFRAC · INT · IF · ROUND
FormulaDate and Time

Calculate Years Between Dates

Measure elapsed time as fractional or completed years with YEARFRAC and INT, while keeping the governing day-count basis visible, reproducible, and distinct from simple rounding.

intermediate3 credits
Cap a Percentage Between 0% and 100%
MAX · MIN · IF · AND
FormulaFormula Structure

Cap a Percentage Between 0% and 100%

Keep a numeric percentage inside inclusive lower and upper limits with nested MAX and MIN, while preserving valid in-range values and clearly exposing any resulting adjustment.

intermediate3 credits
Count Rows Where Two Criteria Match
COUNTIFS · SUMPRODUCT · IF · AND · SUM
FormulaAggregation

Count Rows Where Two Criteria Match

Count records only when a text condition and numeric threshold both match the same row, with aligned COUNTIFS ranges and an independent SUMPRODUCT reconciliation for verification.

intermediate3 credits
Create a Dynamic Category Count
SORT · UNIQUE · COUNTIF · IF · COUNTA · SUM
FormulaStructure

Create a Dynamic Category Count

Generate a sorted distinct-category list from changing source data, count each returned category, and reconcile the dynamic summary directly to the full number of source records.

intermediate3 credits
Return the Top N Values Within a Group
FILTER · LARGE · SORT · MIN · COUNTIF · IF · AND
FormulaStructure

Return the Top N Values Within a Group

Return the highest-scoring records within a selected group by calculating a group-specific cutoff, filtering complete source rows, and sorting the dynamic result in descending order.

advanced3 credits
Filter Rows with Multiple Criteria
FILTER · COUNTIFS · IF · AND
FormulaDynamic Arrays

Filter Rows with Multiple Criteria

Return complete records only when a category and numeric threshold both match, using Boolean multiplication to create an AND test inside a dynamic FILTER formula.

intermediate3 credits
Find Missing Values Between Two Lists
COUNTIF · IF · MATCH · ISNUMBER · IFERROR · COUNTA · SUMPRODUCT · AND
FormulaLookup

Find Missing Values Between Two Lists

Compare a review list with an authoritative list, label every identifier as present or missing, and reconcile COUNTIF results to an independent exact MATCH test.

intermediate3 credits
Get the Fiscal Year from a Date
YEAR · MONTH · IF · AND
FormulaDate and Time

Get the Fiscal Year from a Date

Assign a calendar date to an ending-year fiscal label by comparing its month with one configurable fiscal-year start month and adding a transparent Boolean boundary adjustment.

intermediate3 credits
Get the Last Day of a Month
EOMONTH · EDATE · DATE · YEAR · MONTH · IF · AND
FormulaDate and Time

Get the Last Day of a Month

Return reliable month-end dates from any valid date with EOMONTH, including short months, leap years, and year rollovers, with an independent DATE-based reconciliation for verification.

intermediate3 credits
Calculate Percent Change
IF · AND · ROUND
FormulaPercentage

Calculate Percent Change

Measure movement relative to an old value while preserving direction and applying an explicit policy for zero baselines, where ordinary percentage change may be undefined.

intermediate3 credits
Calculate Percentage of Total
SUM · IF · ROUND
FormulaStructure

Calculate Percentage of Total

Express each line item as a share of a calculated total by fixing the denominator, preserving valid zero shares, and reconciling the full distribution to 100%.

beginner3 credits
Count Workdays Between Two Dates
NETWORKDAYS · NETWORKDAYS.INTL · IF
FormulaDate and Time

Count Workdays Between Two Dates

Count working days across an inclusive date range while excluding listed holidays and making the standard or custom weekend convention explicit throughout the complete calculation.

intermediate3 credits
Look Up a Value Between Numeric Thresholds
LOOKUP · IF · AND · ROUND
FormulaLookup

Look Up a Value Between Numeric Thresholds

Map a numeric input to the applicable lower-bound tier by selecting the greatest sorted threshold that does not exceed it, then return aligned labels or rates.

intermediate3 credits
Find a Maximum with Multiple Criteria
MAXIFS · COUNTIFS · MAX · IF · AND · ROUND
FormulaAggregation

Find a Maximum with Multiple Criteria

Return the largest value from rows meeting both a category and numeric boundary, while exposing the qualifying population and distinguishing no matches from a genuine zero.

intermediate3 credits
Calculate Net Present Value
NPV · SUM · IF · ROUND
FormulaFinancial

Calculate Net Present Value

Discount equal-period future cash flows to today and add the signed time-zero investment separately, preventing Excel from incorrectly discounting the initial outflow by one additional period.

intermediate3 credits
Sum Transactions by Month in Columns
SUMIFS · EOMONTH · SUM · IF · AND · DAY · ROUND
FormulaAggregation

Sum Transactions by Month in Columns

Convert dated transactions into a reusable dimension-by-month reporting grid with one fillable SUMIFS formula, using real month headers, EOMONTH boundaries, and carefully controlled mixed references.

intermediate3 credits
Sum Values Between Two Dates
SUMIFS · DATE · IF · AND · SUM · ROUND
FormulaAggregation

Sum Values Between Two Dates

Total values inside an inclusive reporting window by applying lower and upper criteria to the same valid date range, with visible boundary and date-order checks.

intermediate3 credits
Sum Values with Multiple Criteria
SUMIFS · IF · AND · SUM · ROUND · COUNTA · COUNT
FormulaAggregation

Sum Values with Multiple Criteria

Return one controlled subtotal from row-level data by placing every required condition inside a single SUMIFS formula and keeping all source and criteria ranges aligned.

intermediate3 credits