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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!