Formula with multiple conditions
Hello Community;
I am trying to write a formula to check mark a field when 2 conditions are met; so far l have been able to make it work with 1 condition (see highlighted screenshot), but can't figure out how to add the 2nd condition to the formula...Any ideas???
Thanks!
Best Answers
-
Hi Silvia,
Try something like this. (Update the 2nd Condition Column name to what you are using)
=IF(AND([Job Status]@row = "Complete, As-Built Submitted"; [2nd Condition]@row = "Condition"); 1; 0)
The same version but with the below changes for your and others convenience.
=IF(AND([Job Status]@row = "Complete. As-Built Submitted", [2nd Condition]@row = "Condition"), 1, 0)
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. 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.
-
To add to Andrée's advice, it looks like you actually want an "OR" function instead of "AND", because you're looking for two possible selections (not two selections at the same time), is that correct?
Try this:
=IF(OR([Job Status]@row = "Complete, As-Built Submitted", [Job Status]@row = "Complete, As-Built Accepted"), 1, 0)
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
Hi Silvia,
Try something like this. (Update the 2nd Condition Column name to what you are using)
=IF(AND([Job Status]@row = "Complete, As-Built Submitted"; [2nd Condition]@row = "Condition"); 1; 0)
The same version but with the below changes for your and others convenience.
=IF(AND([Job Status]@row = "Complete. As-Built Submitted", [2nd Condition]@row = "Condition"), 1, 0)
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did that work?
I hope that helps!
Be safe and have a fantastic week!
Best,
Andrée Starå
Workflow Consultant / CEO @ WORK BOLD
✅Did my post help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. 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.
-
-
My apologies, there was a typo.
Try this.
=IF(AND([Job Status]@row = "Complete", As-Built Submitted"; [2nd Condition]@row = "Condition"); 1; 0)
The same version but with the below changes for your and others convenience.
=IF(AND([Job Status]@row = "Complete", As-Built Submitted", [2nd Condition]@row = "Condition"), 1, 0)
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
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.
-
I am not sure where the typo is, still tried with the coma, the semi-colon, the dot and getting the same error...
-
To add to Andrée's advice, it looks like you actually want an "OR" function instead of "AND", because you're looking for two possible selections (not two selections at the same time), is that correct?
Try this:
=IF(OR([Job Status]@row = "Complete, As-Built Submitted", [Job Status]@row = "Complete, As-Built Accepted"), 1, 0)
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
@Genevieve P It worked! For some reason when just editing the formula wouldn't work, had to re-write the whole thing and it works perfect... Thank you both!
-
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.
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives