Formula
Having difficulty with a formula setting task state (Not Started, In Progress, Complete, On Hold) depending upon how the columns on either side are set - Status/RYGB and % Complete.
=IF(AND(Status@row=“B”, [% Complete]@row =1),"Complete”,IF(AND(Status@row= "G”,[% Complete]@row=0), "Not Started”, IF(AND(Status(G,Y,R)@row= “G”, “Y”, “R”, [% Complete]@row < 0),”In Progress",IF(AND([On Hold]@row = 1), "On Hold”)))
Thanks
Best Answers
-
Hi @Melitta
Hope you are fine, as i understand that you use for status column BGYR symbols column type if so then try the following formula.
=IF(AND(Status@row = "Blue", [% Complete]@row = 1), "Complete", IF(AND(Status@row = "Green", [% Complete]@row = 0), "Not Started", IF(AND(OR(Status@row = "Green", Status@row = "Yellow", Status@row = "Red"), [% Complete]@row > 0), "In Progress", "On Hold")))
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Hello @Bassam.M Khalil
Thank you that is very helpful, and gets me a closer to the final solution. It also makes me realize that I left out a piece.
There is another column: On Hold. It's a checkbox. If it's checked, I want the Task State to be "On Hold". Unchecked and it should follow the rest of the formula.
How do I combine them?
=IF([On Hold]@row = 1, "On Hold")
=IF(AND(Status@row = "Blue", [% Complete]@row = 1), "Complete", IF(AND(Status@row = "Green", [% Complete]@row = 0), "Not Started", IF(AND(OR(Status@row = "Green", Status@row = "Yellow", Status@row = "Red"), [% Complete]@row > 0), "In Progress")))
Thanks,
Melitta
Answers
-
Hi @Melitta
Hope you are fine, as i understand that you use for status column BGYR symbols column type if so then try the following formula.
=IF(AND(Status@row = "Blue", [% Complete]@row = 1), "Complete", IF(AND(Status@row = "Green", [% Complete]@row = 0), "Not Started", IF(AND(OR(Status@row = "Green", Status@row = "Yellow", Status@row = "Red"), [% Complete]@row > 0), "In Progress", "On Hold")))
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Hello @Bassam.M Khalil
Thank you that is very helpful, and gets me a closer to the final solution. It also makes me realize that I left out a piece.
There is another column: On Hold. It's a checkbox. If it's checked, I want the Task State to be "On Hold". Unchecked and it should follow the rest of the formula.
How do I combine them?
=IF([On Hold]@row = 1, "On Hold")
=IF(AND(Status@row = "Blue", [% Complete]@row = 1), "Complete", IF(AND(Status@row = "Green", [% Complete]@row = 0), "Not Started", IF(AND(OR(Status@row = "Green", Status@row = "Yellow", Status@row = "Red"), [% Complete]@row > 0), "In Progress")))
Thanks,
Melitta
-
You are welcome and am happy you find it helpful, Please help the Community by marking it as the accepted answer.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 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!