0
0
Figmabi_tool~10 mins

Variables in prototypes in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows variables defined in a Figma prototype with their current values.

CellValue
A1Variable Name
B1Value
A2UserName
B2Alice
A3UserAge
B330
A4UserStatus
B4Active
Formula Trace
Set variable UserGreeting = "Hello, " + UserName + "!"
Step 1: "Hello, " + UserName + "!"
Step 2: UserGreeting = "Hello, Alice!"
Cell Reference Map
  A          B
1 Variable   Value
2 UserName -> Alice
3 UserAge    30
4 UserStatus Active
The formula uses the variable UserName from cell B2 with value 'Alice' to build the greeting.
Result
  A             B
1 Variable    Value
2 UserName   Alice
3 UserAge    30
4 UserStatus Active
5 UserGreeting Hello, Alice!
The new variable UserGreeting is added with the value 'Hello, Alice!' after evaluating the formula.
Sheet Trace Quiz - 3 Questions
Test your understanding
What value does the variable UserGreeting hold after evaluation?
A"Hello, UserName!"
B"Alice!"
C"Hello, Alice!"
D"Hello!"
Key Result
Concatenate strings and variables to create dynamic text in prototypes.