All -
I am attmepting to sort out a nested formula that will display only one result - i.e. 1st, 2nd, 3rd, Fail. "D2" referes to age while "P2" refers to the raw score of my event. When I run the follwing formula I get something like "FalseFalseFalse1"; when I only want the "1" to be displayed.
=IF(AND(D2>46),IF(P2>150,"1",IF(P2>100,"2",IF(P2>65,"3",IF(P2<64,"Fail","0")))))&IF(AND(D2>40),IF(P2>175,"1",IF(P2>125,"2",IF(P2>88,"3",IF(P2<87,"Fail","0")))))&IF(AND(D2>=27),IF(P2>200,"1",IF(P2>150,"2",IF(P2>110,"3",IF(P2<109,"Fail","0")))))&IF(AND(D2<=26),IF(P2>225,"1",IF(P2>200,"2",IF(P2>135,"3",IF(P2<134,"Fail","0")))))
Thanks in advance for your help.
I am attmepting to sort out a nested formula that will display only one result - i.e. 1st, 2nd, 3rd, Fail. "D2" referes to age while "P2" refers to the raw score of my event. When I run the follwing formula I get something like "FalseFalseFalse1"; when I only want the "1" to be displayed.
=IF(AND(D2>46),IF(P2>150,"1",IF(P2>100,"2",IF(P2>65,"3",IF(P2<64,"Fail","0")))))&IF(AND(D2>40),IF(P2>175,"1",IF(P2>125,"2",IF(P2>88,"3",IF(P2<87,"Fail","0")))))&IF(AND(D2>=27),IF(P2>200,"1",IF(P2>150,"2",IF(P2>110,"3",IF(P2<109,"Fail","0")))))&IF(AND(D2<=26),IF(P2>225,"1",IF(P2>200,"2",IF(P2>135,"3",IF(P2<134,"Fail","0")))))
Thanks in advance for your help.