Green, Yellow, Red Formula
Hello,
I'm trying to write a formula that looks at two columns, and if the numbers in both columns are equal, then it will return the green circle, If not then the circle will be red. What I'm having trouble with is if one of the cells is blank then I would like it have the return be yellow. However I keep getting an incorrect argument error.
This is what I have so far.
=IF([Job Number]@row <> [Job #]@row, "Red", IF(ISBLANK([Job #]@row), "Yellow"), "Green")
I'm not really sure were to go from here so any help will be appreciated. Thanks
Answers
-
Hi @Andrew Skaggs,
That would depend if you want the yellow to appear if only 1 of the 2 (Job #) is blank or both:
For the former (Symbol column):
=IF([Job Number]@row = [Job #]@row, "Green", IF([Job #]@row = "", "Yellow", "Red"))
For the latter (Symbol 2 column):
=IF([Job Number]@row = [Job #]@row, "Green", IF(OR([Job #]@row = "", [Job Number]@row = ""), "Yellow", "Red"))
Hope this helps, but if you've any problems/questions then just post!
-
@Nick Korna Thank you so much, everything is working perfectly now! I really appreciate your help.
-
No problem, happy to help. ☺️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!