spreadsheet and expression code example
Example: google sheets and
# Basic syntax:
=AND(condition_1, condition_2, condition_3, ...)
# Where AND() returns TRUE if all conditions are true, otherwise returns
# FALSE
# Note, AND requires all conditions to return TRUE/FALSE or a number to
# work. In general, 0 is treated as a FALSE and all other numbers are
# treated as TRUE
# Example usage:
AND(A2 = "foo", A3 >= 7, isdate(A4))
# This returns TRUE if cell A2 is "foo", cell A3 is greater or equal to
# 7, and cell A4 is a date