Multiple IF Statements Based On Symbol Color
Hello,
I am trying to enter a formula in a column labeled 'Completion Status' that will show either a Red, Yellow, or Green symbol based on the conditions in 12 other columns. Every time I get close by setting 2 criteria, the other final criteria doesn't seem to work out for me. Below is a breakdown of what I am attempting to accomplish:
If all 12 columns = "" (blank), then "Red" in the 'Completion Status' column
If all 12 columns = "Green", OR "Gray", then "Green" in the 'Completion Status' column, otherwise "Yellow" (to denote that this row is still In Progress)
When I try to do multiple IF statements or rearrange the order in which criteria takes precedence over the other, I either get #UNPARSEABLE or #INCORRECTARGUMENT.
Answers
-
Are all of those columns next to each other?
-
Hi Paul,
Thanks for replying. The 'Completion Status' is the first column in the grid and the other 12 are all next to one another.
PS (I did also try doing [Column1:Column12] = "Green", then etc., but I ran into trouble that way as well)
-
Give this a try...
=IF(COUNTIFS([Column1]@row:[Column12]@row, @cell = "") = 12, "Red", IF(COUNTIFS([Column1]@row:[Column12]@row, OR(@cell = "Green", @cell = "Gray")) = 12, "Green", "Yellow"))
-
That worked!!!! Thanks so much Paul - I have been fighting with this for over a week. Have a great week!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!