First off, welcome to the forum, Chuck!
This revision of your example get you what you want:
IF(OR({Exercise Name}="Bench Press", {Exercise Name}="Squat"), "Weights", "Cardio")
When checking several conditions using OR
, each condition to be tested must be inside the OR
function. Airtable tests each condition to determine if it is True or False. If any are True, it feeds True to the surrounding IF
; otherwise it returns False. The IF
function then does its thing based on that result.
First off, welcome to the forum, Chuck!
This revision of your example get you what you want:
IF(OR({Exercise Name}="Bench Press", {Exercise Name}="Squat"), "Weights", "Cardio")
When checking several conditions using OR
, each condition to be tested must be inside the OR
function. Airtable tests each condition to determine if it is True or False. If any are True, it feeds True to the surrounding IF
; otherwise it returns False. The IF
function then does its thing based on that result.
Thanks Justin! Wasn’t sure if what I wrote made sense last night after staring at my screen for a couple of hours. Hope I can contribute one day too…