MAN:=MA(C,8);
MANA:=MAN+SUM(MA(C-REF(L,1),3),8);
XG:100*(REF(MANA,1)/REF(MAN,1)-1)<3 AND MANA>REF(MANA,1) AND REF(MANA,1)<=REF(MANA,2);
MAN:=MA(C,8);
MANA:=MAN+SUM(MA(C-REF(L,1),3),8);
XG:100*(REF(MANA,1)/REF(MAN,1)-1)<3 AND MANA>REF(MANA,1) AND REF(MANA,1)<=REF(MANA,2);