Hi, I'm trying to complete a formula which uses criteria to set a red, amber or green status. The rule I want to create is:
> If there are any blanks, show blank
> If all selected cells are Yes, show green
> If there are any "no" cells, show red
> For all else, show amber
Here's the formula I'm trying and being told there are too many arguments. Any help appreciated.
Thanks
Dan
=if(or(isblank(C5,D5,E5,F5,G5)),"",if(and(C5=C20,D5=D20,E5=E20,F5=F20,G5=G20),"Green",if(or(C5=C21,D5=D21,E5=E21,F5=F21,G5=G21),"Red","Amber"
> If there are any blanks, show blank
> If all selected cells are Yes, show green
> If there are any "no" cells, show red
> For all else, show amber
Here's the formula I'm trying and being told there are too many arguments. Any help appreciated.
Thanks
Dan
=if(or(isblank(C5,D5,E5,F5,G5)),"",if(and(C5=C20,D5=D20,E5=E20,F5=F20,G5=G20),"Green",if(or(C5=C21,D5=D21,E5=E21,F5=F21,G5=G21),"Red","Amber"