0
0
Google Sheetsspreadsheet~10 mins

Notification rules in Google Sheets - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This sheet tracks tasks with their status and due dates. Notification rules can alert when tasks are pending and due soon.

CellValue
A1Task
B1Status
C1Due Date
A2Submit report
B2Pending
C22024-06-10
A3Team meeting
B3Completed
C32024-06-05
A4Update website
B4Pending
C42024-06-12
Formula Trace
=AND(B2="Pending", C2-TODAY()<=3)
Step 1: B2="Pending"
Step 2: C2-TODAY()
Step 3: 4 <= 3
Step 4: AND(TRUE, FALSE)
Cell Reference Map
    A           B           C
1 | Task      | Status    | Due Date
2 | Submit report | Pending  | 2024-06-10

References:
- B2 for status check
- C2 for due date
- TODAY() is current date (2024-06-06)
The formula checks if the task in row 2 is pending (B2) and if the due date (C2) is within 3 days from today.
Result
    A           B           C           D
1 | Task      | Status    | Due Date  | Notify?
2 | Submit report | Pending  | 2024-06-10 | FALSE

Column D shows the notification rule result for row 2.
The formula result in D2 is FALSE, meaning no notification is triggered because the due date is more than 3 days away.
Sheet Trace Quiz - 3 Questions
Test your understanding
What does the formula check first?
AIf the task status is 'Pending'
BIf the due date is today
CIf the task is completed
DIf the due date is more than 3 days away
Key Result
AND(condition1, condition2) returns TRUE only if both conditions are TRUE.