=SI($E21="";"";SI(ET(ET(I$20>=NO.SEMAINE.ISO($E21);I$20<=NO.SEMAINE.ISO($F21));ET(I$20>=NO.SEMAINE.ISO($G21);I$20<=NO.SEMAINE.ISO(SI($H21="";AUJOURDHUI();$H21)));ANNEE(I$18)=ANNEE($E21));"PR";SI(ET(I$20>=NO.SEMAINE.ISO($E21);I$20<=NO.SEMAINE.ISO($F21);ANNEE(I$18)=ANNEE($E21));"P";SI($H21="";"";SI(ET(I$20>=NO.SEMAINE.ISO($G21);I$20<=NO.SEMAINE.ISO($H21);ANNEE(I$18)=ANNEE($E21));"R";"")))))