IF(OR formula for a Checkbox
I believe this is simple, but I am #UNPARSEABLE error.
I have 5 approval columns with Approved, Denied or Received. I want to check all 5 columns, if any one of the columns has received, then select the checkbox.
Here is what I have now, what's missing?
=IF(OR([Approval1]@row, ="Received", [Approval2]@row, ="Received", [Approval3]@row, ="Received", [Approval4]@row, ="Received", [Approval5]@row, ="Received",),1,0,)
thanks!
Best Answer
-
Hello @LoriLynn Smith on Smartsheet it is best practice to not use OR, just stack the IF statements. Give this a try:
=IF([Approval1]@row = "Received", 1, IF([Approval2]@row = "Received", 1, IF([Approval3]@row = "Received", 1, IF([Approval4]@row = "Received", 1, IF([Approval5]@row = "Received", 1, 0)))))
Dr. St Nicholas Burrus DHA, PMP
I build Smartsheets for the US Government, State Government, and about a dozen of the US Fortune 100s.
Answers
-
Hello @LoriLynn Smith on Smartsheet it is best practice to not use OR, just stack the IF statements. Give this a try:
=IF([Approval1]@row = "Received", 1, IF([Approval2]@row = "Received", 1, IF([Approval3]@row = "Received", 1, IF([Approval4]@row = "Received", 1, IF([Approval5]@row = "Received", 1, 0)))))
Dr. St Nicholas Burrus DHA, PMP
I build Smartsheets for the US Government, State Government, and about a dozen of the US Fortune 100s.
-
Awesome, thanks so much! works great!
Help Article Resources
Categories
Check out the Formula Handbook template!