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
- Smartsheet Customer Resources
- 63.1K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 444 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 450 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 290 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!