N:=1;YDL1:=C*V;YDL2:=YDL1/10000/10000;YDLCH1:=SUM(IF(C>REF(C,1) AND V>=6000 OR YDL1>=1500000,YDL2,0),0);YDLCH2:=SUM(IF(C
[=6000 OR YDL1>=1500000,YDL2,0),0);YDLDH1:=SUM(IF(C>REF(C,1) AND V>=4000 AND V<6000>=500000 AND YDL1<1500000 YDL2,0),0);YDLDH2:=SUM(IF(C>=4000 AND V<6000>=500000 AND YDL1<1500000 YDL2,0),0);YDLZH1:=SUM(IF(C>REF(C,1) AND V>=1000 AND V<4000>=200000 AND YDL1<500000 YDL2,0),0);YDLZH2:=SUM(IF(C>=1000 AND V<4000>=200000 AND YDL1<500000 YDL2,0),0);YDLSH1:=SUM(IF(C>REF(C,1) AND
]