Jan 22, 2024 02:41 PM - edited Jan 22, 2024 02:53 PM
I'm new to Airtable and I need a formula to check a box from a form submission.
IF >=0, 3>= then True (Checkbox 1)
IF >=4, 6>= then True (Checkbox 2)
IF >=7, 9>= then True (Checkbox 3)
IF >=10, 12>= then True (Checkbox 4)
I have an automation that sends a specific email based on the selected boxes, but I do not have the time to manually check the boxes. I also tried setting an automation to check the box if it meets criteria but that isn't working either.
Any help is greatly appreciated.
Jan 22, 2024 09:29 PM
Formulas cannot modify another field. If you want to replace your 4 checkboxes with a single formula field, that's possible. If you want to set an automation to check a specific box based on the range, that's possible too.
Option 1: Replace your checkboxes with a formula
Assuming the name of the field which contains the number that falls between 0 and 12 is named "Range", you could use the following formula:
IF(AND({Range}>=0, {Range}<=3), "A",
IF(AND({Range}>=4, {Range}<=6), "B",
IF(AND({Range}>=7, {Range}<=9), "C",
IF(AND({Range}>=10, {Range}<=12), "D"))))
Then set up your automation conditions to look for "A" to send your first email, "B" for the second, etc. You can replace "A" with more descriptive wording if you want.
Option 2: Use conditional actions in your automation