Assuming you want to format I14:I35 based on the values in that column and the value in P10 you can revise my suggestion above.
Select the whole range I14:I35 with I14 "active cell" then apply formatting as follows using "formula is":
condition 1
=I14>IF(P$10="Perm",14,IF(P$10="Prob",7,I14))
format red
condition 2
=I14>IF(P$10="Perm",6,IF(P$10="Prob",3,I14))
format amber
condition 3
=OR(P$10="PERM",P$10="Prob")*ISNUMBER(I14)*(I14>=1)
format green
Bookmarks