Health based on check box
Hi Community,
I want to automate my health column, based on whether several checkboxes (milestones) are ticked or not. Health column is indicated in heart symbols ("Empty" - "Five").
That's what I have right now, but causing an error:
=IF([Infra Team informed to remove legacy hardware]@row = 1, "One", IF(AND([Infra Team informed to remove legacy hardware]@row=1, [Back Office Printer deployed]@row=1) "Two", IF(AND([Infra Team informed to remove legacy hardware]@row=1,[Back Office Printer deployed]@row=1,[Smoke Testing completed]@row=1) "Three", IF(AND([Infra Team informed to remove legacy hardware]@row=1,[Back Office Printer deployed]@row=1,[Smoke Testing completed]@row=1,[Cutover completed]@row=1)"Four", "Empty")))))
Best Answer
-
If it is the later. I would actually reverse your order. The way the nested if statements work is if the criteria in the first statement is true then it will stop there, i.e. any that have the [Infra Team informed to remove legacy hardware] checked would show as 1 heart.
This formula should work...
=IF(AND([Infra Team informed to remove legacy hardware]@row=1,[Back Office Printer deployed]@row=1,[Smoke Testing completed]@row=1,[Cutover completed]@row=1),"Four",IF(AND([Infra Team informed to remove legacy hardware]@row=1,[Back Office Printer deployed]@row=1,[Smoke Testing completed]@row=1), "Three",IF(AND([Infra Team informed to remove legacy hardware]@row=1, [Back Office Printer deployed]@row=1), "Two", IF([Infra Team informed to remove legacy hardware]@row = 1, "One","Empty"
As I was doing that I actually noticed that you missed a couple of commas so if it is throwing an error that might have been it also.
Answers
-
Is it giving an actual error or just giving you 1 heart or empty?
-
If it is the later. I would actually reverse your order. The way the nested if statements work is if the criteria in the first statement is true then it will stop there, i.e. any that have the [Infra Team informed to remove legacy hardware] checked would show as 1 heart.
This formula should work...
=IF(AND([Infra Team informed to remove legacy hardware]@row=1,[Back Office Printer deployed]@row=1,[Smoke Testing completed]@row=1,[Cutover completed]@row=1),"Four",IF(AND([Infra Team informed to remove legacy hardware]@row=1,[Back Office Printer deployed]@row=1,[Smoke Testing completed]@row=1), "Three",IF(AND([Infra Team informed to remove legacy hardware]@row=1, [Back Office Printer deployed]@row=1), "Two", IF([Infra Team informed to remove legacy hardware]@row = 1, "One","Empty"
As I was doing that I actually noticed that you missed a couple of commas so if it is throwing an error that might have been it also.
-
Thanks! It works. Logical thinking error on my side :)
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!