Excel Conditional Formulas Playground

Edit any cell in the tables below — all formula results update live.

Sample Data Table

Edit any cell below to see how each formula changes.

Item Category Price ($) Quantity Date
AppleFruit1.2052025-01-10
BananaFruit0.5032025-01-11
CarrotVegetable0.8022025-01-12
BroccoliVegetable1.5042025-01-13
OrangeFruit1.0012025-01-14
SpinachVegetable2.0062025-01-15

SUMIF

Sum of Price where Category = "Fruit"

SUMIF result: $0.00

SUMIFS

Sum of Price where Category = "Fruit" AND Quantity > 2

SUMIFS result: $0.00

COUNTIF

Count of rows where Category = "Vegetable"

COUNTIF result: 0

COUNTIFS

Count of rows where Category = "Fruit" AND Quantity > 1

COUNTIFS result: 0

AVERAGEIF

Average Price where Quantity >= 3

AVERAGEIF result: $0.00

SUMPRODUCT

Sum of Price * Quantity for all rows

SUMPRODUCT result: $0.00

💡 Try it: Change any value in the data table above — all formula results update instantly.

This playground demonstrates the logic behind Excel's conditional aggregate functions using a live, editable dataset.

Enjoy this tool? Build your own with Super