Hi ,
The following IF statement is a valid statement , but I am not sure it will do what you want to do :
=IF(C2<G$1,"Target",IF(C2<F$1,"Stretch",IF(C2>G$1,"Loser","")))
An IF statement has 3 parameters :
1. The condition to be tested
2. The action to be taken if the tested condition is TRUE
3. The action to be taken if the tested condition is FALSE
Each of these parameters is separated by a "," ( comma ).
In the formula you have posted , the first IF has 4 parameters ; it also does not have a closing parenthesis.
But to get back to the intent of the IF statement :
The first IF statement checks if C2 is less than G1 ; if so , the text "Target" is placed in the cell ; if not , C2 can be equal to G1 , or it can be greater than G1. The second IF tests for whether C2 is less than F1 ; if yes , the text "Stretch" is placed in the cell ; if not , the next IF statement checks for whether C2 is greater than G1.
Two points are to be noted :
1. What will happen if C2 is equal to or greater than F1
2. What will happen if C2 is equal to G1
Are these two situations relevant to your worksheet ?
Narayan