Overall Project Status

I am trying to create an IF statement in regards to overall project status. Our goal is that if 1 ball is red, and the rest is green, then the overall project status is red. However, if only one ball is green then the project is still red.