0
0
Figmabi_tool~10 mins

Variant matrix organization in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows a product variant matrix with products, colors, sizes, and prices.

CellValue
A1Product
B1Color
C1Size
D1Price
A2T-Shirt
B2Red
C2Small
D215
A3T-Shirt
B3Red
C3Medium
D317
A4T-Shirt
B4Blue
C4Small
D415
A5T-Shirt
B5Blue
C5Medium
D517
Formula Trace
SUMIFS(D2:D5, B2:B5, "Red", C2:C5, "Small")
Step 1: Check rows where Color = "Red" and Size = "Small"
Step 2: Sum Price values in matching rows
Cell Reference Map
     A        B        C        D
1 | Product | Color  | Size   | Price
2 | T-Shirt | Red    | Small  | 15   
3 | T-Shirt | Red    | Medium | 17   
4 | T-Shirt | Blue   | Small  | 15   
5 | T-Shirt | Blue   | Medium | 17   

Arrows: Formula checks B2:B5 for 'Red' and C2:C5 for 'Small', sums D2:D5 where both match.
The formula uses the Color and Size columns to filter rows, then sums the Price column for those rows.
Result
     A        B        C        D        E
1 | Product | Color  | Size   | Price | Result
2 | T-Shirt | Red    | Small  | 15    | 15
3 | T-Shirt | Red    | Medium | 17    |   
4 | T-Shirt | Blue   | Small  | 15    |   
5 | T-Shirt | Blue   | Medium | 17    |   
The result 15 appears next to the matching row, showing the sum of prices for Red and Small variants.
Sheet Trace Quiz - 3 Questions
Test your understanding
Which rows does the formula include in the sum?
AAll rows where Size is Small
BOnly rows where Color is Red and Size is Small
CAll rows where Color is Red
DAll rows regardless of Color or Size
Key Result
SUMIFS sums values in one column based on multiple criteria in other columns.