Hello SS community, I am building a sheet that has multiple layers of approvals. In one set, there could be 1 or 2 "Business Owners" required to approve a document. I have a workflow setup that changes the Business Owner Approval to "Requested" for both owners when it is kicked off. I have a formula built that sets drop-down symbols to various colour statuses based on the review status. What I have setup works correctly when there are two Business Owners but I will have scenarios when there is only one. I am stuck on the formal that will update the colour based on there being only one required approver, vs two.
Here is my current formula based on two owners:
=IF(AND([Business Owner 1 Approval]@row = "Requested", [Business Owner 2 Approval]@row = "Requested"), "Blue",
IF(OR([Business Owner 1 Approval]@row = "Requested", [Business Owner 2 Approval]@row = "Requested"), "Yellow",
IF(OR([Business Owner 1 Approval]@row = "Reviewed /w Comments", [Business Owner 2 Approval]@row = "Reviewed /w Comments"), "Yellow",
IF(OR([Business Owner 1 Approval]@row = "Approved", [Business Owner 2 Approval]@row = "Approved"), "Green", "Red")))
This is as far as I have gotten to in my attempt to recognize only one Business Owner (#1) but I am struggling to have the same apply if Business Owner 2 is the only one populated. Logic would dictate that if there is only one Owner, it should only be in Business Owner 1 field but it's possible someone may have only Business Owner 2 populated.
=IF(NOT(ISBLANK([Business Owner 1]@row)),
IF(AND([Business Owner 1 Approval]@row = "Requested", [Business Owner 2 Approval]@row = "Requested"), "Blue",
IF(OR([Business Owner 1 Approval]@row = "Requested", [Business Owner 2 Approval]@row = "Requested"), "Yellow",
IF(OR([Business Owner 1 Approval]@row = "Reviewed /w Comments", [Business Owner 2 Approval]@row = "Reviewed /w Comments"), "Yellow",
IF(OR([Business Owner 1 Approval]@row = "Approved", [Business Owner 2 Approval]@row = "Approved"), "Green", "Red")))))
Please help!