0
0
Figmabi_tool~10 mins

Conditional interactions in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data represents a simple UI state where a button click changes the visibility of a panel. 'Button Clicked' is a condition, 'Show Panel' is the action, and 'Panel State' shows if the panel is visible or hidden.

CellValue
A1Button Clicked
B1No
A2Show Panel
B2Hidden
A3User Action
B3Click Button
A4Panel State
B4Hidden
Formula Trace
IF(Button_Clicked = 'Yes', Set Panel State to 'Visible', Keep Panel State as 'Hidden')
Step 1: Button_Clicked = 'Yes'
Step 2: IF(false, Set Panel State to 'Visible', Keep Panel State as 'Hidden')
Step 3: Panel State = 'Hidden'
Cell Reference Map
    A           B
1 |Button Clicked| No  |
2 |Show Panel   |Hidden|
3 |User Action  |Click Button|
4 |Panel State  |Hidden|
Cells B1 and B4 are referenced. B1 holds the condition 'Button Clicked' status, B4 holds the current 'Panel State'.
Result
    A           B
1 |Button Clicked| No  |
2 |Show Panel   |Hidden|
3 |User Action  |Click Button|
4 |Panel State  |Hidden|
The panel remains hidden because the button was not clicked (B1 = 'No'). The conditional interaction did not change the panel state.
Sheet Trace Quiz - 3 Questions
Test your understanding
What happens if 'Button Clicked' is 'No'?
APanel stays hidden
BPanel becomes visible
CPanel state is unknown
DPanel toggles visibility
Key Result
IF(condition, action_if_true, action_if_false) controls UI element states based on user interaction.