Need help with a IF(OR) formula
I have the "base" formula correct and working but can't figure out how to string it together (are there best practices in this area?) with a larger formula:
This piece works: =IF(OR([Go Live Month]@row = "January", [Go Live Month]@row = "February", [Go Live Month]@row = "March"), "Q120")
I want to add conditions for the rest of the year, but again, can't figure out how to link it all together.
IF(OR([Go Live Month]@row = "April", [Go Live Month]@row = "May", [Go Live Month]@row = "June"), "Q2-2020"),
IF(OR([Go Live Month]@row = "July", [Go Live Month]@row = "August", [Go Live Month]@row = "September"), "Q3-2020"),
IF(OR([Go Live Month]@row = "October", [Go Live Month]@row = "November", [Go Live Month]@row = "December"), "Q4-2020")
Thanks in advance for your help!
Best Answer
-
Hi Lisa,
Try something like this.
-=IF(OR([Go Live Month]@row = "January"; [Go Live Month]@row = "February"; [Go Live Month]@row = "March"); "Q1-2020"; IF(OR([Go Live Month]@row = "April"; [Go Live Month]@row = "May"; [Go Live Month]@row = "June"); "Q2-2020"; IF(OR([Go Live Month]@row = "July"; [Go Live Month]@row = "August"; [Go Live Month]@row = "September"); "Q3-2020"; IF(OR([Go Live Month]@row = "October"; [Go Live Month]@row = "November"; [Go Live Month]@row = "December"); "Q4-2020"))))
The same version but with the below changes for your and others convenience.
-=IF(OR([Go Live Month]@row = "January", [Go Live Month]@row = "February", [Go Live Month]@row = "March"), "Q1-2020", IF(OR([Go Live Month]@row = "April", [Go Live Month]@row = "May", [Go Live Month]@row = "June"), "Q2-2020", IF(OR([Go Live Month]@row = "July", [Go Live Month]@row = "August", [Go Live Month]@row = "September"), "Q3-2020", IF(OR([Go Live Month]@row = "October", [Go Live Month]@row = "November", [Go Live Month]@row = "December"), "Q4-2020"))))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
I hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Hi Lisa,
Try something like this.
-=IF(OR([Go Live Month]@row = "January"; [Go Live Month]@row = "February"; [Go Live Month]@row = "March"); "Q1-2020"; IF(OR([Go Live Month]@row = "April"; [Go Live Month]@row = "May"; [Go Live Month]@row = "June"); "Q2-2020"; IF(OR([Go Live Month]@row = "July"; [Go Live Month]@row = "August"; [Go Live Month]@row = "September"); "Q3-2020"; IF(OR([Go Live Month]@row = "October"; [Go Live Month]@row = "November"; [Go Live Month]@row = "December"); "Q4-2020"))))
The same version but with the below changes for your and others convenience.
-=IF(OR([Go Live Month]@row = "January", [Go Live Month]@row = "February", [Go Live Month]@row = "March"), "Q1-2020", IF(OR([Go Live Month]@row = "April", [Go Live Month]@row = "May", [Go Live Month]@row = "June"), "Q2-2020", IF(OR([Go Live Month]@row = "July", [Go Live Month]@row = "August", [Go Live Month]@row = "September"), "Q3-2020", IF(OR([Go Live Month]@row = "October", [Go Live Month]@row = "November", [Go Live Month]@row = "December"), "Q4-2020"))))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
I hope that helps!
Have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help answer your question or solve your problem? Please help the Community by marking it as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Yes, it did!!! Thank you so much!! Those darn parentheses and commas stump me almost every time! Really appreciate it. 👏👏👏
-
Excellent!
Happy to help!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!