Formula if check box is checked, run one formula, if not run another formula

aneves
✭✭
Hi! What’s the best way to write that in a Smartsheet formula?
If the checkbox is not checked, I want to do this:
SUMIFS({Column 1}, {Name}, Name@row) - [OOO] - [Hours] - [Holidays]
If the checkbox is checked, I want to do this:
SUMIFS({Column 1}, {Name}, Name@row) - [OOO] - [Hours]
Thanks
Answers
-
@aneves you could simplify this some, but for sure the following would work
if([check box column name]=1, SUMIFS({Column 1}, {Name}, Name@row) - [OOO] - [Hours] - [Holidays], SUMIFS({Column 1}, {Name}, Name@row) - [OOO] - [Hours])
Darren Mullen - Looking to take your Smartsheet knowledge to the next level and become an expert? Join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
Help Article Resources
Categories
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!