IF Statement to Display Symbols
Formula variable question for an IF Statement. Ok I have 5 columns (see screenshot below). This formula will be added to the one on the far right (Certification Complete). Now I would like to assign a value to each to trigger the symbol that will display. Basically the way it works is that all 5 columns are required, if "Revoke" is selected for "Certify". If that is the scale, CF highlights the "Comments" cell telling the user that this is required.
I want a completed record (5 columns with Revoke, or 4 columns with Review, as Comments are only required for Revoke). This should display Green.
If no entries have been made, it should display Red.
If partial entries have been made, it should display Yellow.
Sherry Fox
Business Process Analyst 3 | C5ISR Group | HII | Mission Technologies
EAP | Mobilizer | Automagician | Superstar | Community Champion Class of 2024
Core App Certified 🦊
NEW (Work) Profile: @SherryFox | OLD (Personal) Profile: @Sherry Fox
Connect with me on LinkedIn
Please kindly like ❤️, upvote ⬆️ and/or mark ✅ any of my contributions that have provided value.
Best Answer
-
Try this.
=IF(AND(ISBLANK(Certify@row), ISBLANK([User Name]@row), ISBLANK(Group@row)), "Red", IF(AND(Certify@row = "Revoke", OR(ISBLANK(Comments@row), ISBLANK([User Name]@row), ISBLANK(Group@row))), "Yellow", IF(OR(ISBLANK(Certify@row), ISBLANK([User Name]@row), ISBLANK(Group@row)), "Yellow", "Green")))
Answers
-
Hi @Sherry Fox
Something like this perhaps?
=IF(AND([Certify]@row = "Revoke", ISBLANK([Comments]@row)), "Red",
IF(AND([Certify]@row = "Revoke", NOT(ISBLANK([Comments]@row))), "Green",
IF(OR([Certify]@row = "Review", [Certify]@row = "Revoke", NOT(ISBLANK([User Name]@row)), NOT(ISBLANK([Group]@row))), "Yellow", "Red")))https://www.linkedin.com/in/zchrispalmer/
-
Try this.
=IF(AND(ISBLANK(Certify@row), ISBLANK([User Name]@row), ISBLANK(Group@row)), "Red", IF(AND(Certify@row = "Revoke", OR(ISBLANK(Comments@row), ISBLANK([User Name]@row), ISBLANK(Group@row))), "Yellow", IF(OR(ISBLANK(Certify@row), ISBLANK([User Name]@row), ISBLANK(Group@row)), "Yellow", "Green")))
-
Chris,
That did not quite work.
- The top row shows no entries in each column, and the symbol is RED, this is correct.
- The 2nd rows has ONE column completed, where all others are left blank (comments is NOT required here, as the Certify is set to Approve), this should be YELLOW.
- This shows currently as Red and needs to be Yellow.
- The 3rd row has all columns filled in, (comments is NOT required here, as the Certify is set to Approve), this should be GREEN).
- This shows currently as Yellow and needs to be Green.
- The 4th column has all columns filled in. Certify is set to revoke, so comments is highlighted, and filled out. This row should be GREEN and is. This is correct.
Sherry Fox
Business Process Analyst 3 | C5ISR Group | HII | Mission Technologies
EAP | Mobilizer | Automagician | Superstar | Community Champion Class of 2024
Core App Certified 🦊
NEW (Work) Profile: @SherryFox | OLD (Personal) Profile: @Sherry Fox
Connect with me on LinkedIn
Please kindly like ❤️, upvote ⬆️ and/or mark ✅ any of my contributions that have provided value.
-
@dojones ,
That works perfectly!!!! I was obviously overcomplicating it as a result of the Certify column. Thanks so much for your help in resolving this!
I wanted to thank you for your help too!!!
Sherry Fox
Business Process Analyst 3 | C5ISR Group | HII | Mission Technologies
EAP | Mobilizer | Automagician | Superstar | Community Champion Class of 2024
Core App Certified 🦊
NEW (Work) Profile: @SherryFox | OLD (Personal) Profile: @Sherry Fox
Connect with me on LinkedIn
Please kindly like ❤️, upvote ⬆️ and/or mark ✅ any of my contributions that have provided value.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!