1 Understanding Criteria-Based Calculation Logic
Criteria-based functions calculate only the records that meet a stated rule. For example, management may ask for total
sales from the West region, the number of overdue invoices, or the average score of employees in one department. Excel
evaluates each record against the criteria and includes only qualifying rows.
Definition: A criterion is a condition used to decide whether a record should be included in a calculation.
Critical rule: Comparison operators written directly inside a formula must usually be enclosed in quotation marks. When an operator is combined with a cell reference, join them with the ampersand symbol.
Practical Experiment 1: Build a Criteria Library
Create a small reference sheet containing common criteria used in office reports.
Step 1: Write RulesAdd exact text, greater-than, less-than, date and wildcard criteria.
Step 2: Connect CellsStore a target in one cell and build a dynamic criterion such as ">="&H2.
Step 3: TestChange the target and confirm that dependent formulas respond automatically.
Learning Output: Correct understanding of criteria syntax before advanced formulas are applied.
2 SUMIF and SUMIFS for Conditional Totals
SUMIF totals values based on one condition. SUMIFS handles several conditions and is generally the better choice for
professional reports because business questions often contain more than one filter, such as region, product, date and status.
=SUMIF(Sales[Region], "West", Sales[Revenue])
=SUMIFS(Sales[Revenue], Sales[Region], "West", Sales[Status], "Completed")
Date-Range Calculation
=SUMIFS(Sales[Revenue], Sales[Date], ">="&H2, Sales[Date], "<="&I2)
This formula totals revenue between the start date in H2 and end date in I2, including both dates.
Professional Tip: Keep all criteria ranges and the sum range exactly the same size. Mismatched ranges can produce errors or unreliable results.
Practical Experiment 2: Regional Revenue Summary
Prepare a sales table containing Date, Region, Product, Status and Revenue.
Step 1: One ConditionCalculate total revenue for the West region using SUMIF.
Step 2: Multiple ConditionsCalculate completed West-region sales for one selected product using SUMIFS.
Step 3: Date ControlAdd start-date and end-date cells so the report can be updated without editing the formula.
Learning Output: A dynamic criteria-based sales total suitable for MIS reporting.
3 COUNTIF and COUNTIFS for Record Analysis
COUNTIF and COUNTIFS count records rather than adding their values. They are widely used for attendance, pending tasks,
employee status, leads, complaints, overdue invoices, quality defects and customer categories.
=COUNTIF(Leads[Status], "Converted")
=COUNTIFS(Leads[Owner], H2, Leads[Status], "Pending", Leads[Value], ">=5000")
Useful Counting Patterns
Exact Status
Overdue Dates
Blank / Non-blank
Wildcard Text
=COUNTIFS(Tasks[Due Date], "<"&TODAY(), Tasks[Status], "<>Completed")
The formula counts tasks whose due date has passed but whose status is not Completed.
Practical Experiment 3: Lead Pipeline Count
Use a lead register containing Owner, City, Source, Status and Potential Value.
Step 1: Count StageCount all leads marked Qualified.
Step 2: Count by OwnerCount pending leads for a selected sales executive.
Step 3: Add Value RuleCount only pending leads whose potential value is at least $5,000.
Learning Output: A decision-ready pipeline count that changes with selected criteria.
4 AVERAGEIF, AVERAGEIFS, MINIFS and MAXIFS
AVERAGEIF and AVERAGEIFS calculate the mean only for qualifying records. MINIFS and MAXIFS identify the lowest or
highest qualifying value. Together, these functions provide a fuller performance picture than totals alone.
=AVERAGEIFS(Employees[Score], Employees[Department], H2, Employees[Status], "Active")
=MINIFS(Sales[Margin %], Sales[Region], H2)
=MAXIFS(Sales[Revenue], Sales[Region], H2)
Interpretation: Averages should be read together with count, minimum and maximum. An average based on two records is less dependable than the same average based on two hundred records.
Practical Experiment 4: Department Performance Profile
Create a performance table containing Department, Employee, Status and Score.
Step 1: AverageCalculate the average active-employee score for a selected department.
Step 2: RangeFind the department's minimum and maximum scores.
Step 3: InterpretExplain whether the average hides a wide performance gap.
Learning Output: Balanced analysis using average, minimum and maximum together.
5 SUMPRODUCT for Weighted and Array-Based Analysis
SUMPRODUCT multiplies corresponding values in arrays and then adds the results. It is especially valuable for weighted
averages, quantity-times-price calculations, multi-condition totals and analytical models where helper columns are undesirable.
=SUMPRODUCT(Orders[Quantity], Orders[Unit Price])
This formula multiplies Quantity by Unit Price for every row and adds all transaction values.
Weighted Average
=SUMPRODUCT(Scores[Score], Scores[Weight]) / SUM(Scores[Weight])
Multi-Condition Total
=SUMPRODUCT((Sales[Region]=H2)*(Sales[Status]="Completed")*Sales[Revenue])
Performance caution: Avoid full-column references such as A:A inside large SUMPRODUCT formulas. They can calculate more than one million rows and slow the workbook.
Practical Experiment 5: Weighted Selling Price
Use products sold at different quantities and prices to compare simple and weighted averages.
Step 1: Simple AverageCalculate the normal average of unit prices.
Step 2: Weighted AverageWeight each price by quantity sold using SUMPRODUCT.
Step 3: CompareExplain why the weighted result better represents actual sales.
Learning Output: Practical understanding of weighted business calculations.
6 ROUND, ROUNDUP, ROUNDDOWN and Precision Control
Display formatting changes how a number looks, but rounding functions change the calculated value. This distinction is
important in invoices, tax calculations, payroll, rates, quantities and reports that must reconcile exactly.
=ROUND([@Quantity]*[@[Unit Price]]*(1-[@Discount]), 2)
Professional Tip: Decide where rounding belongs in the calculation process. Rounding every line and then totaling can differ from totaling full-precision values and rounding only the final result.
Practical Experiment 6: Packaging Requirement
A business has 1,025 items and each carton can hold 24 items.
Step 1: DivideCalculate 1,025 divided by 24 and observe the decimal result.
Step 2: Round UpUse ROUNDUP or CEILING.MATH to calculate cartons required.
Step 3: JustifyExplain why normal rounding could produce an operational shortage.
Learning Output: Correct selection of a rounding rule according to business reality.
7 SUBTOTAL and AGGREGATE for Filter-Aware Reports
SUM continues to include filtered-out rows. SUBTOTAL can ignore filtered rows, making it useful in interactive tables.
AGGREGATE offers additional control, including the ability to ignore errors, hidden rows or nested subtotal calculations.
=SUBTOTAL(9, Sales[Revenue]) // SUM of visible filtered records
=SUBTOTAL(109, Sales[Revenue]) // SUM ignoring filtered and manually hidden rows
AGGREGATE Example
=AGGREGATE(9, 6, Sales[Revenue]) // SUM while ignoring errors
In this example, function number 9 means SUM and option 6 means ignore error values.
Practical Experiment 7: Filter-Responsive Sales Total
Convert sales records into an Excel Table and add both SUM and SUBTOTAL below the Revenue column.
Step 1: CompareRecord the result of SUM and SUBTOTAL before filtering.
Step 2: FilterFilter one region and observe which formula changes.
Step 3: Add ErrorIntroduce an error value and test an AGGREGATE formula that ignores errors.
Learning Output: Interactive totals that respond correctly to report filters.
8 Ranking and Essential Statistical Analysis
Statistical functions help convert lists of values into meaningful performance indicators. Excel can rank employees,
identify top or bottom results, measure the centre of data and show whether values are closely grouped or widely spread.
RANK.EQPosition in a list
MEDIANMiddle value
MODE.SNGLMost frequent value
STDEV.SSample variation
PERCENTILE.INCThreshold position
=RANK.EQ([@Revenue], Sales[Revenue], 0)
=MEDIAN(Employees[Score])
=STDEV.S(Employees[Score])
Remember: Rank does not explain why performance differs. Use it as a starting point for analysis, not as the only basis for employee or business decisions.
Practical Experiment 8: Salesperson Performance Ranking
Use salesperson revenue and achievement percentages to create a performance summary.
Step 1: RankRank revenue from highest to lowest using RANK.EQ.
Step 2: SummarizeCalculate average, median, highest, lowest and standard deviation.
Step 3: InterpretIdentify whether results are consistent or concentrated among a few performers.
Learning Output: A statistical performance summary with responsible interpretation.