0
0
Google Sheetsspreadsheet~10 mins

Why logical functions handle conditions in Google Sheets - Formula Trace Breakdown

Choose your learning style9 modes available
Sample Data

This data shows student scores in column A. We want to check if each score is a passing score (60 or above) using logical functions.

CellValue
A1Score
A285
A355
A470
B1Pass?
B2
B3
B4
Formula Trace
=IF(A2>=60, "Pass", "Fail")
Step 1: A2>=60
Step 2: 85>=60
Step 3: IF(TRUE, "Pass", "Fail")
Cell Reference Map
    A       B
1 | Score | Pass? |
2 |  85   |  --> |
3 |  55   |      |
4 |  70   |      |
The formula in B2 references cell A2 to check the score and decide Pass or Fail.
Result
    A       B
1 | Score | Pass? |
2 |  85   | Pass  |
3 |  55   |       |
4 |  70   |       |
The formula in B2 shows 'Pass' because 85 is greater than or equal to 60.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the expression A2>=60 check?
AIf the score in A2 is 60 or more
BIf the score in A2 is less than 60
CIf the score in A2 equals 60 only
DIf the score in A2 is negative
Key Result
IF(condition, value_if_true, value_if_false) returns one value if condition is TRUE, another if FALSE.