Check boxes in takeoff software serve as true/false indicators for formulas. Understanding how these work is essential for creating dynamic calculations.
Key Concepts:
Results from Formula
You can use check boxes to control whether quantities are included in calculations by multiplying or adding the checkbox variable.
Example Formula:
[Point Count] * [Include in Bid?]
Results:
Use AND statements when all conditions must be true for the formula to return a positive result. If any condition is false, the entire expression evaluates to false.
(condition1 && condition2 && condition3) * [value]
(if([Point Count]>=10,1,0) && if([Width]>=2,1,0)) * [Point Count]
How it works:
Sample Results:
In this example, I set the Point Count Variable to 11 which produced a negative (false) or zero. Both were not True.
Use OR statements when at least one condition must be true for the formula to return a positive result. Only one condition needs to be satisfied.
(condition1 || condition2 || condition3) * [value]
(if([Point Count]>=12,1,0) || if([Width]>=5,1,0)) * 1
How it works:
Sample Results:
Operator Symbol Purpose Result when TRUE Result when FALSE
Check Box N/A Simple true/false 1 0
AND && All must be true Calculation proceeds Returns 0
OR || At least one true Calculation proceeds Returns 0
Remember: These logical operators are powerful tools for creating intelligent, conditional formulas that adapt based on your project requirements and user inputs.