Help with a Formula
Hello, I need help creating a formula within a cell.
If the Review Status is Approved AND the Original Workflow Session Date is today and/or in the past then the % complete should turn to 100%.
If the Review Status is Approved AND the Original Workflow Session Date is in the future the % Complete should stay at 0%.
If the Review Status is Member Review Needed, the Original Workflow Session Date doesn't matter, and the % Complete should stay at 0%.
If the Review Status is Follow-Up Needed, the Original Workflow Session Date doesn't matter, and the % Complete should stay at 0%.
If the Review Status is Executive Service Agreement, the Original Workflow Session Date doesn't matter, and the % Complete should change to 100%.
If the Review Status is Not Needed, the Original Workflow Session Date doesn't matter, and the % Complete should change to 100%.
The two different options in the % Complete section is 100% and 0%.
The image below shows the examples of status's, dates and % Complete:
I currently have this set as an Automation Workflow but would love if it could be a formula within the cell, if possible.
Thank you!
Best Answer
-
Try this:
=IF(OR([Review Status]@row = "Executive Service Agreement", AND([Review Status]@row = "Approved", [Original Workflow Session Date]@row<= TODAY(), [Original Workflow Session Date]@row <> "")), 1, 0)
Answers
-
Try this:
=IF(OR([Review Status]@row = "Executive Service Agreement", AND([Review Status]@row = "Approved", [Original Workflow Session Date]@row<= TODAY())), 1, 0)
-
Hi Paul,
This formula works great for everything, but is still including blank date fields in the Original Workflow Session Date. Any suggestions for that? Thanks so much for your help.
-
What do you want to happen in if the date is blank? In reading the above, I see mentioned where the date doesn't matter in certain cases. Would you want it to remain blank if the date is blank regardless of the status?
-
I think this is where I am running into the issues. It only matters for the Approved Review Status if the date is blank. So if the Review Status is Approved and the date is blank it should stay at 0%. Thanks again
-
Try this:
=IF(OR([Review Status]@row = "Executive Service Agreement", AND([Review Status]@row = "Approved", [Original Workflow Session Date]@row<= TODAY(), [Original Workflow Session Date]@row <> "")), 1, 0)
Help Article Resources
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
Check out the Formula Handbook template!