How do I add a formula to update the status of a row based on 2 approvals?
Hi! I would like to incorporate a status update for a row based on COO and CEO approvals. The following formula is returning an unparseable error. Can someone help? Thanks so much.
=IF([COO APPROVAL]1=SUBMITTED),"YELLOW"),([COO APPROVAL]1=APPROVED),"GREEN"),([COO APPROVAL]1=DECLINED),"RED"),([CEO APPROVAL]1=SUBMITTED),"YELLOW"),([CEO APPROVAL]1=APPROVED),"GREEN"),([CEO APPROVAL]1=DECLINED),"RED")
Answers
-
So I assumed both Need to be approved to show green and if only one is denied you want Red
=IF(AND([Coo Approval]@row = "Approved", CEO@row = "Approved"), "Green", IF(OR([Coo Approval]@row = "Denied", CEO@row = "Denied"), "Red", "Yellow"))
This will make its stay yellow until both are Approved or if one is denied.
-
Yes, thank you so much! I will try it now!
-
I used the following, but the field is still showing an unparseable error.
=IF(AND([COO APPROVAL]1 = "Approved", ([CEO APPROVAL]1 = "Approved"), "Green", IF(OR([COO APPROVAL]1 = "DECLINED", CEO APPROVAL]1 = "DECLINED"), "Red", "Yellow"))
-
If you need all the cells to reference the first cell in Ceo, and Coo
use this
=IF(AND([coo approval]1 = "Approved", [coo approval]1 = "Approved"), "Green", IF(OR([ceo approval]1 = "Declined", [ceo approval]1 = "Declined"), "Red", "Yellow"))
You were missing some [
-
Thank you so much! It worked!!
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!